XAGUSD Smackdown Detector + 10min Early Warning [v2]

642
The new early warning system uses 5 independent conditions with confluence scoring:
Condition 1 — Volatility Squeeze: Detects when Bollinger Band width compresses to the lowest 20th percentile of its recent range while price is at highs. This catches that "tight consolidation" pattern you described — institutions holding price in a narrow range while distributing.
Condition 2 — Lower Highs Detection: Uses pivot highs to identify 2+ successive lower pivot highs within the last ~40 bars. This is your descending triangle / distribution pattern where they sell into each rally attempt.
Condition 3 — Volume Divergence: Compares the 5-bar average volume against the 30-bar peak. When volume drops 20%+ from its recent peak while price stays at highs, it means retail buying is drying up and the bid is thinning.
Condition 4 — RSI Bearish Divergence: Price near its recent high but RSI at least 8% below its own recent peak. Classic momentum divergence before breaks.
Condition 5 — Bearish Candle (Trigger): Bearish engulfing or shooting star rejection candle. This is the "trigger" that confirms distribution is turning into active selling.
The gate: Price must be within 0.5% of the recent high — none of this fires in the middle of a range.
Conservative = 3/5 conditions must align. This keeps false positives low. The label shows you exactly which conditions triggered (SQZ, LH, VOL↓, RSI÷, BEAR) so you can judge the quality. Color codes from purple (2) → orange (3) → red (4-5) for intensity.
The info table in the top-right corner shows you the live radar status on every bar — you can see conditions building up before they reach confluence, giving you that extra mental preparation time.
On 15-minute candles, the squeeze + lower highs conditions typically activate 1-3 candles (15-45 min) before the breakdown candle, and the bearish candle trigger fires on the setup candle itself — giving you that 10-15 minute window you wanted.

Declinazione di responsabilità

Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.