Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Twitter !
Rejoignez notre page de fans
Accédez à la CodeBase depuis votre terminal MetaTrader 5
Vous n'avez pas trouvé le bon code ? Commandez-le dans la section Freelance
Comment rédiger un Expert Advisor ou un indicateur

Bibliothèque de code source MQL5 pour MetaTrader 5 - 3

icon

Il s'agit de la plus grande bibliothèque de code source gratuite pour les programmes de la plateforme MetaTrader 5. Vous y trouverez des Expert Advisors, des indicateurs techniques, des scripts et des bibliothèques prêts à l'emploi. Utilisez la bibliothèque de codes lors de l'apprentissage du langage MQL5 et développez vos propres applications de trading automatisé basées sur les codes fournis.

Vous pouvez librement télécharger et tester les codes publiés, ainsi que les lancer dans MetaTrader 5. La bibliothèque est également disponible directement depuis la plateforme MetaTrader 5 et l'environnement de développement MetaEditor.

Soumettre votre code

Ruptures basées sur un canal ou une bande d'enveloppe, logique multi-EA dans un seul EA

Une mine d'or d'EA multi-stratégies :)

This is a FX Dashboard style terminal panel on the MT5 chart, plus lines drawn on the chart (EMA, Bollinger, Donchian).

The Day Trader Dashboard is a Bloomberg-style visual panel for MetaTrader 5 that tracks an intraday price range and flags when price is inside it (fade zone) or has broken out of it. It doesn't place trades — it's a decision-support overlay that computes the range High/Low from recent bars, draws those levels directly on the chart, and shows a live status readout (scanning / within range / breakout) in a themed, auto-scaling panel. It supports multiple independent instances on the same chart, several color themes, and cleans up 100% of its objects when removed.

News Trading Dashboard is an informational on-chart panel (it does not trade automatically) that monitors market volatility in real time to detect "news spike" moments — the sudden price moves that occur when economic data is released (NFP, CPI, interest rate decisions, etc.).

Channel Breakout Dashboard is an informational panel (not an automated trading robot) that runs on the MetaTrader 5 chart and centralizes, in one place, several market conditions that would otherwise require 4-5 separate indicators open at the same time.

Read-only MT5 script that estimates stop-distance cash loss in account currency, reserves explicit cash costs and floors volume to the broker grid. It never sends or modifies an order.

XAUUSD MTF Liquidity & Order Block Reversal Strategy A professional Smart Money Concepts (SMC) based MT5 indicator designed primarily for **XAUUSD (Gold)**. The strategy combines multi-timeframe liquidity, order blocks, liquidity sweeps, breakout/reversal confirmation, and M1 swing-based risk management to identify high-probability BUY and SELL opportunities. Strategy Features Multi-Timeframe Liquidity Detection The indicator identifies important liquidity and order-block levels from: * Best Day-wise Liquidity * H4 Liquidity & Order Blocks * M30 Liquidity & Order Blocks * M15 Liquidity & Order Blocks * M5 Liquidity & Order Blocks The strongest day-wise liquidity replaces simple Previous Day High/Low logic and searches historical daily candles for significant liquidity concentrations.

Swing Trading Dashboard is a visual indicator for MetaTrader 5 (it does not generate automatic trade signals — it only displays information on the chart). Essentially it's a "dashboard" panel that calculates the recent swing trading range and shows where the current price sits relative to it — mid-range, near a boundary, or already broken out.

Quantitative MT5 indicator measuring execution friction relative to ATR using spread, commission and slippage assumptions.

This indicator is a professional Scalping Dashboard utility designed specifically for MetaTrader 5 (MT5). It displays real-time vital market status information and scalping strategy conditions (based on Exponential Moving Arrows/EMAs), automatically computing spreads, momentum, and moving averages to output instant BUY/SELL SETUP visual signals.

Plots the previous trading week's High and Low as horizontal reference levels across the current week, with optional multi-week history for context. No repainting, no discretion — the levels are read directly from the completed Weekly bar.

La « KCI Volatility Distance » est un algorithme avancé et adaptatif, méticuleusement conçu pour cartographier avec une précision absolue la dynamique du marché et la direction des tendances. Grâce à un calcul exclusif basé sur une matrice, cet outil filtre de manière dynamique le bruit du marché et offre une perspective strictement quantitative sur la force de la tendance. Construit autour d’un noyau de programmation orientée objet (POO) hautement optimisé, il est conçu à la fois pour offrir une clarté visuelle dans le trading et pour s’intégrer de manière transparente dans des Expert Advisors ou des modules d’apprentissage automatique, garantissant ainsi une utilisation ultra-légère du processeur sur plusieurs actifs.

Un outil et un système de gestion des services de garde d'enfants :D

Daily Zone Recovery is a multi-strategy trading expert advisor for MetaTrader 5 that operates based on the previous trading day’s high and low levels. The expert advisor monitors price behavior near daily extremes, uses three independent entry strategies, and can manage positions using a fixed-volume grid.

A read-only audit script for accounts running several EAs (or manual trades alongside them). It groups the closed-trade history by magic number and prints one line per magic: closed round turns, net P/L including swap and commission from BOTH sides of the trade, win rate, profit factor, average win/loss, currently open positions and pendings, activity dates and symbols - sorted by net result, with a CSV export for spreadsheets.

