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.
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 ContinuerDraws the daily open price as a horizontal line and shows, in points, how far the current price is from today's open. The label changes color depending on whether the price is above or below the open.
Supertrend trend-following indicator based on ATR. The line changes color and side of the price when the trend changes, with optional signal arrows and alerts.
Shows the time left until the current candle closes and the current spread in a corner of the chart. The countdown updates every second, even when no new ticks arrive.
Dynamic support and resistance bands built from a moving average and the Average True Range (ATR). The bands widen when volatility rises and narrow when it falls.
Supertrend expert advisor for MT5 on Gold (XAUUSD), forex and indices: entry on the closed candle of the flip, stop at the Supertrend line, target by stop multiple, breakeven and lot by risk percent. Open source code.
Point pivot quotidien avec trois niveaux de résistance et trois niveaux de support, selon les formules classique, de Fibonacci ou de Camarilla.
USDX Trader v1.33 — Graphique de l'indice synthétique du dollar et trading de paniers pour MetaTrader 5 Version 1.33 · MetaTrader 5 · Tout courtier proposant les principales paires de devises impliquant l'USD
Script that exports the closed trades of your account to a CSV file and prints a short summary: trades, win rate, net result and profit factor.
An account-wide MetaTrader 5 utility that tracks daily loss from the chosen start-of-day equity and intraday equity peak. Shows warning and critical levels with optional money and percent limits plus terminal, sound or push alerts. It never places, modifies or closes trades.
Draw Asian, London and New York session ranges as chart boxes with high/low lines, labels and an optional London–New York overlap. Configure GMT or broker-server hours and review the latest session statistics in a panel.
A small script that turns "risk in % of the account" and "stop loss in pips" into a lot size. It only calculates and prints; it never opens, modifies or closes trades.
Session windows are quoted in GMT; the chart runs on the broker's clock. This indicator takes each window in GMT, applies your broker's offset, and draws the box over that window's bars. It adds the high and low lines to every enabled window unless you switch them off, prints the session name and range only on that session's newest box when there is room, and never trades.
Chart panel that calculates position size from risk % and stop-loss in points, with tick value, margin and money at risk. Does not place orders.
Marks previous day, Asian and London session highs and lows from chart bars and flags closed-bar, ATR-filtered liquidity sweeps. Non-repainting, with EA-readable buy/sell buffers and an on-chart display panel.
Auto-scaled round-number grid for any symbol — big figures and half levels drawn to the right spacing whether you're on EURUSD, USDJPY, XAUUSD or an index, plus a live "distance to nearest magnet" readout.
Compact zero-buffer MetaTrader 5 on-chart HUD displaying live Spread in points and pips, Daily ATR(14) range consumption percentage, broker Stops/Freeze levels, and 1R lot size.
Shows the risk every past trade really took (the loss at its stop loss as a % of the balance at entry) and how far a fixed lot drifted from the tested risk. Read-only.
Draws the previous day High, Low and Close as horizontal levels on the chart, with optional history for several past days, extension of today's levels to the right and price labels.
TradingView-style Long/Short position tool for MT5: drag the Entry, Stop and Target lines and get lot size, risk, reward, R:R and margin instantly.
MA Toolkit: a compact moving average indicator written from scratch. Choose SMA, EMA or LWMA for a fast and a slow line, see the fast line colored by its slope, and get optional crossover arrows, alerts and an info panel.
Des lignes horizontales sur les chiffres ronds autour du prix affiché, avec un espacement qui s'adapte au niveau de zoom.
Expert advisor basique qui négocie dans le sens de la bougie de 5 minutes de 9h30 à New York sur les CFD sur indices (US100 / NAS100). Une transaction par jour, stop loss et take profit fixes, clôture forcée, pas de martingale ni de stratégie « grid ».
Exports bars of any timeframe and, optionally, every tick from the Strategy Tester to CSV, without the chart's 100,000-bar limit. Reports gaps inside trading sessions. Places no orders.
MTF order blocks from the chart timeframe or a higher one, shaded on the chart and followed bar by bar: fresh until price comes back, tested after that with every return counted, broken once a close goes through. Sizes are measured in average ranges, so the defaults fit any symbol, and a new zone absorbs the ones it overlaps, so zones never stack.
Panneau affichant le compte à rebours sous forme de bougie, le spread, l'ATR quotidien et la part de la fourchette quotidienne déjà utilisée.
GER40 Evening Coil est un EA gratuit et entièrement open source dédié à l'indice German 40 sur la période H1. Il effectue des achats pendant la séance du soir, après une barre récente à faible amplitude, lorsque la volatilité est faible et que le volume est normal, et clôture toutes les positions avant 23 h, heure du serveur. Quatre conditions : positions longues uniquement, une transaction à la fois, un stop loss sur chaque transaction.
An animated 24-hour dial of the Sydney, Tokyo, London and New York sessions with automatic daylight saving time, a countdown to the close of the current candle, and live spread and day range. The panel collapses into a bar and can be dragged on the chart.
An animated one-click trading panel for the chart symbol: buy and sell with live prices, lot stepper, close all, close profit, close loss and breakeven, with confirmations, a practice mode and a collapsible, draggable panel.
An animated chart panel that shows the equity drawdown of the account in real time, the closed result of the day, week and month, and one line for every Expert Advisor running on the account.
Live rolling-correlation heatmap across your watchlist — spot hidden overlapping exposure before you stack three “different” trades that are secretly one trade.
Local MT5-to-MT5 trade copier through the Common files folder. One EA in Master or Slave mode: lot multiplier or fixed lot, symbol prefix/suffix, reverse, SL/TP and partial close sync.
Logs the slippage, fill delay and spread of every deal on the account (manual, EAs, SL/TP hits) to a CSV file and shows a live summary. It never trades.
Closes all positions and pending orders when the account profit or loss reaches your target, in money or % of balance. Floating or full-day P/L, symbol and magic filters.
Minimal include file to license your own EAs and indicators: allowed account numbers, expiry date, demo-only trial mode and broker server filter. Example EA included.
Account guardian for prop firm rules: closes all trades and blocks trading before the daily loss or max loss limit is hit, with an optional profit target lock.
Finds out why an EA or trade copier cannot trade on your account. Read-only script, never trades.
Opening range breakout indicator for MT5 on Gold (XAUUSD), forex and indices: box of the first minutes of up to three sessions, breakout levels, two targets by range height, arrows and alerts on the closed candle. Open source code.
Un gestionnaire de trading manuel pour MetaTrader 5 : blocs Renko pré-calculés, seuil de rentabilité et stop loss glissant configurables, ainsi qu'un tableau de bord Renko intégré au graphique. Pas d'entrées automatiques.
Un script destiné aux comptes exécutant plusieurs Expert Advisors ou configurations. Il agrège le résultat net de chaque configuration (numéro magique, ou numéro magique et symbole) par jour calendaire et mesure la contribution de chacune d’entre elles à la baisse du portefeuille : baisse ajoutée par la méthode « leave-one-out », part de la pire baisse et part de la variance d’Euler. Il affiche des verdicts, des recommandations et une note heuristique allant de A+ à F. Il fonctionne immédiatement sur un portefeuille de démonstration intégré et est écrit en MQL5 pur.
Records the spread of one or many symbols to CSV every minute (min, time-weighted average, max), with ready tables per hour of day and per trading session. Restart-safe, never trades.