Tester vs Live Trade Matcher MT5

A backtest looks great. Then the EA runs live and the numbers are different, and nobody can say why. Was it slippage, missed signals, a restart or a manual trade? Or was the backtest flattering?

Tester vs Live Trade Matcher answers that trade by trade, on MetaTrader 5. It never opens, modifies or closes orders.

Also available for MetaTrader 4 (free): https://www.mql5.com/en/market/product/203730

What you get:

  • Verdict: green (live matches the backtest), amber (partly matches) or red (live differs).
  • Trade match: trades on each side and the match rate (Jaccard); trades the backtest took but live missed, and what they earned; extra live trades the backtest never took.
  • Execution: average entry slippage, exit slippage and entry delay, plus trades where one side hit SL/TP and the other did not.
  • Result: price distance captured on matched trades, backtest vs live (independent of lot size); the % of the backtest edge retained live; real commission and swap on both sides.
  • Largest gaps: the 5 matched trades where live did worst against the backtest. Click a row to jump to that trade.
  • Chart marks: blue ring = backtest entry, orange dot = live entry, dotted lines from entry to exit; red x = missed by live, magenta x = extra on live. Every mark has a tooltip.
  • CSV export of the full trade-by-trade table.

Two modes:

  1. Report vs account history: the main use. Works on hedging and netting accounts.
  2. Report vs a second report: compare two brokers, two data feeds, or two versions of an EA.

Quick start:

  1. Save the Strategy Tester report as HTML (MetaTrader 5 and MetaTrader 4 reports both work).
  2. Copy the .htm file to MQL5\Files (File > Open Data Folder > MQL5 > Files).
  3. Attach the tool to a chart of the traded symbol. Set the report file name and the EA's magic number.
  4. Read the panel. Run re-reads everything, CSV writes the table, Marks shows or hides the trades, Go scrolls to the last compared trade. Click the title to fold the panel.

Nothing found? The panel says why and what to do (file not in the Files folder, no closed trades for that symbol or magic number, report and account do not overlap in time).

How matching works:

  • Only closed trades are used, within the window where both sides overlap.
  • Backtest trades are processed in time order. Each takes the nearest unused live trade in the same direction within the tolerance (default 180 s).
  • Match rate = matched / (backtest + live - matched). Slippage is signed: positive means live got a worse price.
  • Partly closed positions use the volume-weighted exit price.

Tested: on 11 pairs of real MetaTrader 5 and MetaTrader 4 reports the panel gives exactly the same numbers as an independent reference script, and an end-to-end test with 184 trades (hedging, partial closes, stop loss, take profit and manual exits) matched 184 of 184.

The verdict thresholds are practical rules of thumb, not statistics: green = match at least 90 % and edge retained at least 80 %; amber = at least 70 % and 50 %. For grid or basket EAs, lower the match tolerance.

Free to use, modify and share (MIT). No warranty, and nothing here is trading advice. Source code: published in the MQL5 Code Base by the same author.

More from the author (MetaTrader 5):

