Articles, Library comments - page 2

Swap Markup Scanner : Shows the broker's hidden financing markup and the carry for every symbol, as annual % of notional. Author: Ng Wei Siong
DataSnooping: SPA test, Reality Check, StepM and model confidence set : Is the best of many strategies really better than the benchmark? Hansen's SPA test, White's Reality Check, Romano-Wolf StepM and the model confidence set. Author: Mohamed-amine Baddir
Calendar News Filter - pause any EA around high-impact news : A small include file that tells your Expert Advisor when it is inside a news window, using the economic calendar built into MetaTrader 5. No web requests and no DLL. Author: Muhammad Muqeem Korejo
isNewBar : The function allows checking whether a new bar has appeared on the specified timeframe. For the indicators and Expert Advisors it's very often necessary the information whether a new bar has appeared on the specified timeframe. Here is an example, how it can be done. After the first call
Basket Pair Closer : Position manager for MT5 that closes the best winner together with the worst loser when their combined result reaches your minimum. Basket take profit and stop loss in money, magic filter, simple panel. Works with grid, martingale and manual trades. Open source code. Author
XANDER Adaptive Cross : Two adaptive moving averages that read the market differently. Crossovers signal trend shifts. Author: Cristhian Alexander Gaibor Cuasquer
XANDER Gold Recovery : Keltner Channel strategy for XAUUSD with optional Progressive Recovery System and basket level risk control. Source code for educational purposes. Author: Cristhian Alexander Gaibor Cuasquer
Quantum XAUUSD Silver Trader : Multi-indicator EA for Gold (XAUUSD) and Silver (XAGUSD): RSI, ADX and MA signals, adaptive ATR trailing stop and built-in capital protection. Author: Cristhian Alexander Gaibor Cuasquer
XPro Trade Panel — Full Trade Management Panel for MT5/MT4 : One-click trade panel for MT5 and MT4. Manage entries, exits, SL, TP, pending orders and partial closes without touching the keyboard. Author: Cristhian Alexander Gaibor Cuasquer
  Experts: XANDER Grid XAUUSD  (44   1 2 3 4 5)
XANDER Grid XAUUSD : Bidirectional grid EA for Gold (XAUUSD). Ideal for ProCent accounts. Includes Daily Profit Target and Max Drawdown protection. Author: Cristhian Alexander Gaibor Cuasquer
Cointegration: ADF, Engle-Granger and Johansen tests with a pair scanner : Unit root and cointegration tests (ADF, Engle-Granger, Johansen) with MacKinnon p-values, hedge ratio, half-life and z-score of the spread, and a pair scanner. Author: Mohamed-amine Baddir
Kalman: exact diffuse Kalman filter, local level and time-varying hedge ratio : Kalman filter and smoother with an exact diffuse start, missing values and maximum likelihood: local level, local linear trend and a regression whose hedge ratio drifts. Author: Mohamed-amine Baddir
RegimeHMM: market regimes with a hidden Markov model : Gaussian hidden Markov model fitted by Baum-Welch: regime probabilities without look-ahead, most likely path, expected durations and regime forecasts. Author: Mohamed-amine Baddir
TesterVsLive - match a Strategy Tester report against your real account, trade by trade : A free, read-only utility. It reads an MT4 Strategy Tester report (.htm) and matches every backtest trade with your account history. It then shows the match rate, missed and extra trades, entry and exit
UT Bot Alerts for MT4 - faithful port with signal statistics panel and daily session filter : An MT4 port of QuantNomad's "UT Bot Alerts", one of the most-used scripts on TradingView. It draws the ATR trailing stop, Buy/Sell signals and bar colors, and adds a panel that counts what the signals would
Candle shadows v1 : Candlestick size and shadow analysis. In OnTradeTransaction, opening (DEAL_ENTRY_IN) and closing (DEAL_ENTRY_OUT) the positions are intercepted, as well as closing by Stop loss (DEAL_REASON_SL). Author: Vladimir Karputov
Range Filter Buy and Sell for MT4 - faithful port of DonovanWall / guikroth with signal statistics : An MT4 port of the popular TradingView "Range Filter Buy and Sell 5min". The filter line only moves when price exceeds a smoothed average range, which filters out small swings. Includes Buy/Sell
Chandelier Exit for MT4 - faithful port of everget's TradingView version with signal statistics : An MT4 port of the classic Chandelier Exit as implemented by everget on TradingView (v6, 2025). It draws the long/short ATR stop from the highest or lowest close, Buy/Sell signals when the state flips
CME equity index futures holiday calendar : Holidays and early halts of the CME equity index futures (S&P 500, Nasdaq-100, Dow, Russell 2000, E-mini and Micro), computed from the US holiday rules for any year, with a script that checks the calendar against your broker's own M1 history. Author
VpsToolkit - safe order send and restart-safe state for VPS EAs : Include for EAs running 24/7 on an MQL5 VPS or PC: run-where switch, order send with OK/FAIL/UNKNOWN result (no duplicate orders after a timeout), restart-safe counters, positions closed while the EA was off, append-only log and
New article MetaTrader 5 on Linux is published: In this article, we demonstrate an easy way to install MetaTrader 5 on popular Linux versions — Ubuntu and Debian. These systems are widely used on server hardware as well as on traders’ personal computers. Author: MetaQuotes
Compression Breakout Channels with Buy and Sell Volume : Finds volatility compressions as they form, boxes each one as a channel with ATR edge bands and marks the bar that breaks out of it. Inside the live channels: buy and sell volume split from M1 bars, drawn as candles and text, plus a gauge of
Garch: GARCH, GJR-GARCH and EGARCH volatility models with forecasts : Fits GARCH(1,1), GJR-GARCH and EGARCH with normal, Student t or GED shocks by maximum likelihood, with robust standard errors and variance forecasts. Author: Mohamed-amine Baddir
Session Time Highlighter : Highlights the Asia, London and New York sessions and the London/New York overlap using real local time and daylight saving rules, so the session boxes are correct on any broker. Author: Wycliffe Wanjala Wanyonyi
Check out the new article: Joint Recurrence Quantification Analysis (JRQA) in MQL5: Detecting Simultaneous Recurrence in Two Series . We extend the RQA library for MetaTrader 5 with JRQA, which detects when two series simultaneously revisit their own past states. The article covers the joint
Stochastic Daily Breakout for Gold, +245 Percent in a 2021-2026 Backtest : Gold EA that trades both directions: when the stochastic signal line turns, it places a stop order at yesterday's high or low, filtered by a Bollinger band. Self-contained, no custom indicators. Real-tick backtest on XAUUSD
Check out the new article: Price Action Analysis Toolkit Development (Part 11): Heikin Ashi Signal EA . MQL5 offers endless opportunities to develop automated trading systems tailored to your preferences. Did you know it can even perform complex mathematical calculations? In this article, we
Check out the new article: How to Set Up an AI Hedge Fund in MetaTrader 5 . The article examines the architecture of a committee consisting of 15 AI agents: ten analysts and four risk officers vote in three parallel phases, and the Chair records the final result. Isolated pair contexts with separate
Order Watchdog - alerts on unknown magic, duplicates, no SL, stop outs (read-only) : Read-only watchdog for MT5: alerts on unknown magic numbers, duplicate positions after reconnects, missing SL, stop outs and what happened while it was off. Never trades. Author: Manit Chin
Extreme Price Filter : An indicator to reveal the the time candles breached an extreme price boundary Author: Conor Mcnamara