Spread filters: the cheapest improvement most bots lack
Posted: Tue Oct 27, 2026 7:15 am
A strategy designed with a one-pip spread in mind quietly bleeds when the spread hits four. A spread filter fixes that with a single condition: no new trades if the current spread exceeds a threshold.
Choosing the threshold takes some thought. A fixed number, like 1.5 pips, is simple but crude. A relative threshold, like twice the median spread for that hour, adapts to normal variation between sessions. A cost-to-target ratio is smarter still: skip any trade where the spread exceeds a set percentage of the profit target, such as 20%.
Where to read the spread matters too. The value at the moment of the signal is the relevant one, not an average from a minute ago.
A backtest with realistic variable spreads shows what the filter costs in missed trades and what it saves in avoided losses. In many cases, the net effect is clearly positive, with a modest drop in trade count.
Does a spread filter run on the strategy, and how was the threshold chosen?
Choosing the threshold takes some thought. A fixed number, like 1.5 pips, is simple but crude. A relative threshold, like twice the median spread for that hour, adapts to normal variation between sessions. A cost-to-target ratio is smarter still: skip any trade where the spread exceeds a set percentage of the profit target, such as 20%.
Where to read the spread matters too. The value at the moment of the signal is the relevant one, not an average from a minute ago.
A backtest with realistic variable spreads shows what the filter costs in missed trades and what it saves in avoided losses. In many cases, the net effect is clearly positive, with a modest drop in trade count.
Does a spread filter run on the strategy, and how was the threshold chosen?