제작자의 제품 더 보기
A line-by-line port of "Chandelier Exit" , 2019-present Alex Orekhov ( everget ), distributed under the GPL-3.0 license. The original is published on TradingView. This port is released under the same license. Also available for MetaTrader 5 (free): Chandelier Exit with Signal Stats MT5 - https://www.mql5.com/en/market/product/209460 The logic is exactly the original's: ATR = multiplier × ta.atr(length) (Wilder RMA, seeded with an SMA). Long stop = highest(close or high, length) − ATR. It only
FREE
A line-by-line port of "UT Bot Alerts" by QuantNomad (Pine v4, 2020). The idea is by HPotter and the first version by Yo_adriiiiaan. The original is published as open source on TradingView. All credit goes to those authors. Also available for MetaTrader 5 (free): UT Bot Alerts with Signal Stats MT5 - https://www.mql5.com/en/market/product/209458 The logic is exactly the original's: ATR is atr(c) = Wilder RMA seeded with an SMA. The built-in iATR is not used. Trailing stop follows the original ne
FREE
A line-by-line port of "Range Filter Buy and Sell 5min" : Also available for MetaTrader 5 (free): Range Filter Buy Sell with Signal Stats MT5 - https://www.mql5.com/en/market/product/209459 original Range Filter by DonovanWall simplified version by guikroth Pine v5 update by tvenn It is published as open source on TradingView. All credit goes to those authors. The logic is exactly the original's: Smoothed range = EMA(EMA(|close − close[1]|, period), 2 × period − 1) × multiplier. Each EMA is seed
FREE
Adaptive SuperTrend
Thanh Trung Tran
Adaptive SuperTrend K-Means is an MT4 port of the open-source TradingView indicator "Machine Learning Adaptive SuperTrend" by AlgoAlpha (Mozilla Public License 2.0). All credit for the idea and the original code goes to AlgoAlpha. Also available for MetaTrader 5 (free): Adaptive SuperTrend KMeans MT5 - https://www.mql5.com/en/market/product/209466 At a glance What it is: a SuperTrend whose band width adapts to the current volatility level Volatility levels: K-means sorts recent ATR values into h
FREE
Gold Lighthouse
Thanh Trung Tran
Gold Lighthouse is a free, fully automated Expert Advisor for XAUUSD. It trades rarely and calmly - a few trades per month, long or short - and every order carries a stop loss and a take profit from the first second. There is never more than one position open, and a trade that reaches neither level is closed after a time limit. No martingale, no grid. Historical test results are shown below with their settings and costs; they are not forecasts. Backtest highlight - gold above 3000 Start balance
FREE
A backtest looks great. Then the EA runs live and the numbers are different, and nobody can say why. Was it slippage, missed signals, a restart or a manual trade? Or was the backtest flattering? Also available for MetaTrader 5 (free): Tester vs Live Trade Matcher MT5 - https://www.mql5.com/en/market/product/209467 TesterVsLive answers that trade by trade. It never opens, modifies or closes orders. What you get: Verdict: green (live matches backtest), amber (partly matches) or red (live differs).
FREE
Gold Priority Ensemble combines several independent gold strategies in one Expert Advisor for XAUUSD. Only one position is open at a time, every order carries a stop loss from the first second, and each strategy keeps its own exit management. Historical test results are shown below with their settings and costs; they are not forecasts. Who it is for Traders who want one gold EA with several entry ideas but only one open position at a time Traders who accept that trades can last from minutes to s
Gold Swing Pullback is an automated trend-following Expert Advisor for XAUUSD. It waits until the trend lines up, enters on a pullback within that trend, and protects every order with a stop loss and a take profit from the first second. Frequent small losses and occasional larger trend winners. Historical test results are shown below with their settings and costs; they are not forecasts. Who it is for Traders comfortable with frequent small losses and occasional large trend winners Traders who p
Gold Inside Day Breakout is a calm, fully automated Expert Advisor for XAUUSD. It trades only on days when the market has prepared a clear setup, takes at most one trade per day, protects every order with a stop loss and lets winning trades run with a trailing stop. Expect few trades, frequent small losses and occasional larger winners. Historical test results are shown below with their settings and costs; they are not forecasts. Who it is for Traders who prefer a few rule-based trades per month
Gold Order Flow
Thanh Trung Tran
Gold Order Flow is a fully automated Expert Advisor for XAUUSD that reacts to unusually strong moves in gold - long or short. Every order carries a stop loss and a take profit from the first second, there is never more than one position open, and trades are time-limited. No martingale, no grid. This is the same EA that trades the Gold Order Flow signal on MQL5, so you can watch it on a real account before you buy. Historical test results are shown below with their settings and costs; they are no
GoldSwing T24
Thanh Trung Tran
GoldSwing T24 is a fully automated trend Expert Advisor for XAUUSD. It trades only with the prevailing trend and closes every trade within 24 hours at the latest - no position is left open for long. A stop loss and take profit on every order, plus break-even protection after the first move. This is the same EA that trades the GoldSwing T24 signal on MQL5, so you can watch it on a real account before you buy. Historical test results are shown below with their settings and costs; they are not fore
Gold Entry
Thanh Trung Tran
Gold Entry runs two independent trend systems for XAUUSD in one Expert Advisor. Each system reads the market in its own way and manages its own position, so the EA does not depend on a single rule. A stop loss on every order and at most one position per system. This is the same EA that trades the Gold Entry signal on MQL5, so you can watch it on a real account before you buy. Historical test results are shown below with their settings and costs; they are not forecasts. Also available for MetaTra
GoldIBH
Thanh Trung Tran
GoldIBH combines three complementary gold strategies in one Expert Advisor. Each one looks for a different market situation and manages its own position and stop loss, so the EA can find opportunities in more conditions than a single-rule EA. This is the same EA that trades the GoldIBH signal on MQL5, so you can watch it on a real account before you buy. Historical test results are shown below with their settings and costs; they are not forecasts. Also available for MetaTrader 5: GoldIBH MT5 - h
Gold Momentum Breakout is a fully automated momentum Expert Advisor for XAUUSD. It stays out of the market until gold shows real momentum, then joins the move - long or short. Every order carries a stop loss from the first second, trades are time-limited, and there is never more than one position open. No martingale, no grid. This is the same EA that trades the Gold Momentum Breakout signal on MQL5, so you can watch it on a real account before you buy. Historical test results are shown below wit
GoldSwing T24 MT5
Thanh Trung Tran
GoldSwing T24 MT5 is a fully automated trend Expert Advisor for XAUUSD on MetaTrader 5. It trades only with the prevailing trend and closes every trade within 24 hours at the latest - no position is left open for long. A stop loss and take profit on every order, plus break-even protection after the first move. The same trading rules run the GoldSwing T24 signal on MQL5, so you can watch the strategy on a real account before you buy. Historical test results are shown below with their settings and
Gold Momentum Breakout MT5 is a fully automated momentum Expert Advisor for XAUUSD on MetaTrader 5. It stays out of the market until gold shows real momentum, then joins the move - long or short. Every order carries a stop loss from the first second, trades are time-limited, and there is never more than one position open. No martingale, no grid. The same trading rules run the Gold Momentum Breakout signal on MQL5, so you can watch the strategy on a real account before you buy. Historical test re
GoldIBH MT5
Thanh Trung Tran
GoldIBH MT5 combines three complementary gold strategies in one MetaTrader 5 Expert Advisor. Each one looks for a different market situation and manages its own position and stop loss, so the EA can find opportunities in more conditions than a single-rule EA. The same trading rules run the GoldIBH signal on MQL5, so you can watch the strategy on a real account before you buy. Historical test results are shown below with their settings and costs; they are not forecasts. Also available for MetaTra
Gold Entry MT5
Thanh Trung Tran
Gold Entry MT5 runs two independent trend systems for XAUUSD in one MetaTrader 5 Expert Advisor. Each system reads the market in its own way and manages its own position, so the EA does not depend on a single rule. A stop loss on every order and at most one position per system. The same trading rules run the Gold Entry signal on MQL5, so you can watch the strategy on a real account before you buy. Historical test results are shown below with their settings and costs; they are not forecasts. Also
A line-by-line MQL5 port of "UT Bot Alerts" by QuantNomad (Pine v4, 2020). The idea is by HPotter and the first version by Yo_adriiiiaan. The original is published as open source on TradingView. All credit goes to those authors. Also available for MetaTrader 4 (free): https://www.mql5.com/en/market/product/203726 Same logic as the original: ATR is atr(c) = Wilder RMA seeded with an SMA. The built-in iATR is not used. Trailing stop follows the original nested iff / nz recursion: it ratchets up wh
FREE
A line-by-line MQL5 port of "Range Filter Buy and Sell 5min" : the original Range Filter by DonovanWall , the simplified version by guikroth and the Pine v5 update by tvenn . It is published as open source on TradingView. All credit goes to those authors. Also available for MetaTrader 4 (free): https://www.mql5.com/en/market/product/203727 Same logic as the original: Smoothed range = EMA(EMA(|close - close[1]|, period), 2 x period - 1) x multiplier. Each EMA is seeded with an SMA, the same as ta
FREE
A line-by-line MQL5 port of "Chandelier Exit" , (c) 2019-present Alex Orekhov ( everget ), distributed under the GPL-3.0 license. The original is published on TradingView. This port is released under the same license. Also available for MetaTrader 4 (free): https://www.mql5.com/en/market/product/203729 Same logic as the original: ATR = multiplier x ta.atr(length) (Wilder RMA, seeded with an SMA). Long stop = highest(close or high, length) - ATR. It only moves up while the previous close stays ab
FREE
Adaptive SuperTrend KMeans is a MetaTrader 5 port of the open-source TradingView indicator "Machine Learning Adaptive SuperTrend" by AlgoAlpha (Mozilla Public License 2.0). All credit for the idea and the original code goes to AlgoAlpha. Also available for MetaTrader 4 (free): https://www.mql5.com/en/market/product/198796 At a glance What it is: a SuperTrend whose band width adapts to the current volatility level Volatility levels: K-means sorts recent ATR values into high, medium and low cluste
FREE
필터:
리뷰 없음
리뷰 답변