TradingSignalBot Get early access

Strategy template · early access

Liquidity sweep strategy, automated

Price runs through the previous day's high or low, then a 15-minute candle closes back inside the level: that close is the signal. The bot runs it on real candles, draws each signal and posts it to your Telegram channel, built with you in early access.

The most recent liquidity sweep signal on XAUUSD, drawn by the bot: buy at 4142.38
The most recent signal this template's code found on Gold (XAUUSD): a buy at 11:30 New York on Friday 2 October 2026, on real 15 min candles. Drawn by the bot.

What the liquidity sweep is

A liquidity sweep, often called a stop hunt, is a quick run through a level where many traders have left their stop losses, such as the previous day's high or low. Buy stops sit above a high and sell stops below a low, so the run through finds orders to trade against. If price then closes back inside the level, the move through it is read as a trap rather than a breakout.

The idea is taught across forex and gold trading under several names. The live bot's own setups are built on the same idea; how it works explains how. This template is the plain version: a level, a run through it, a close back.

The bot's rules

  1. The levels are the previous trading day's high and low, the day running 17:00 to 17:00 New York.
  2. Between 03:00 and 12:00 New York, a candle trades beyond a level: above the high sets up a sell, below the low a buy.
  3. If a 15-minute candle closes back inside the level within 4 candles of the first break (that candle included), the bot signals at that close. Otherwise the level is done for the day.
  4. Stop beyond the sweep's furthest price plus 0.1 × ATR(14). Targets at 1, 2, 3 times the stop distance. Each level once a day.

Which version. The previous-day version: the levels are yesterday's high and low, the sweep must come in the London or New York hours, and the close back must follow within four candles.

The settings

The defaults the example was found with. Each one is a setting, not a rewrite.

SettingDefaultWhat you can change
MarketXAUUSDGold or any of the seven US-dollar majors; other markets need a price feed first.
Candles15 minutesThe sweep and the close back are read on these.
Sweeps from03:00 New YorkThe start of the London hours.
Sweeps until12:00 New YorkThe end of the New York morning.
Close back within4 candlesCounted from the candle that first broke the level, that candle included.
Stop buffer0.1 × ATR(14)Added beyond the sweep's furthest price.
Targets1, 2, 3 × the stopOr the other side of the previous day's range.

The example, as the bot would post it

The signal in the chart above: found by the template's code on XAUUSD 15 min candles at . Its levels, and the message the bot would send with the chart:

  • Entry4142.38
  • Stop4131.88 · 10 pips
  • TP14152.87 · +10 pips
  • TP24163.37 · +21 pips
  • TP34173.87 · +31 pips
🟢 BUY XAUUSD · Liquidity sweep

Entry: 4142.38 (market)
Stop: 4131.88 (10 pips)
TP1: 4152.87 (+10 pips)
TP2: 4163.37 (+21 pips)
TP3: 4173.87 (+31 pips)

Previous day's low swept and the price closed back inside. Stop beyond the sweep; targets at 1, 2, 3 times the stop.

Not financial advice. Trade at your own risk.

The same signal in another of the bot's chart templates, Daylight, with a space for your logo:

The same liquidity sweep signal in the Daylight chart template

How often it fires

Signals the template's code found with the defaults over the last twelve months of candles. A count of signals, not of wins: we publish no results for templates.

Gold (XAUUSD)
7.3signals a month: 87 from 2025-10-23 to 2026-10-23
GBPUSD
9.1signals a month: 109 from 2025-10-23 to 2026-10-23

Automation, not an edge. A template does the work of watching the chart, finding the setup and posting it. It does not make the strategy win. Before it goes live in your channel we run it over past candles on your markets and show you every signal it would have sent, losses included, privately.

What can be changed

  • The rules: every setting above, and any filter or confirmation you can write down.
  • The markets: gold and the seven US-dollar majors, one or all of them.
  • The chart: your logo where the placeholder is, a chart template in your colours, and the marks your method uses.
  • The channels: every signal to a paid channel and a paced share to a free one, the way our own channels run.

Or bring a strategy that is not here: every template started as rules someone wrote down.

Questions

