ForexEdge
Learn / TradingView Backtesting: Why the Tester, Other Engines, and Live Fills Disagree

TradingView Backtesting: Why the Tester, Other Engines, and Live Fills Disagree

Run the same strategy on TradingView's strategy tester, on an independent backtest engine, and on a live demo account, and you will usually get three different answers. That is not a scandal — it is the nature of simulation — but the size and direction of the differences tell you whether your strategy is real. This page explains where the gaps come from, based on our experience building trade-for-trade parity between the ForexEdge engine and exported Pine Script strategies.

Where the differences come from

How to verify a strategy across engines

The honest procedure is trade-level comparison, not eyeballing two profit numbers. Export both trade lists, align them by entry time and direction, and measure: how many trades matched, how far apart the fills were in pips, and whether any trades flipped direction. ForexEdge automates this: build a strategy, export it as Pine Script, run it in TradingView, upload TradingView's "List of trades" CSV, and the comparison runs trade by trade. A strategy earns a parity badge only when at least 95% of matched trades agree within 2 pips, with zero direction mismatches, across at least 100 trades. Below that bar, the tool shows you which exit mechanism diverged — because "the numbers differ" is useless until you know why.

The three-stage reality check

Backtest → independent tester → live demo. Each stage strips away one layer of simulation. Watching the win rate move across the stages (say 65% → 61% → 58%) tells you how much of your edge was real and how much was the simulator being kind. This is the entire reason ForexEdge shows all three side by side per strategy. Related: what backtesting can and cannot tell you and how to automate a TradingView strategy safely.

Test it instead of trusting it.

ForexEdge backtests forex strategies without code, verifies them trade-for-trade against TradingView, and tracks live results against the tested expectation.

Try ForexEdge free