Autorisez l'utilisation de cookies pour vous connecter au site Web MQL5.com.
Veuillez activer les paramètres nécessaires dans votre navigateur, sinon vous ne pourrez pas vous connecter.
Vous êtes connecté. L'authentification à deux facteurs a été désactivée. Configurez-la à nouveau et scannez un nouveau code QR, ou continuez avec l'authentification à deux facteurs désactivée.
Activer l'authentification à deux facteurs ContinuerUn algorithme de tri hybride qui fournit des performances rapides pour le tri de tableaux de types simples, de structures ou de pointeurs d'objets.
Constructor for creating histograms of statistical distributions of indicators, timeseries and their derivatives.
Classe statique permettant de corriger la fonction TimeGMT() lors des tests dans le testeur de stratégie.
La distance en cosinus est égale à 1-cosinus_similarité et la similitude en cosinus est le produit en points de deux vecteurs par leurs magnitudes multipliées.
La classe la plus simple pour la journalisation dans MetaTrader 5 avec un support pour les niveaux, le format de message, les filtres d'inclusion et d'exclusion sur les sous-chaînes.
L'objectif est de rendre la fonction facilement disponible pour toute tâche d'intégration de Telegram dans le développement de MQL5. En ajoutant ce fichier à votre CodeBase, vous pouvez simplement l'inclure dans vos Expert Advisors et appeler la fonction directement à partir du module inclus. Il n'est donc plus nécessaire de redévelopper le code à partir de zéro, ce qui permet de le réutiliser dans plusieurs projets.
Une bibliothèque MQL5 orientée objet (.mqh) qui remplace les modèles de risque statiques des particuliers par des modèles institutionnels de dimensionnement des positions ajustées à la volatilité (VAPS) et de calcul du critère de Kelly.
Complete deep learning library in pure MQL5. Build, train and deploy neural networks natively in MetaTrader 5. No DLLs, no Python, no external APIs.
Economic calendar trading guard library for MetaTrader 5 with live MQL5 Calendar API integration.
Advanced MQL5 risk management class providing deterministic lot sizing, auto-suffix detection, and cross-currency triangular conversion.
Une classe d'en-tête MQL5 (.mqh) légère et conforme à la programmation orientée objet (POO), permettant un calcul précis de la valeur du pip et un dimensionnement dynamique des lots pour tous les instruments, avec conversion automatique des taux de change entre devises et normalisation des volumes par courtier.
Évalue chaque type de configuration de votre EA dans son propre historique, au lieu de les regrouper dans une seule courbe de capital. Se reconstitue à partir de l'historique des transactions du compte lors de son initialisation, de sorte qu'un redémarrage ne puisse pas effacer l'historique. Affiche une limite inférieure du score de Wilson à côté du taux de réussite brut, afin qu'une série de trois transactions gagnantes ne soit plus considérée comme un avantage.
Gérer les positions ouvertes dans un Expert Advisor : seuil de rentabilité, stop suiveur, deux clôtures partielles, ainsi qu'un stop et un objectif pour les positions qui n'en ont pas. Il n'ouvre jamais de position.
A small include file that tells your Expert Advisor when it is inside a news window, using the economic calendar built into MetaTrader 5. No web requests and no DLL.
Single-header account lock for MT5 EAs: licensed account numbers, optional demo allowance, expiry date, tester bypass. Licence compiled in with #define. No DLL.
Fits GARCH(1,1), GJR-GARCH and EGARCH with normal, Student t or GED shocks by maximum likelihood, with robust standard errors and variance forecasts.
Include for EAs running 24/7 on an MQL5 VPS or PC: run-where switch, order send with OK/FAIL/UNKNOWN result (no duplicate orders after a timeout), restart-safe counters, positions closed while the EA was off, append-only log and optional Telegram. No trading logic inside.
Holidays and early halts of the CME equity index futures (S&P 500, Nasdaq-100, Dow, Russell 2000, E-mini and Micro), computed from the US holiday rules for any year, with a script that checks the calendar against your broker's own M1 history.
La meilleure parmi plusieurs stratégies est-elle vraiment plus performante que l'indice de référence ? Le test SPA de Hansen, le « Reality Check » de White, le modèle StepM de Romano-Wolf et l'ensemble de confiance du modèle.
Five tests to tell a random walk from a mean-reverting series: KPSS, Phillips-Perron, DF-GLS, Zivot-Andrews with the break date, and the variance ratio.
Parkinson, Garman-Klass, Rogers-Satchell and Yang-Zhang estimators, daily realized and bipower variance from intraday bars, and HAR volatility forecasts.
Exact maximum likelihood of an Ornstein-Uhlenbeck spread and Bertram's optimal entry and exit levels for a given cost, with the expected length of a trade cycle.
Converts session hours given in London, New York, Tokyo or Sydney time into broker server time, including US and EU daylight saving and the weeks when the two are out of step. Comes with a check script that verifies 15 hand-calculated cases.
Break-even and trailing stop for open positions, measured in R (distance to the first stop loss). Respects stops level and freeze level, only moves the stop in profit direction.
An include file that makes the way an EA sends its orders safe: the same signal is never traded twice. It has no trading strategy inside and comes with a small example EA.
Builds H2 to D1 candles from H1 on the New York close clock, so your indicators see the same candles on every broker, no matter which server time it uses. Detects the server clock automatically.
Draws a live heatmap of two optimised inputs while the Strategy Tester optimises your EA, and scores every cell by its neighbourhood: the plateau score is the mean minus k times the standard deviation of the surrounding cells. It shows whether your best parameters sit on a stable plateau or on a single lucky cell, and writes an HTML report, a CSV and a picture of the map. Includes a Monte Carlo drawdown criterion and a small demo EA. Part of the free Robustness Lab set.
One include file that gives your EA or indicator keyboard shortcuts the user types into the inputs, such as Shift+B. Each press fires one action, Shift+B never fires on a plain B, and a shortcut that cannot work is refused at start with the reason.
One include file that encrypts texts and bytes so only a program with the same key can read them. A wrong key or a changed message is refused instead of read as garbage, keys can come from a password, and the code is checked against the official NIST and RFC test vectors.
A library for MetaTrader 5 that declares rules between the inputs of an Expert Advisor once in the code. OnInit rejects a combination that breaks a rule, with the reason in the Journal; before an optimization starts, OnTesterInit estimates which share of its passes the rules would reject and warns above a limit you set.
Reusable MQL5 pre-trade validation library that checks margin, volume, trading permissions, symbol restrictions, stop levels and broker OrderCheck results before an order is sent.
Serialization and deserialization of JSON protocol. The code is ported from a high-speed С++ library.