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 ContinuerPanel that shows the ATR of the last closed bar, a stop-loss distance derived from it, the money at risk for a chosen percentage of the balance and the lot size that matches that risk.
Shows balance, equity, margin, margin level, floating P/L, today's closed P/L and the drawdown from the equity peak in a small panel on the chart.
A script that closes open positions in one click, with filters for chart symbol, magic number, buy/sell direction and profit/loss state. Works on netting and hedging accounts.
Draws the previous day's high and low over each day and marks the first touch of each level, with an optional alert.
Static safety scan of EA/indicator source: DLL imports, programs started, account data sent online, hidden text, martingale, SL = 0.
JONY ISLAM EMA Cluster Signals is a technical indicator that plots a 4-EMA cluster cloud to identify trend direction. It generates Buy/Sell arrow signals and automatically calculates Entry, Stop Loss, and TP1-TP3 levels using ATR. It also features a built-in Multi-Timeframe (M1-W1) trend panel.
Plots a Donchian channel and a long-period SMA and marks only those closed-bar channel breakouts that are on the same side of the SMA.
Plots a long-period SMA and marks bars where the RSI has pulled back to a set level while the price is still above the rising SMA.
Shows Bollinger bands and a Keltner channel on the chart, marks bars where the bands are inside the channel and draws an arrow when that squeeze ends.
Marks swing highs and lows that are confirmed by a fixed number of bars on both sides and plots a simple moving average for trend context.
Plots a Donchian channel built from closed bars, arrows after a close outside the channel and a two-colour ATR trailing stop line that follows the breakout direction.
Draws the high and low of the previous day and the previous week plus round-number levels around the current price as horizontal lines.
Free MT5 chart planner with draggable entry, stop and target levels, spread, risk-based lots, fees, estimated swap, break-even and net risk/reward. Indicator only; no orders.
A regression-test harness for indicator code. It compares an incremental, tick-by-tick calculation (the way OnCalculate runs live) with an independent from-scratch reference on a fixed dataset, flags every deviation, and prints a regression digest you can compare between versions of your code.
Trade manager for manual trades and other EAs: moves the stop to break-even at a chosen R multiple, closes part of the position at a second target, then trails the stop in steps. Survives terminal restarts.
Account-wide protection for prop firm and funded accounts: enforces a daily loss limit and a maximum overall loss (FTMO-style), closes all positions and blocks new trades when a limit is hit, with an optional profit target.
Unbroken swing highs and lows, shaded by strength: how old each level is and how many times price was turned away from it.
A panel showing the current spread, the average spread since the indicator was attached and the spread cost of a 1-lot trade in account currency.
Draws the Tokyo, London and New York trading sessions as coloured boxes that span the high and low of each session.
A panel that ranks the eight major currencies (USD, EUR, GBP, JPY, AUD, NZD, CAD, CHF) by their average rate of change against each other.
Splits the current swing range (last swing high to last swing low) into a Premium zone above 50% and a Discount zone below 50%, with an equilibrium line and a live label that shows where the price is inside the range.
Detects swing highs and lows and labels every break of market structure: BOS (Break of Structure) when the trend continues and CHoCH (Change of Character) when the trend reverses.
Detects bullish and bearish Fair Value Gaps (three-candle price imbalances), draws them as boxes extending to the right and automatically removes each box once the price fills the gap.
Marks bullish and bearish order blocks (the last opposite candle before a strong impulse) and tracks their state: fresh, mitigated when price returns, and removed when broken.
Fair Value Gap (FVG) Detector with Auto-Removal When Filled
Indique les écarts d'ouverture quotidiens des indices boursiers et précise si chacun d'entre eux a été comblé.
Ferme toutes les positions et maintient le solde du compte inchangé lorsque la limite de perte journalière, le drawdown maximal ou un objectif de profit journalier est atteint. Règles inspirées des sociétés de trading pour compte propre, panneau intégré au graphique et état conservé même après le redémarrage du terminal.
Marks built-in economic calendar events on the chart with time lines, optional windows, labels, a panel and alerts.
A compact dashboard that classifies EMA trends across multiple timeframes and displays slope, ATR distance, duration and an alignment summary.
Draws support and resistance levels from confirmed swing highs and lows, and the fair value gaps (3-candle gaps) that price has not filled yet. Rule-based, merges nearby levels by ATR, removes a gap as soon as price trades back through it.
Classic 50/200-day Golden Cross trend filter: long while the fast SMA of daily closes is above the slow SMA, flat (or optionally short) otherwise. One decision per completed D1 bar, sizing by % of balance or fixed lot.
A live account-level readout — equity, balance, tracked peak, and current drawdown % from that peak — the one risk number most charts never show you.
Live spread stats plus real fill-vs-requested slippage logging, account-wide — because "my broker widens spreads at news time" and "my fills are always bad" deserve numbers, not a feeling.
Closed-bar sweeps of confirmed swing levels, with wick, volatility and freshness filters, liquidity lines, a dashboard and optional alerts.
Trade manager for MT5: break-even, stepped trailing stop and progressive profit lock. Works with manual trades or any EA. Distances in ATR, so it fits any symbol. Bilingual panel (EN/AR).
Draws 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.