XAU_Scalper_Conservative (EMA 9/21/200 + VWAP + BOS + HTF)XAU_Scalper_Conservative — One‑Page Cheat Sheet
1) What you see on the chart
EMA 9 (teal): fast momentum line.
EMA 21 (orange): main pullback line (must be touched for entries by default).
EMA 200 (purple): trend filter; trade with its side and away from it.
VWAP (blue): intraday “fair value”; longs above / shorts below (if enabled).
Background tint: greenish in bull bias, reddish in bear bias (based on MA stack).
Signals on chart:
“L‑PB CONS / S‑PB CONS” — conservative long/short pullback signal.
“BOS UP / BOS DN” — Break of Structure (new HH/LL confirms trend continuation).
2) What is enabled by default (Conservative filters)
Structure/BOS mode: Only trade with the most recent BOS (up for longs, down for shorts) and only for a limited number of bars after it (default 40).
HTF filter (15m): Longs when HTF EMA50 > EMA200 and price above HTF EMA50; shorts vice versa.
EMA21 touch required: Pullback must reach EMA21 (no shallow touches at EMA9 only).
Candle confirmation: Default = prevHighBreak/prevLowBreak (close breaks prior bar’s high/low).
EMA21 slope filter: Trend must tilt (not flat).
Distance from EMA200: Price must be at least 0.06% away (avoid “fights” at 200).
VWAP filter: Longs above, shorts below VWAP.
Volume filter: Volume above MA × 1.4 (avoids weak breaks).
Session filter: Signals only during London 08:00–11:00 and NY 14:30–17:00 (your local time).
You can relax/tighten any of these from the indicator settings panel.
3) Where to look for entries (step‑by‑step)
Long (mirror for Short):
Context:
Price above EMA200, EMA9 > EMA21.
Last BOS UP is active (no newer BOS DN, and within BOS lookback).
HTF filter says bullish (15m EMA50 > EMA200, close > EMA50).
Wait for pullback:
Price pulls back to touch EMA21.
EMA21 is sloping up (slope filter passes).
VWAP OK (price above, if filter ON).
Volume OK (above threshold).
Trigger (confirmation):
The entry candle closes above prior bar’s high (default),
or choose Engulf/Pinbar mode in settings.
Signal:
You’ll see “L‑PB CONS” under the bar (or “S‑PB CONS” above for shorts).
4) How to place SL/TP (simple, mechanical)
Stop‑loss (SL):
Conservative: a few ticks beyond the last swing pivot created by the pullback.
Alternative: just beyond EMA21 if pivots are too tight on 2m.
Take‑profit (TP):
Fixed 1.2R–1.5R for scalps or the prior swing high/low.
Scale out partial at 1R, trail rest with EMA9 (fast) or last pivot (safer).
Tip: On gold, spreads and spikes can be tricky — give SL a little air beyond the pivot.
5) When to skip signals
EMA21 slope ~ flat or ADX low (you’ll often see few/no signals — that’s good).
Too close to EMA200 (filter blocks it by default).
VWAP magnet days (price whips around VWAP).
Just after big news — wait for impulse → pullback → confirmation.
6) Default settings that work well on XAUUSD (2m/5m)
BOS lookback: 30–50 bars.
EMA21 slope: length 6, min 0.03–0.05%.
Min distance from EMA200: 0.06–0.12%.
Volume factor: 1.3–1.6 (raise during quiet London, lower during NY impulse).
HTF: 15m (EMA50/EMA200).
7) Alerts (recommended)
CONSERVATIVE LONG Pullback 9/21 (BOS/HTF/Volume/ADX)
CONSERVATIVE SHORT Pullback 9/21 (BOS/HTF/Volume/ADX)
Set Once per bar close for cleaner signals. Use app/email/webhook as you prefer.
8) Quick troubleshooting
No signals? Loosen one thing at a time: first distance from EMA200, then volume factor, then slope/ADX. Keep BOS + HTF intact — they protect you.
Too many signals? Tighten slopeMinPct (e.g., 0.05%) or raise minAdx to 18, or enforce EMA21 touch (keep ON).
9) Workflow you can trust
Top‑down glance (HTF bias).
BOS active? Yes → proceed.
Wait for EMA21 touch → confirmation candle → alert.
Place SL beyond pivot/EMA21, TP 1.2–1.5R or swing target.
Manage: partial at 1R, trail via EMA9 or pivots.
Indikator Pine Script®






















