Sweep and Reclaim

Sweep and Reclaim is a strategy that trades XAUUSD on 20-tick range bars.

sequencerenko, heikin ashi, x-ray

sweep-and-reclaim.abx
1strategy "Sweep and Reclaim"
2market: XAUUSD
3bars: range(20)
4
5sequence grab within 25 bars:
6step sweep: low < lowest(low, 30)[1]
7step reclaim: close > sweep.high
8step retest: low <= reclaim.close and close > reclaim.close
9reset_if: close < sweep.low
10
11when grab.completed:
12buy risk: 1%, stop: grab.sweep.low - 3 points, target: 2.5R
Watch it run · XAUUSD · 1h bars
entrystoptargetexit

Sample data. Not a result. The real AlgoBarsX engine ran this exact script on made-up bars, and this replays what it drew and did. It shows no profit or loss, and it says nothing about how the script would do in a real market.

Replay of this script on 150 sample bars: 4 trades.

What this script says

Sweep and Reclaim is a strategy that trades XAUUSD on 20-tick range bars.

grab completes when these steps happen in order within 25 bars: sweep, when the low is below the previous bar's lowest low of the last 30 bars; then reclaim, when the close is above sweep.high; then retest, when the low is at or below reclaim.close and the close is above reclaim.close. It starts over if the close is below sweep.low.

When grab completes, it buys at market, risking 1% of the balance, with a stop at the low of the sweep step minus 3 points and with a target 2.5R from the entry.

Try this in the Terminal. AlgoBars is free: $0 a month, no card needed.

Create my free account