Les meilleurs codes sources MQL4 et MQL5 selon les notes des utilisateurs - 23
- 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.
Watches the whole account and closes everything before the daily loss or max drawdown limit is breached, then keeps the account flat until the block ends. Does not trade.
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.
Tests "buy at hour X, exit Y hours later" on your broker's own history after spread, commission and swap, with an out-of-sample split, weekday/year breakdown and an all-hours baseline.
Reads real tick history and reports average, median and 95th-percentile spread for every server hour and weekday, plus the cost in % of price.
Push notifications when the connection drops, algo trading is switched off, an EA leaves its chart, the account changes, a position has no stop, equity or margin hit a limit - plus a daily heartbeat.
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.
Manages positions that are already open: it adds a missing SL/TP, moves the stop to break even, trails it, caps the position count and applies daily equity limits. It never opens trades.
XAUUSD grid EA that opens a basket when RSI leaves oversold or overbought on a closed candle, adds levels with a lot multiplier and closes the basket at a money or points target. Open source code.
Exports your closed trade history to a CSV file with one row per position (not per deal), ready for Excel, Python or any journal. Each row has ticket, symbol, magic number, comment, side, volume, entry and exit time and price, duration, initial SL and TP when known, gross profit, commission, swap, net result and R multiple. It also calculates MFE and MAE (best and worst price reached while the trade was open, in points and in money) from the M1 bars between entry and exit, plus the entry session (Asia, London, New York) and weekday. Filter by magic number (lists and ranges) and symbol (wildcards), pick the period, the column separator (; or ,) and the decimal mark, and save to MQL5\Files or the common folder. Tested on hedging accounts and in the Strategy Tester (netting logic included; feedback welcome), where the file is written when the test ends. Read-only: it never opens, modifies or closes a trade. No DLLs, no web requests.
Utility Expert Advisor that watches the account equity against two limits: a maximum daily loss and a maximum total drawdown. Each limit can be set as a percentage or as a money amount, and the daily loss can be measured from the balance or from the equity at the start of the day, as many prop firms do. When a limit is touched the EA closes all positions, deletes all pending orders and keeps the account locked until the next trading day: anything opened in the meantime, by another EA or by hand, is closed again. Optional early warning at a percentage of the limit (Alert and push), a small on-chart panel, a magic number / symbol filter, a configurable day-reset time and retries when a close fails. The state is stored in terminal global variables, so a restart does not unlock the account. Works on hedging and netting accounts. No DLLs, no web requests. It never opens trades (only the optional Strategy Tester demo mode does).
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.
Draws the opening range of a configurable session (start time and length in minutes, with a server time zone adjustment), the 1R and 2R levels above and below the box, and the session VWAP (tick volume, or real volume when the broker provides it). A small panel counts, over the last N finished sessions, how many broke the range up only, down only, on both sides, or not at all, and how often price reached 1R and 2R after the first break. The statistics are historical counts: they describe the past and do not predict anything. Only closed bars are used, so nothing repaints; optional popup, push and sound alerts fire once per direction per session when a closed bar closes outside the box. Eight buffers (range, targets, VWAP, break state) can be read from an Expert Advisor with iCustom(). Works on M1 to M30, recalculates only new bars and deletes its chart objects when removed. Read-only: it never trades. No DLLs, no web requests.
Script that reads the deal history of your account and writes a plain note on how an Expert Advisor really trades: entries, stops and trailing, lot changes, martingale, averaging, trades at once, hours and holding time, plus what to watch out for. It never trades and says nothing about profit
Trailing stop and breakeven manager for Gold (XAUUSD), forex and any symbol: moves the stop to breakeven with an offset, then trails it in points or ATR multiples on manual trades and on any EA, filtered by magic and symbol. Open source code.
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.
See the real leverage of every Market Watch symbol, including floating margin tiers, with swap, commission and live spread in one panel.
Non-repainting fair value gaps on closed bars, with zone states (active, touched, mitigated) and iCustom buffers for EAs.
Tick Scalper Helper is a manual trading utility for traders who work on very short time frames and want to see every price change.
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.
The Zigzag2_R_Color indicator with the timeframe selection option available in the input parameters.
The VR Alert NT5 indicator warns the trader about the price reaching a specified level.
The Slope Direction Line indicator is displayed as a colored moving average line indicating the average market movement direction.
This is MQL5 version of Shved Supply and Demand written by Shved and upgraded by eevviill7 with history mode.
Une approche inspirée de l'apprentissage automatique pour l'analyse des régimes de tendance. Elle fournit des signaux précis et intègre une fonctionnalité permettant de vérifier la fiabilité des résultats lors de tests rétrospectifs.
This script finds DeMark pivot points, displays them on the chart and indicates their dimensions.
Serialization and deserialization of JSON protocol. The code is ported from a high-speed С++ library.
A variation on the T3 theme that was made as a sort of envelopes using T3 for basic value.
Holt's double exponential smoothing - the trend component.
Détection du début d'une nouvelle barre ou d'une nouvelle bougie dans le gestionnaire d'événement OnTick() d'un conseiller expert.
To use martingale money management when a position is in loss and price hits any of specific distances.
Cette fonction exécute la logique principale de l'ouverture d'une transaction. Elle calcule le prix d'ouverture, les niveaux de take profit et de stop loss sur la base des informations relatives au symbole et des paramètres fournis par l'utilisateur. Elle prépare une demande de transaction (MqlTradeRequest) avec les informations nécessaires, telles que le symbole, le volume, le type d'ordre, l'écart, le commentaire, le numéro magique, etc. Elle appelle la fonction OrderSend pour envoyer la demande d'opération et obtenir le résultat. Fonction SetTypeFillingBySymbol : détermine le type de remplissage de l'ordre (Fill ou Kill, Immediate ou Cancel, ou Return) en fonction de la politique de remplissage du symbole. Fonction GetMinTradeLevel : calcule le niveau minimum d'opération en fonction du niveau de gel et du niveau d'arrêt du symbole. Ajuste le niveau minimum pour s'assurer qu'il se situe dans certaines limites et renvoie le résultat.
Indicateur basé sur la pente de base de la moyenne mobile et le nuage autour. L'indicateur affiche deux types de signaux : pré-levée - point et entrée - flèche.
Il s'agit d'un indicateur affichant des motifs de chandeliers sur un graphique.
Voici MP by SPLpulse, un Expert Advisor sophistiqué et très polyvalent conçu pour le trader moderne. Que vous soyez un scalpeur, un suiveur de tendance ou un trader inversé, MP by SPLpulse combine de multiples stratégies de trading avec une suite de gestion des risques de niveau institutionnel pour s'adapter à votre style de trading unique. Prenez le contrôle de votre trading avec une personnalisation inégalée et une automatisation puissante.