Backtest engine · MA confluence

Run the averages, on your terms.

The same five-point confluence score the ATSB bot runs, against real historical data. Set the averages, the stop, the entry threshold and the sizing, then read what it would have done: every trade, every exit, every day it stood still.

Engine
The live bot’s
Data
Real daily OHLC
Instruments
Any ticker
Cost
Free, no account
Free · no signup Daily data Any ticker Same code as the live bot
01

Start from a preset

The moving-average pairs the sweep tested, including the one the live bot runs. Pick one, then change anything you like.

MA Strategy Presets

02

Set the parameters

Every field here is a real input to the engine: change one and the whole backtest is recomputed against it.

Shorter MA - generates signals
Longer MA - trend filter
Backtest runs from this date through today
Initial equity for position sizing
% of account equity risked per trade
From entry price
Hard cap per trade - limits over-sizing on volatile names
0 = disabled · e.g. 10 = exit at +10%
Quality filter: only enter if entry score ≥ this
EMA reacts faster to recent prices
Locks in profit as the trade moves favorably
Whether MA crossover acts as an exit trigger
03

Read the report

The same figures the strategy page publishes, computed on whatever you just asked for.

Nothing run yet

Your report will appear here.

Press Run backtest and the engine replays every session in the window, one bar at a time, exactly as the live bot reads them.

  • Net result profit or loss on your starting capital, and the return it represents
  • Max drawdown the deepest peak-to-trough fall along the way
  • Win rate & profit factor how often it was right, and what it earned per dollar lost
  • Price & trades every entry, scale-in and exit marked on the chart
  • Trade log each position with its reason, size and result