Codes sources MQL5 des indicateurs techniques pour MetaTrader 5 - 6

icon

Les indicateurs techniques MQL5 analysent les graphiques de prix MetaTrader 5 sur le Forex, ainsi que sur les marchés boursiers et des matières premières. Les indicateurs définissent la direction et la puissance de la tendance, les états de sur-achat et de survente, les niveaux de soutien et de résistance. Les modèles mathématiques sous-jacents fournissent une évaluation objective de l'état actuel du marché, permettant aux traders d'accepter ou de rejeter les signaux du système de trading.

Vous pouvez télécharger et lancer les indicateurs proposés dans MetaTrader 5. La bibliothèque d'indicateurs est également disponible directement depuis la plateforme MetaTrader 5 et l'environnement de développement MetaEditor.

Soumettre votre code

Order block indicator for MT5 on Gold (XAUUSD), forex and indices: the last opposite candle before a move that breaks a swing becomes a zone, fresh, tested and broken states, closed bars only. Open source code.

Tracks live midnight rollover spread spikes against a self-calibrating daytime baseline and outputs a binary iCustom guard flag (Buffer 0) so EAs can pause entries during liquidity drains.

When I first started scalping, I had a problem: during periods of high volatility, it sometimes took too long to calculate exactly 1%, and I’d end up setting an incorrect stop-loss or using a position size that was too low or too high. But with this calculator, I can do it much faster—I just have to drag a line to the stop-loss zone, and it automatically calculates the position size I should use for my 1%. I hope you find it very useful!

Indique la part déjà utilisée de la limite de perte journalière d'un compte de société de trading, ainsi que le montant restant. Indicateur en lecture seule.

Auto Fibonacci retracement for Gold (XAUUSD), forex and any symbol: draws the levels on the last completed swing leg by itself, with the 61.8 in its own colour, prices on each level and an optional alert. Open source code.

Forex session boxes for Gold (XAUUSD), forex and any symbol: draws the Asian, London and New York sessions with their high and low extended to the right and the range in points, in your broker server time. Open source code.

An all-in-one Smart Money Concepts (SMC) indicator that automatically identifies Swing & Internal Market Structure (BOS/CHoCH), Order Blocks, Premium/Discount zones, and Equal Highs/Lows. It features a real-time multi-timeframe bias dashboard to help traders make informed decisions.

Mini-graphique en temps réel sur le panneau latéral, affichant plusieurs périodes, avec une correspondance intelligente des couleurs, une échelle de prix indépendante et un compte à rebours sous forme de bougies.

On a linear MT5 chart, a trend that grows or falls by a steady percentage is a curve, and a straight channel misses it. This indicator draws the real exponential curve, fitted on closed bars to the cleanest of 19 look-back windows, with deviation zones, a projection ahead and a card with the fit, the trend pace and the price position.

Real-time tick spread monitor that plots Maximum and Average spread curves per bar with points/pips display and local CSV persistence.

Countdown to the next high-impact news from the MT5 economic calendar, with a red NEWS WINDOW warning for prop-firm news rules. Display and alerts only - it never trades.

Drag the MetaTrader 5 chart freely in any direction and stretch the price and time scales with the mouse, the way TradingView does it. One click on ON/OFF returns the normal chart. A small indicator that draws nothing, never trades and works next to any Expert Advisor.

Un tableau récapitulatif des règles d'un défi entre sociétés de trading : perte journalière, perte maximale (statique ou glissante), objectif de profit, nombre minimum de jours de trading et règle du « meilleur jour » (régularité). Pour chaque critère, il indique le montant déjà utilisé et la marge restante, en euros. La fonction « One more trade » (Une transaction supplémentaire) vous indique la taille de lot maximale permettant de maintenir un stop-out dans la marge disponible aujourd’hui et dans la marge de perte maximale. En lecture seule : il n’ouvre, ne modifie ni ne clôture jamais une transaction. Les préréglages contiennent des valeurs types ; les sociétés modifient leurs règles, veuillez donc vérifier les vôtres et utiliser le préréglage « Custom ». Basé sur la bibliothèque ATS Risk Library (ATS_RiskLib.mqh, incluse).

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

