Backtest Limits and Troubleshooting
Backtest is designed as a streamlined, high-speed simulation environment. Understanding its technical simplifications ensures you interpret your testing results accurately.
[!CAUTION] Regulatory Disclaimer on Hypothetical & Simulated Performance: Simulated or hypothetical performance results have inherent limitations. Unlike an actual live trading performance record, simulated trades do not represent actual financial transactions and are executed in an idealized zero-spread, zero-commission, zero-slippage environment. Because simulated trades have not actually been routed to live market liquidity providers, the results may under- or over-compensate for the impact of real-world market liquidity, execution latency, and spread widening during volatile news releases. No representation or guarantee is made that any trading strategy will achieve profits or losses similar to those demonstrated in a simulation run. Past simulated performance is never a guarantee of future live performance.
What the simulation simplifies
- Spread : Bid and Ask prices are equal (Spread = 0), executing trades directly at historical candle prices without spread widening or broker markup.
- Commissions & Financing Fees : Always zero. Overnight swap charges are not accrued.
- Slippage : Zero slippage. Orders execute at the exact replayed price specified by the fill rules.
- Liquidity & Market Depth : Not modelled. Pending orders fill purely on price touches regardless of order size.
- Tick-level Execution : Prices advance along a deterministic 3-point path from 1-minute historical candles rather than raw tick streams.
- Margin Calls & Stop-Outs : Negative equity will not trigger automated liquidation, allowing you to review the complete price path without premature termination. A Trader's Guard rule can still close your positions or lock the run - that is your own rule firing, not a broker stop-out.
Backtest is ideal for testing market hypotheses, price action triggers, and risk management discipline. Because spreads, commissions, and swap fees are zero, a strategy that only breaks even in simulation will likely require optimization to succeed in live trading.
Changing timeframe, symbol, or timezone during a run
- Changing timeframe: The chart aggregates 1-minute bars into the new timeframe around your current simulation point. The run does not restart, and all open positions and orders are preserved.
- Changing symbol: Pause replay first, then choose the new symbol. The historical datafeed switches while the run and its orders are preserved. The active backtest symbol is pinned to the top of the symbol list.
- One active symbol at a time: The simulation engine feeds historical price ticks for the symbol currently displayed on the chart. If you open a position on EURUSD and then switch the chart to XAUUSD, the EURUSD position's price and unrealized P/L are frozen until you switch the chart back to EURUSD.
- Changing timezone: Updates time formatting across the toolbar, order tables, and charts without altering UTC data.
- Technical indicators and drawings: Standard TradingView indicators (Moving Averages, RSI, MACD, Bollinger Bands, etc.) and drawing tools work normally and calculate dynamically across the replayed candles bar-by-bar. The chart's native Compare / Add Symbol and Go to date controls are intentionally disabled during Backtest; use the Markets symbol selector and Select date on the Replay toolbar instead.
Tip: Pause playback before changing timeframes to allow the chart to rebuild cleanly. Pausing is required before changing symbols.
Frequently Asked Questions & Troubleshooting
Why are Step and End greyed out?
The simulation has not started yet. Press Play (or Shift + Space) once to begin playback; this activates the simulation engine and unlocks Step and End.
Why won't the top Backtest button click?
Replay is currently playing. Press Pause on the Replay toolbar first before clicking the top Backtest button to exit.
Why is the Deposit amount field locked?
Once replay has started, the deposit amount is fixed for that session to keep performance statistics consistent. To trade with a different deposit, select a new start point to begin a fresh run. Note: Leverage remains editable at any time during the run.
"No candle there" appears when using Select bar.
You clicked on empty chart space where no historical candle exists. Click directly on the body of a candle on the chart.
Why does replay progress slowly on H4, D1, or W1?
Higher timeframe candles are built from underlying 1-minute bars. A D1 candle requires 1,440 1-minute iterations to complete. The toolbar clock advances continuously to confirm simulation progress. Increase Speed (e.g. to 5x or 10x) or use Step (Shift + →) to advance faster.
What happens if I decline the "Restore Backtest state?" prompt?
Clicking Cancel discards the previous saved session from browser storage and starts a clean, fresh Backtest session.
Where are saved sessions stored?
Sessions are saved in your local browser localStorage. They do not transfer between different browsers or devices, and clearing your browser data removes the saved state.
I dragged my Stop Loss but the order did not change.
That is by design: on the chart, dragging only drafts a price. Press ✓ on the floating SL/TP bar to write it into the order, or ✕ to put the line back. A chip with a dot (•) is holding an unconfirmed edit. The same applies to a pending order's Entry, to both Stop Limit prices, and to the ✕ that removes a stop.
Why did clicking ✕ on an Entry line not close my position?
For an open position the ✕ opens the close-position dialog instead of closing on the spot, so the close is confirmed the same way as everywhere else on the platform. Pending orders are still cancelled immediately - there is nothing to confirm.
The chart refuses my Stop Loss even though the table accepts it.
Both follow the exact same validation rules: Stop Loss and Take Profit are evaluated against the current market price. For example, a BUY Stop Loss must always be placed below the current market price (moving it above entry to break-even is allowed). If a price is rejected, check the amber warning banner above the ✓/✕ bar for details.
Why can I not close or cancel anything right now?
A Trader's Guard penalty has locked trading for this simulation run. A lock prevents placing, modifying, closing, or cancelling orders until the lock duration expires on the replay clock.
My BUY and SELL buttons are greyed out and I have no positions open.
A candle direction or moving-average distance Guard rule is currently restricting trades in that direction, or the historical candles required for evaluation are still loading. Check the banner in the order panel for the active rule.
End is much slower than it used to be.
An active Indicator Alert requires the engine to step through every simulated minute to ensure no candle close or alert trigger is missed. If you want a fast jump to the finish, disable active alerts first.
Why are Compare / Add Symbol or Go to date unavailable?
These native chart tools are intentionally disabled in Backtest to prevent bypassing the simulation timeline. Use the Markets symbol selector or Select date on the Replay toolbar instead.
Why can displayed Free Margin be higher than what the order form allows?
The footer Free Margin figure reflects margin used by currently open positions. The order form also deducts margin reserved by open pending orders, preventing you from placing an order that would exceed your available margin.
Why was I not asked to restore my saved session?
The restore prompt only appears when entering Backtest on the same symbol as your saved session. Your saved session is not deleted - simply switch to that symbol and open Backtest to resume it.