Sell Arrow SL Box: Extends UPWARDS from the Sell Arrow. Buy Arrow SL Box: Extends DOWNWARDS from the Buy Arrow.

A native MQL5 tool that reconstructs closed positions from deal-level history, flags the ones closed through more than one exit, and reprices each one at its own first, last, and best exit rates to measure whether scaling out actually added value. Reports a Value-Add Ratio, a Scale Out Win Rate, an Efficiency figure, and a single-trade dependence check, combined into an A+ to F score with recommendations. Runs out of the box against a built-in demonstration data set; a companion script exports the real input file from your own account history. Pure MQL5, no external libraries.

Automatic structure-based SL, breakeven, ATR trailing, and dollar-based profit protection for manual MT5 trades and pending orders on Gold and selected FX pairs.

Marks non-repainting swing highs and lows using configurable LeftBars / RightBars pivots. Sends push and email alerts on each new confirmed swing.

Draggable Entry, Stop-Loss and Take-Profit lines with a live on-chart panel that calculates the exact lot size for a chosen account risk. No manual math, no guessing — drag the lines, read the size.

La matrice directionnelle KCI (KCI-DX) est un outil analytique avancé, inspiré de la physique, qui extrait la cinématique du marché en mesurant la longueur du parcours des cours et l'énergie de volatilité. Contrairement aux outils de momentum classiques, le KCI-DX utilise une normalisation dynamique par Z-Score combinée à une fonction d'activation sigmoïde. Cela garantit que le résultat est parfaitement compris entre 0 et 100, permettant ainsi une identification ultra-réactive de la force de la tendance et de la polarité directionnelle, sans distorsion due aux extrêmes historiques.

Le summum de la grille algorithmique et de la dynamique cinétique. Bienvenue dans le moteur KCI Native Matrix Engine, un mastodonte algorithmique impitoyable, fondé sur les mathématiques et développé en natif pour MetaTrader 5. Conçu pour les environnements de trading à haute fréquence (HFT), cet EA se passe des bibliothèques standard surchargées et opère directement au niveau du routage serveur.

Free open-source MT5 read-only chart utility that scores current trend conditions and builds broker-normalized long and short risk plans. It uses moving-average direction and slope, ADX, Efficiency Ratio, ATR, spread, account currency and symbol specifications. It never opens, modifies or closes trades.

Set your risk %, drag the stop, and get the exact lot size priced in your account currency — margin and target included. Calculates only, never trades.

Checks a hypothetical MT5 market or pending order against current symbol, volume, tick-size, stop-distance and filling rules without sending a trade.

Prints a privacy-conscious snapshot of the current MT5 broker, account, symbol and terminal environment to the Experts log for diagnostics and support.

Open-source indicator combining moving-average direction, ADX and Kaufman's Efficiency Ratio into a transparent trend-condition score. Informational only; no trade execution.

Cet indicateur est un oscillateur de tendance et de momentum qui suit la position du cours par rapport à son canal de volatilité structurelle, en s'appuyant sur une relation normalisée entre le SAR parabolique et les enveloppes.

Un outil local de copie de transactions entre clients, doté d'un tableau de bord personnalisé en C# et d'un canal de transport en Go ; le code source complet est fourni dans l'archive (version basée sur des sockets), avec une latence extrêmement faible.

A non-repainting Stochastic-based indicator that generates buy and sell signals based on extreme zone crossovers, featuring an alternating signal filter and bar-close alerts.

Plots the previous trading day's High, Low and Close as horizontal reference levels across the current session, with optional multi-day history for context. No repainting, no discretion — the levels are read directly from the completed Daily bar

Une bibliothèque permettant de récupérer des signaux de proximité pour des indicateurs basés sur les canaux

Permet de suivre les spreads et les swaps !

On-chart trade management utility for MetaTrader 5 designed exclusively to adjust existing manual or EA positions. Features one-click controls for Break-Even placement, point offsets, profit locking, trailing stops, Risk-to-Reward (1R–3R) Take Profit targets, and volume-validated partial closures (25%–100%). Includes a draggable chart GUI and filtering by symbol and direction. Does not open new trades.

Professional open-source Candle Strength Analyzer for MetaTrader 5. Analyzes candle body, upper and lower wicks, buyer/seller pressure, rejection, range expansion and candle strength in real time.

Professional open-source Moving Average Dashboard for MetaTrader 5. Monitors EMA 20, EMA 50, EMA 100, EMA 200, SMA 50 and SMA 200 with price position, trend structure, MA Score and overall market bias.

Professional open-source Multi-Timeframe MACD Dashboard for MetaTrader 5. Analyzes MACD Main, Signal and Histogram across M1, M5, M15, M30, H1, H4 and D1 with an overall momentum score and market bias.

Professional open-source Multi-Timeframe RSI Dashboard for MetaTrader 5. Analyzes RSI across M1, M5, M15, M30, H1, H4 and D1 to monitor momentum, overbought and oversold conditions in real time.

Professional open-source Multi-Timeframe Trend Dashboard for MetaTrader 5. Analyzes M1 to D1 using EMA 20, EMA 50 and price position to identify Bullish, Bearish and Neutral market conditions.

12345678910...204