Les meilleurs codes sources MQL4 et MQL5 selon les notes des utilisateurs - 10
- Applications de trading gratuites
- Plus de 8 000 signaux à copier
- Actualités économiques pour explorer les marchés financiers
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.
Une adaptation du moteur « Alpha Engine » du groupe Olsen : huit agents utilisant des ordres à cours limité négocient des changements de tendance en temps intrinsèque sur un compte de couverture. Ils renforcent leurs positions lors des dépassements et les réduisent lorsqu'ils réalisent des bénéfices lors des retournements de tendance.
ICT killzones for MetaTrader 5: Asia, London and New York sessions drawn in New York time with automatic daylight-saving conversion, session highs and lows carried forward until price takes them, previous day, week and month levels, opening prices and time markers. One file, no DLL.
A small include file for Expert Advisors and trade managers. It turns your risk rules into yes/no answers: how many lots does this stop allow, is the daily loss limit reached, is the maximum drawdown (static or trailing) reached, how much is at risk across all open positions, and are spread and session acceptable. The lot is never rounded up: if the broker minimum lot would risk more than allowed, the trade is skipped and the reason is returned. Limits survive a terminal restart. The library only measures: it sends no order. Includes a demo account guard (no trading by default) and a self-test with 78 checks.
A MetaTrader 5 utility that treats the bid and ask quote streams as two independent physical trajectories and fits a local quadratic to each, producing position, velocity, and acceleration with honest error bars and an out-of-sample forecast scoreboard.
Il trace la fourchette de la séance asiatique et signale les cassures observées lors de la séance de Londres à l'aide de flèches, de niveaux de stop et d'objectifs, ainsi que d'alertes
Real-time multi-timeframe side panel mini-chart with smart color matching, independent price scale, and candle countdown timer.
Regular and hidden divergences between price and ten oscillators calculated inside the indicator: MACD, MACD histogram, RSI, Stochastic, CCI, Momentum, OBV, VWMACD, Chaikin Money Flow and MFI. Lines on price, a box naming every oscillator that agrees, and alerts.
Writes the trading specification of every symbol to a CSV file: volume step, filling modes, stops level, tick value and more.
Independent Risk Guard for AI Agents in MetaTrader 5.
Momentum VWAP Barrier Breakout is an MT5 indicator that identifies tested support and resistance zones and displays confirmed breakout arrows after the candle closes. It includes optional VWAP, SMA, SMMA, and no-filter modes, with VWAP selected by default. Designed primarily for XAUUSD M5, it can also be tested on M15 and M30 for fewer but potentially cleaner signals. Traders may consider entering at the next candle’s open, placing the stop beyond the breakout candle or broken zone, and targeting approximately 1.5R to 2R. Use the indicator together with market structure, higher-timeframe direction, news awareness, and proper risk management. Test it thoroughly on historical data and a demo account before using it with real money.
Calculates the lot size for a chosen risk percent and stop loss distance, and shows the result in a clean panel on the chart.
Displays today's floating PnL as % of balance plus how much of the daily-loss budget is consumed — the number that actually matters for prop firm rules (FTMO, Apex, TopStep). Color code: green under 50% of limit, orange under 80%, red above. Configurable reset hour. Free to use. Inputs: InpLimitPct (daily loss limit %), InpResetHour (day reset, server time), colors, font size. Attach to any chart — reads account equity live.
A MetaTrader 5 (MT5) Expert Advisor based on breakouts of prior swing highs and lows. The EA places pending orders around confirmed fractal structures and manages each trade with defined stop-loss, take-profit, and optional position-management rules.
The library reconstructs a complete MQL4-style order model on top of the native MQL5 Position, Order, Deal, and History APIs. This design allows legacy MQL4 Expert Advisors to operate with minimal code changes while preserving MQL5.
A manual-trade manager for MetaTrader 5: completed Renko bricks, configurable break-even and trailing Stop Loss, plus an on-chart Renko dashboard. No automatic entries.
Calculates the Strategy Tester report statistics from the deal history, including Z-Score, AHPR, GHPR, LR Correlation and LR Standard Error, which TesterStatistics() does not return. Checked value by value against the tester.
Session Range Breakout draws the high and low of up to three intraday sessions (Asia, London and New York by default) and extends each level to the right with optional H/L labels and a range rectangle. Session hours, names and colours are configurable in server time. Optional popup, sound and push alerts fire when a bar closes outside a session range. The levels are fixed once the session closes, so the drawing does not repaint. The indicator draws chart objects only and never opens trades.
ICT dealing range from confirmed swings: premium and discount zones, equilibrium, the OTE band (62 - 79 %, 70.5 %), standard deviation targets and the IPDA 20 / 40 / 60-day ranges. No repaint. Alerts and EA buffers.
Draws the last candles of one or two higher timeframes (auto: M15 -> H4 + D1, H1 -> D1 + W1) next to your chart at real prices, with a countdown, lines to the live candle's open, high and low, alerts and EA buffers.
Spread Monitor is an MQL5 Expert Advisor that draws a colour-coded panel on the chart. The panel shows the current spread of the attached symbol in points, along with the average, minimum, and maximum over a rolling history. It also counts how many stored samples exceeded a warning level, and turns the status row red when the current spread is above that level. The utility does not place orders. Inputs control the warning level, the history size, the refresh interval, and the panel position. Panel objects are removed when the EA is detached.
Reads a Strategy Tester report saved as HTML into its deals, closed trades, net profit and balance drawdowns, for comparing, combining or exporting backtests.
A Supertrend scalping EA with 14 switchable filters and a self-measuring panel that shows the actual win rate next to the win rate needed to break even after real spread, so you can see whether a setting has an edge or only a high percentage.
Shows the broker's hidden financing markup and the carry for every symbol, as annual % of notional.
A lightweight tab bar for chart panels, drawn with the standard CCanvas class. One include file, several independent instances per chart, click selection, resizing and safe cleanup. Includes a demo Expert Advisor.
Free educational EA — a single-position trend-following EMA crossover system for XAUUSD M30, released as open source for beginners to study trade ownership guards, preflight order validation, risk-based lot sizing, and server-time session filtering. This code demonstrates how a strategy - identifies and manages only its own positions and orders through MagicNumber and comment tags, - wraps CTrade with an OrderCheck preflight that blocks invalid or margin-breaking requests, - sizes each trade from a fixed stop-loss and risk percentage, - and restricts entries to a configurable broker session window with a daily close-all — all evaluated on completed bars only, so signals never repaint.
Draws the previous day, previous week and previous month high and low, plus automatic round-number levels around the current price. Every level carries a label with how many times price touched it and how many times a bar swept it (pierced the level and closed back on the original side). Counts use closed bars only, so they do not repaint. Optional alerts (popup, push, email, sound) for sweeps and new touches. Touch tolerance is a fraction of ATR or a fixed number of points. The 6 previous-period levels and their touch counts are exposed in 12 indicator buffers for use from an Expert Advisor with iCustom(). Works on any timeframe up to H4. Read-only: it never opens, modifies or closes a trade. No DLLs, no web requests.
Il s'agit d'un indicateur qui combine le swing high/low et le retracement de Fibonacci pour identifier les zones d'achat potentielles.
Cet Expert Advisor surveille l'oscillateur stochastique afin de clôturer automatiquement les positions en fonction des conditions sélectionnées par l'utilisateur : croisements au-dessus du seuil de surachat ou en dessous du seuil de survente, entrée dans les zones de surachat/survente, ou sortie de ces zones. Les positions à clôturer sont filtrées en fonction de leur état de profit (perte, profit ou les deux). Un mode Test optionnel active des signaux d'entrée de base lorsque la ligne %D franchit des niveaux de décalage configurables autour de la ligne médiane (50).
Set TakeProfit by just dragging and dropping script on the desired price level.
Keltner Channel for traders or young developers by William210
Cet EA est une démonstration de la façon dont vous pouvez mettre en œuvre votre propre stratégie de couverture à l'aide du fichier include.
Le point principal est la transformation de la courbe MA en ligne horizontale et la courbe DPO représente la distance entre le prix de clôture et le niveau zéro ou la courbe MA.
Indicateur en croix personnalisé synchronisé indiquant le prix et l'heure (serveur/locale).
Fonctions liées au temps pour la détection empirique du fuseau horaire du serveur et du mode d'heure d'été (DST) à partir de l'historique des cotations
Ce code fournit une fonction simple pour envoyer des notifications push à votre appareil mobile lorsque des transactions sont ouvertes ou fermées dans MetaTrader 5. Il est conçu pour les comptes de compensation (où une seule position par symbole est autorisée).
Prototype pour la collecte de données. Tampons fictifs pour la fenêtre de données (à des fins de collecte de données) pour l'heure de la journée, et un tampon supplémentaire pour l'heure de la journée. Commentaires l'heure du jour.