Products

PFT TerminalJournal, live desk and AI mentor in one windowPFT Market SuiteBuilt on 8 years of market experiencePFT ForgeGamma levels and key strikes for ES and NQPFT CraftBuild custom indicators for your specific needsPFT Prop ScoutComing soonOur own prop firmComing soonAI and MCP accessYour journal, readable by an assistant

Learn

Trading course8 years of mistakes and errors, aggregated for youResourcesArticles and trader linksDiscord community650+ futures traders

Company

CareersApply to work with usPartner dealsDiscounts we passed onSupportGet an answer from a human
ATAS Setup

How to Backtest Properly in ATAS X

Diagram of ATAS X replay settings with data type, speed and period, leading to a PFT-EdgeBook journal entry

Backtesting in ATAS X means replaying recorded market data and trading it as if it were live. The Replay widget loads candles, ticks, or ticks with Level 2 depth for a chosen period, and trades are placed with normal chart trading. Done properly, it needs rules written in advance, a large sample and an honest record of every trade.

Where is the Replay in ATAS X?

It is a widget: clone a chart, then replace the widget with Replay.

The Replay behaves like any other ATAS X window. Clone an existing chart, choose replace widget, and select replay. The Replay window can be dragged and docked like other widgets. It first reports that the replay is not connected; activating it opens the replay controls.

Our walkthrough: the ATAS X Replay on NQ, and recording the replay trades in PFT-EdgeBook.Watch on YouTubePlaying loads YouTube (Google). Privacy policy

Which Replay settings matter?

Data type, instrument, period and speed.

SettingOptionsNote
Market data typeCandles; ticks; ticks and DOM level 2Ticks are level 1, the trades at the top of the book. Ticks and DOM level 2 add the order book, which a heatmap needs
InstrumentAny loaded instrumentReplay the contract you actually trade
PeriodCalendar, or dragged directly on the chartWith ticks and DOM level 2, at most one hour of data can be loaded; ATAS X shows a warning otherwise
SpeedFrom 1x up to 1000xSlow to 1x near the setup to feel the real market speed
TemplateSave as templateOptional; a separate backtest workspace does the same job

Replay settings as shown in the walkthrough.

One restriction shapes the preparation: indicators can only be changed before the replay starts. Volume profiles and drawings stay usable during the replay, but indicators that have to be loaded separately cannot be added or adjusted. Set up the workspace first, then start.

How do you trade inside the Replay?

Exactly as live.

Chart trading works as in live trading: market orders, the same key settings, and the same predefined stop-loss and take-profit templates. With level 2 data loaded, the heatmap runs in the replay as well. Drawings from live trading can clutter the replay chart; the drawing objects menu offers select all and delete all.

What does honest backtesting require?

Fixed rules, enough trades, and no knowledge of the future.

  • Write the rules before the first replay: entry trigger, stop placement, target logic and what disqualifies a trade. Rules written after seeing the result fit the past, not the next session.
  • Collect a meaningful sample. A handful of trades says more about luck than about the setup, so keep going until the results per setup stop swinging with every new trade, and include different market conditions.
  • Avoid look-ahead. Do not scroll the chart forward, and do not pick replay days because you remember how they ended. Test consecutive sessions instead.
  • Record every trade, including the ones you would rather forget. Skipping losers inflates the result.
  • Keep commissions and slippage in mind. A small edge can disappear once they are included.
  • Change one thing at a time. If entry and stop logic change together, the result cannot be attributed to either.
MistakeWhy it distorts the resultFix
Rules defined after the testThe rules fit the sample they were built onWrite rules first, test second
Too few tradesRandomness dominates small samplesKeep testing until the numbers stabilize
Hand-picked daysMemory of the outcome leaks into the selectionTest consecutive sessions
Deciding at high speedA decision at 100x is not a decision at 1xSlow to 1x near the setup
Only tracking wins and lossesHides whether stops and exits are well placedRecord MAE, MFE and what price did after the exit

Common backtesting mistakes.

How do you record replay trades automatically?

With the PFT EdgeBook Bridge in backtest mode.

The bridge indicator has a setting called Backtest mode (ATAS Replay). It is off by default. Switched on, trades taken in the ATAS Replay are recorded like live ones in PFT-EdgeBook: candles, screenshots, stop and target events, fills, MAE and MFE, and the post-exit window. Timestamps come from the replayed market clock, not from the wall clock. The mode only acts on the Replay account and switches itself off as soon as a live fill arrives on a real account.

In PFT-EdgeBook, a separate workspace and a strategy such as Breakout test keep the replay work organized. A strategy is a view on the journal, not a separate folder: new imports land in the active strategy, and every trade also stays in the main journal. After each replay trade, the journal shows entry and exit, how far the trade ran for and against you, and, once the post-exit window has passed, what price did after the exit.

How do you evaluate the results?

Per setup, with more than the win rate.

Look at the win rate together with the average win and loss in R, MAE against your stop, MFE against your target, and the post-exit moves. A setup with a modest win rate and large winners can be sound; one with a high win rate and occasional large losses can be fragile. Replay results are still an estimate. Live trading adds emotions and fills that a replay does not fully reproduce, so a setup that holds up in the replay still deserves a small live sample before it gets full size.

FAQ

Can the ATAS X Replay show the order book?

Yes, with the market data type ticks and DOM level 2, limited to one hour of data per replay.

Why can't I change an indicator during the replay?

Indicators have to be set before the replay starts. Stop the replay, adjust the indicator, and start again.

How many trades does a backtest need?

There is no fixed number. The sample should be large enough that one more trade no longer changes the picture noticeably, and it should cover different market conditions.

Do replay trades end up in my journal?

Only with backtest mode switched on. They come from the ATAS Replay account, and a dedicated strategy gives you a view with only the backtest trades.

This article is educational content, not financial advice.