Testing Gunbot strategies in ATAS Market Replay

If EMA9 crosses VWAP midway through a candle, the finished chart can hide what the market looked like when the strategy signaled. ATAS X Market Replay lets you pause at that moment and inspect the chart. Gunbot shows when the signal fired and what happened to any simulated order that followed.
Try it with Gunbot EMA / VWAP. Run the same market period twice on your ATAS chart. The first pass lets you study the signal. The second lets you follow a simulated order through its fill and exit.
What ATAS adds to the test
ATAS is built for volume and order-flow analysis. Its footprint charts show how much volume traded at each price inside a candle. A two-minute candle can close near its high even if most of its volume traded lower in the range. That helps you read the market around a signal. The signal itself comes from the strategy’s EMA / VWAP crossover rules.
Market Replay gives you control of the clock. Slow playback around a price move, pause to inspect a candle, then resume to see what follows. Available detail depends on the instrument and Replay data you select. ATAS footprint charts · ATAS Market Replay
Set up the session
Once you’ve connected ATAS X and Gunbot, choose an instrument and a historical period you can replay more than once.
- Set the ATAS chart to two-minute candles with UTC feed timestamps.
- Load at least 20 bars. VWAP resets at 5 p.m. Chicago time, so note whether your window crosses that boundary.
- Record the instrument, time window and Replay data mode so you can keep them fixed across passes.
First pass with signals only
Add Gunbot EMA / VWAP to the ATAS X chart, select the Replay account and leave Send orders in Market Replay off. Start the strategy and press Play in ATAS. When a signal appears, pause and note its timestamp and side in Gunbot’s Recent signals table.
Find the same moment on the ATAS chart and check which way EMA9 moved through VWAP. For a signal at 14:32:18, like the one in the illustration, look at the 14:32 candle. If the Replay data supports a footprint view, see where volume traded within that candle. A session can stay connected and produce no signal if a qualifying crossover never occurs.
Second pass with simulated orders
Start the same period with no open position or working orders on the Replay instrument. With the strategy stopped, enable Send orders in Market Replay in ATAS and check the quantity before you restart. See the setup guide’s order steps for the full sequence.
When a signal appears, look for the resulting order in Gunbot’s Simulated orders table. Check the status and filled quantity. If it fills, check the average entry price in Replay position and follow the position through its exit. If you see a signal and no order, check the account and order setting in ATAS. If you see an order and no fill, check the order status.
Before you stop the strategy, check for open positions and working orders in ATAS. The strategy manages its stop, target and trailing levels while it runs.
Change one thing and replay the same period
Once you have a baseline, repeat the same period with one setting changed. For example, change the order quantity and compare the filled quantity and resulting position in Gunbot. That gives you a concrete way to check whether the strategy used the new setting.
Replay lets you inspect strategy behavior in the period you chose. Live fills can differ from simulated fills. When you’re ready to try a different chart setup or strategy, start with the ATAS strategy reference or see how the integration works.