OPEN-SOURCE SCRIPT
Telah dikemas kini

London Pre-Session Sweep

142
London Pre-Session Sweep – XAUUSD

5m strategy for XAUUSD. Builds the Pre-London box (08:00–09:00 Berlin), waits for a sweep of box high or low, then enters on an Attempted Candle (green for long, red for short). SL = high/low of that candle, TP = 4R. Mon/Wed/Thu only, max 3 trades/day, no new trades after first win. DST-safe, no repaint.
Nota Keluaran

**London Pre-Session Sweep – XAUUSD**

5-minute strategy for XAUUSD based on the London pre-session range.

**Idea:** During the Pre-London window (08:00–09:00 Berlin) the strategy builds a box from the session high and low. In the trading windows (09:30–10:25 and 11:00–12:00 Berlin), it waits for price to sweep either the box high or the box low. The next candle must be an "Attempted Candle" – it has taken out liquidity but closes in the intended direction: green (close > open) for long, red (close < open) for short. Entry is at the close of that candle.

**Rules:** LONG = sweep of box low then green candle → long at close. SHORT = sweep of box high then red candle → short at close. Stop loss = high (short) or low (long) of the Attempted Candle. Take profit = fixed 4R. Trading days: Monday, Wednesday, Thursday. Max 3 trades per day; after the first winning trade, no further entries that day. No hedging; opposite direction only if the first trade of the day was a loss.

Logic is close-based only, no repaint or lookahead. Sessions use Europe/Berlin (DST-safe). Alerts output a single-line JSON with symbol, direction, entry, sl, tp, rr, session, and time.
Nota Keluaran

**London Pre-Session Sweep – XAUUSD**

5-minute strategy for XAUUSD based on the London pre-session range.

**Idea:** During the Pre-London window (08:00–09:00 Berlin) the strategy builds a box from the session high and low. In the trading windows (09:30–10:25 and 11:00–12:00 Berlin), it waits for price to sweep either the box high or the box low. The next candle must be an "Attempted Candle" – it has taken out liquidity but closes in the intended direction: green (close > open) for long, red (close < open) for short. Entry is at the close of that candle.

**Rules:** LONG = sweep of box low then green candle → long at close. SHORT = sweep of box high then red candle → short at close. Stop loss = high (short) or low (long) of the Attempted Candle. Take profit = fixed 4R. Trading days: Monday, Wednesday, Thursday. Max 3 trades per day; after the first winning trade, no further entries that day. No hedging; opposite direction only if the first trade of the day was a loss.

Logic is close-based only, no repaint or lookahead. Sessions use Europe/Berlin (DST-safe). Alerts output a single-line JSON with symbol, direction, entry, sl, tp, rr, session, and time.

Penafian

Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.