What is the difference between a liquidity sweep and a breakout?

Both start the same way, with a candle trading beyond a level. A breakout stays beyond it; a sweep comes back. This template waits for the close back inside the level, within four candles, and ignores a break that holds.

Why the previous day's high and low?

They are the levels most traders can see on any chart, so they are where stops gather. A trading day here runs from 17:00 to 17:00 New York. Other levels, such as the Asian range or a weekly high, are as easy to set.

Why is it shown on gold?

Gold moves through yesterday's high or low often, which makes it a common market for this idea. We make no claim about how it will do for you: run it on past candles and look at the losses as well as the wins.

Does the bot place trades?

No. It finds the setup, draws the chart, posts the signal to your Telegram channel and follows it with a reply at each target and at the stop. It does not connect to a broker or trade any account.

Can I change the rules?

Yes. Every setting in the table above is yours to change, and so is anything else that can be written down: a filter, a session, a second confirmation, a different stop. If a step is a judgement call, we work out with you how to write it as a rule.

Will it make money?

We do not say it will, for this template or any other. A template is automation, not an edge. Before it goes live we run it over past candles on your markets and show you every signal it would have sent, losses included, privately. How a strategy behaved on past candles is not what it will do.

Is it AI?

No. It follows the written rules on this page. The same candles always give the same signals.

Which markets and timeframes?

The seven US-dollar majors and gold today, on any timeframe from 5 minutes to daily. Other markets need a price feed for them first; ask us.

What does it cost?

Templates are in early access: built with you, for your channel, and priced before launch. Early-access members hear the price first. For a broker, prop firm or educator, write to us.

Other strategy templates

A opening range breakout signal on XAUUSD, drawn by the bot

XAUUSD · 5 min · 21 a month

Opening range breakout

The first 15 minutes after the New York open set a range; the first 5-minute close outside it is the signal.

A fair value gap signal on XAUUSD, drawn by the bot

XAUUSD · 15 min · 32 a month

Fair value gap

Three candles leave a gap that price skipped; the first candle to come back into it is the signal.

A order block signal on XAUUSD, drawn by the bot

XAUUSD · 15 min · 26 a month

Order block

A strong candle breaks the last swing high; the last down candle before it is the block, and the first return into it is the signal.

A ema crossover signal on XAUUSD, drawn by the bot

XAUUSD · 15 min · 47 a month

EMA crossover

The 9 EMA closes across the 21 EMA in the direction of the 200 EMA: a buy above it, a sell below it.

A supertrend signal on XAUUSD, drawn by the bot

XAUUSD · 1 hour · 11 a month

Supertrend

The Supertrend line (ATR 10 × 3) flips from above price to below it, or the other way: the candle that closes through it is the signal.

A london breakout signal on XAUUSD, drawn by the bot

XAUUSD · 15 min · 7 a month

London breakout

The Asian session sets a range; the first 15-minute close above its high or below its low after the London open is the signal.

A break and retest signal on XAUUSD, drawn by the bot

XAUUSD · 15 min · 25 a month

Break and retest

Price closes beyond a swing high or low, comes back to the level within twelve candles and closes on the broken side: that close is the signal.

A rsi divergence signal on XAUUSD, drawn by the bot

XAUUSD · 15 min · 13 a month

RSI divergence

Price makes a lower swing low while the RSI makes a higher one, the first in oversold territory: a buy once the second swing is confirmed. The mirror is a sell.

A macd crossover signal on XAUUSD, drawn by the bot

XAUUSD · 15 min · 30 a month

MACD crossover

The MACD line crosses its signal line below zero in an uptrend, or above zero in a downtrend, with price on the 200 EMA's side.

A silver bullet signal on XAUUSD, drawn by the bot

XAUUSD · 5 min · 12 a month

Silver bullet

A fair value gap forms in the 10:00 to 11:00 New York window; the first candle back into it before 11:00 is the signal.

A judas swing signal on XAUUSD, drawn by the bot

XAUUSD · 15 min · 16 a month

Judas swing

A candle runs through the Asian range early in London, then a 15-minute candle closes back inside it: that close is the signal.