Liquidity sweep reversal backtest

The rule being tested

A liquidity sweep is a candle that pokes beyond an obvious earlier swing high or low and then closes back inside the range. The idea is that stop orders sitting beyond that level get triggered, after which price reverses. This test takes the opposite side at the next open, with the stop just past the sweep.

Each swing can be swept only once, and a swing that price closes beyond is treated as broken and not used.

Everything else is the same as on the backtester page: no look-ahead, honest fills, assumed spread, one trade at a time, and a comparison with 500 random-entry runs. The tool above is pre-set to this rule, so you can change the instrument, target, trend filter and costs and see the result.

Results with the default settings

Across the 10 combinations, 2 had a positive average result after costs and the mean of the averages was -0.09 R per trade. Only 10 had 30 or more trades. Of those, the ones that beat at least 95% of random entries were: EUR/USD daily. With 10 fair tests, luck alone would give about 0.5 at that level. The best fair test was EUR/USD on the daily chart (0.36 R over 56 trades) and the weakest was Gold on the daily chart (-0.34 R over 43 trades).

Instrument Timeframe Trades Win rate Average R Profit factor Random entries, average R Beat random
EUR/USD Daily 56 46% 0.36 1.66 -0.06 99%
EUR/USD 4-hour 53 32% -0.12 0.84 -0.09 44%
GBP/USD Daily 55 33% -0.05 0.93 -0.07 50%
GBP/USD 4-hour 59 31% -0.15 0.79 -0.11 40%
USD/JPY Daily 46 37% 0.08 1.13 -0.05 70%
USD/JPY 4-hour 62 31% -0.17 0.78 -0.14 44%
Gold Daily 43 23% -0.34 0.58 -0.08 10%
Gold 4-hour 56 32% -0.08 0.88 -0.01 37%
Bitcoin Daily 57 28% -0.19 0.75 -0.07 24%
Bitcoin 4-hour 55 27% -0.22 0.71 -0.11 30%

* Fewer than 30 trades: too few to say anything. “Beat random” is the share of 500 random-entry runs the strategy out-scored. Defaults: 2R target, close after 40 bars, assumed spreads, one trade at a time.

How to read this

An average of 0 R means the rule neither made nor lost money after costs. The random-entry column shows what the same stops, targets and costs earn with no signal at all, and it is usually slightly negative because of the spread. A result only means something if it is clearly above that column on a decent number of trades, and holds up on data the rule was not tuned on. Check the concept in the lesson: liquidity sweep reversal lesson, and practise spotting it in the practice tool.

Frequently asked questions

Does the liquidity sweep reversal strategy work?

On this data, with these mechanical rules, the result is in the table above. 2 of 10 combinations were positive on average, and 1 of 10 fair tests beat 95% of random entries, about what chance would give. That is not evidence of a reliable edge.

Why are some rows marked as too few trades?

The 4-hour data covers only about a year, and strict rules fire rarely. With fewer than 30 trades the average is mostly luck.

Can I change the settings?

Yes, in the tool above. Be careful: the more settings you try, the more likely one looks good purely by chance.

Related: ICT strategy backtester, fair value gap statistics.

Educational content only, not financial advice. Trading involves substantial risk of loss. Read the full risk disclaimer.