Draws the daily opening range and its breakout levels, with a dashboard showing how the range resolved over your lookback: broken up, down, both ways or not at all, and how often a breakout hit its target before the opposite side.

Prop Firm Guard Panel is an on-chart panel for prop firm challenges and funded accounts. It shows in real time the daily loss used and the room left, the max loss room and equity floor, and the progress toward the profit target. The start-of-day balance is rebuilt from today's closed deals, so the values stay correct after a restart. Colors change from green to orange to red as limits get closer, with optional popup and push alerts. Auto, dark or light theme. Display only: it never opens, modifies or closes trades.

Mouse Scroll Zoom in Zoom Out

Trending up, trending down or ranging: a verdict for every bar, and how long it has held. Each stretch of one regime is boxed on the price chart, ADX columns below show how strong it is, and a one-line panel gives the regime, its age and the ADX. Values for Expert Advisors and an alert on closed bars.

Trace les fourchettes de variation des séances asiatiques, londoniennes et new-yorkaises et signale les « liquidity sweeps » : une barre fermée dont la mèche dépasse le plus haut ou le plus bas d'une séance terminée, mais qui se referme à l'intérieur de cette fourchette. Flèches sans redessin, niveaux de séance étendus, alertes et zones tampons compatibles avec iCustom.

Colore l'arrière-plan du graphique en fonction du régime de volatilité (Compression, Normal, Expansion) sur la base du rang centile de l'ATR actuel. Affiche le régime actuel sur le graphique, signale les changements de régime et met à disposition des zones tampons pour les Expert Advisors.

Colore l'arrière-plan du graphique en fonction du régime de volatilité (Compression, Normal, Expansion) sur la base du rang centile de l'ATR actuel. Affiche le régime actuel sur le graphique, signale les changements de régime et met à disposition des zones tampons pour les Expert Advisors.

Shows the current spread next to its recent average and maximum and compares it with ATR, so you can see at a glance when trading costs are too high relative to the symbol's normal movement.

On-chart panel that calculates the lot size for a given risk (% of balance, % of equity or fixed money) and stop-loss distance, using the broker's tick size and tick value. Works on forex, metals, indices and crypto.

Draws the high and low of the Asia, London and New York sessions as boxes or lines extended to the end of the day, with configurable session hours and a server time zone adjustment. Optional previous day and previous week high/low. When a CLOSED bar breaks the high or low of a session that has already finished, it can raise a popup alert, a push notification and/or a sound, once per level per day. Alerts are evaluated on closed bars only, so they do not repaint. The 10 levels are exposed in indicator buffers, so an Expert Advisor can read them with iCustom(). It recalculates only new bars, works on any timeframe up to H1, and deletes all its chart objects when removed. Read-only: it never opens, modifies or closes a trade. No DLLs, no web requests.

Marks bullish and bearish engulfing, bullish and bearish pin bar and inside bar patterns with arrows, using closed bars only, so nothing repaints. The definitions (wick and body proportions, minimum bar size in ATR) are inputs, with an optional EMA trend filter. For each pattern a small panel shows a rolling historical statistic: the share of the last N resolved cases where price moved X ATR in the pattern direction before moving Y ATR against it, together with the number of cases. X, Y, N and the waiting time are inputs. The numbers describe what happened on your chart history; they do not predict the next trade. Optional alerts on closed bars (popup, push, sound). 20 buffers (signal, hit rate and sample size per pattern) can be read with iCustom(). Uses prev_calculated, deletes its chart objects when removed. Read-only: it never trades. No DLLs, no web requests.

Auto Fibo Extended is a MetaTrader 5 indicator designed to automatically identify significant swing highs and swing lows and draw Fibonacci Retracement and Extension levels directly on the chart.

A small include class that stops indicator alerts from firing on every tick. One alert per event and bar, silent about history on start, popup, push, email or sound, and an optional log of every decision. Comes with a working range break indicator as an example

