RESEARCH WORKSPACE · SIMULATION ONLY

Strategy Lab

Test multiple fast-trading ideas against historical OHLC candles. Compare momentum, pullback and breakout logic with spread, slippage, stop-losses and take-profits included. Nothing here sends orders to XM or any broker.

Demo safety gate: This lab is a local-in-browser historical simulator. It does not connect to MT5, does not promise profit, and does not execute trades. Historical results can differ sharply from live trading.

1. Load historical candle data

Export a CSV from MT5 with columns for time, open, high, low, close. Column names can be case-insensitive; extra columns are ignored. Data is read in your browser and is not uploaded.

No file loaded. For a first test, use at least 500 candles from one symbol and one timeframe.

2. Backtest assumptions

Risk sizing is an estimate based on price distance and equity. Currency contract sizes, commissions, swaps, margin and broker execution rules are not modelled here.

Strategy engines

Load candles to enable the simulator.

Performance overview

Net P/L—
Return—
Worst strategy drawdown—
Closed trades—
Sum of independent strategy P/L (not a portfolio)Awaiting backtest

Strategy comparison

StrategyTradesWin rateNet P/LProfit factorMax drawdownReadout
No backtest results yet.

Recent simulated trades

StrategySideEntry candleExit candleEntryExitP/LExit reason
Trade records appear after a backtest.

This simulator uses candle data, so it cannot know the true intrabar price path. When both stop-loss and take-profit are touched in the same candle, it assumes the stop-loss occurred first, a conservative assumption. It does not include every real-world execution risk.