Tick-by-tick EA versus once-per-bar logic: same idea, different strategy
Posted: Sat Oct 31, 2026 1:47 am
An EA that evaluates conditions on every tick behaves very differently from one that evaluates only when a new bar opens. The code might look nearly identical, but the strategy is not the same.
Tick-based logic reacts immediately. It also reacts to noise: a quick spike that reverses before the bar closes can trigger an entry that wouldn't exist on a closed-bar basis. Backtests that model every tick capture some of this, while backtests on bar open prices ignore it.
Bar-based logic is calmer and easier to test, but it enters late. On a one-minute chart, an entry at the start of the next bar can be 59 seconds behind the signal. For a scalper aiming for a few pips, that delay is a big share of the whole move.
A third option is evaluating on every tick but requiring a condition to persist for a set number of ticks or seconds. It filters noise without waiting for the bar.
An often missed point is that live behavior and backtested behavior can diverge here. The strategy tester generates ticks from bar data unless real tick data is supplied, and the sequence inside a bar is an approximation.
It means that a tick-based EA can look great in a backtest and fail in live trading, or the reverse, depending on how the test modeled the movement within each bar.
In the strategy tester, the "every tick" mode simulates intrabar movement from bar data, using an assumed pattern, which means tick-based logic is tested against synthetic ticks. The "open prices only" mode skips intrabar behavior altogether and is only valid for logic that acts on bar open.
Choosing the mode that matches the code is basic, yet many tests use the wrong one.
Which logic style has held up best in live trading, tick or bar?
Tick-based logic reacts immediately. It also reacts to noise: a quick spike that reverses before the bar closes can trigger an entry that wouldn't exist on a closed-bar basis. Backtests that model every tick capture some of this, while backtests on bar open prices ignore it.
Bar-based logic is calmer and easier to test, but it enters late. On a one-minute chart, an entry at the start of the next bar can be 59 seconds behind the signal. For a scalper aiming for a few pips, that delay is a big share of the whole move.
A third option is evaluating on every tick but requiring a condition to persist for a set number of ticks or seconds. It filters noise without waiting for the bar.
An often missed point is that live behavior and backtested behavior can diverge here. The strategy tester generates ticks from bar data unless real tick data is supplied, and the sequence inside a bar is an approximation.
It means that a tick-based EA can look great in a backtest and fail in live trading, or the reverse, depending on how the test modeled the movement within each bar.
In the strategy tester, the "every tick" mode simulates intrabar movement from bar data, using an assumed pattern, which means tick-based logic is tested against synthetic ticks. The "open prices only" mode skips intrabar behavior altogether and is only valid for logic that acts on bar open.
Choosing the mode that matches the code is basic, yet many tests use the wrong one.
Which logic style has held up best in live trading, tick or bar?