Indique où les stops sont susceptibles de se trouver et lesquels viennent d'être déclenchés. Pools de liquidité = plus-hauts et plus-bas confirmés que le cours n'a pas encore franchis, plus-hauts/plus-bas équivalents (un pool plus important) et le plus-haut et le plus-bas de la veille. Lorsqu’une barre dépasse les limites d’un pool, elle est marquée comme « balayée » (swept), et comme « saisie puis rejetée » (grabbed & rejected) si cette même barre clôture à nouveau à l’intérieur du pool. Pas de réactualisation : un swing n’est pris en compte qu’après N barres clôturées de chaque côté. Le panneau représente une ville néon dessinée sur un CCanvas : le cours est une voiture volante, les ordres stop de vente sont des tours situées en dessous, les ordres stop d’achat sont des plates-formes flottantes au-dessus, les niveaux d’hier sont des panneaux publicitaires dorés, un projecteur balaye le ciel et un téléscripteur affiche les prises du jour. Deux tampons fournissent le pool actif le plus proche au-dessus et en dessous, à utiliser dans un Expert Advisor. Indicateur uniquement : il n’effectue jamais de transactions.

On-chart table that shows how much each Expert Advisor (magic number) made or lost today, this week and this month, with closed and floating profit, number of closed trades today and the intraday drawdown. Manual trades (magic 0) get their own row and a TOTAL row sums the whole account. MT5 only shows one account-wide balance, so when several EAs trade together you cannot see which one is carrying the day or bleeding. Give your magic numbers readable names ("1001=Breakout;1002=Grid"), choose the corner and theme, and decide whether floating profit is included. Read-only: it never opens, modifies or closes a trade, and it works in the Strategy Tester too (it reads the tester's own deals), so you can try it before using it on a demo or live account. No DLLs, no web requests.

Splits all open positions into currencies and shows the net exposure per currency in account money, the effective leverage of the account and how much a 1% currency move would change your equity.

Draws Asia, London and New York session high/low boxes with each session's range in pips or price, plus a live spread and open-sessions panel.

Un panneau graphique qui affiche les détails des spécifications du contrat déterminant la taille de la position et les coûts de négociation (valeur du point, coût du spread, marge, swap, règles d'exécution) dans la devise du compte, signale les paramètres du courtier qui enfreignent implicitement les règles relatives à la taille des lots, et exporte vers un fichier CSV l'audit de chaque symbole de la fenêtre « Market Watch ».

Affiche le spread réel pour chaque heure de fonctionnement du serveur, mesuré à partir de l'historique des ticks fourni par votre courtier : médiane et 90e centile par heure, coût facultatif exprimé en pourcentage de votre ordre stop et par lot, et exportation au format CSV.

Indicateur iFVG avec signaux

A table on the chart: the typical spread of the symbol for every hour and weekday, read from the history of your broker. Green is cheap, red is expensive. Hours in server time, UTC or a city with the right summer time. Read-only.

Candle countdown timer for Gold (XAUUSD), EURUSD and any symbol: time left on the current candle next to price or in a corner, spread, color change and alert before the close. Server time, no ticks needed. Open source code.

Drag the stop-loss line and read the lot size that risks exactly your money or percent. The CRiskSizer class does the same in an EA: lot rounded down, minimum lot never forced, max lot, volume limit, stop level and margin checked.

CBrokerTime converts server time, UTC, New York, London, Sydney and Tokyo with the real summer time of every year and finds your broker's clock from the history (also in the tester). The indicator draws session lines and a clock panel.

A clean Heikin Ashi indicator that draws on the main chart window. It also adds one horizontal line at the average price, (Open + High + Low + Close) / 4, of the last closed candle of a chosen timeframe. By default this is H1, and the line uses the normal candles, not Heikin Ashi.

Identifie les écarts de cours (gaps) survenus pendant le week-end sur les graphiques CME de l'or et sur les graphiques Bitcoin disponibles 24h/24 et 7j/7, conserve chaque écart non comblé sur le graphique jusqu'à ce que le cours revienne à ce niveau, et indique la fréquence à laquelle les écarts ont été comblés, la rapidité avec laquelle cela s'est produit, l'amplitude initiale du mouvement de prix, ainsi que le profit qu'aurait généré une stratégie de « fading » (prise de position à contre-courant). Sans réaffichage, avec des zones tampons pour un Expert Advisor.

12345678910111213...154