OPEN-SOURCE SCRIPT
AMD 5 MIN

Overview
This indicator is a specialized toolkit designed for XAUUSD (Gold) traders who utilize Smart Money Concepts (SMC). It automates the detection of high-probability reversal zones by identifying the "Judas Swing" (Manipulation) followed by a Change in State of Delivery (CISD).
Unlike standard "support/resistance" indicators, this script focuses on Liquidity Sweeps—where institutional orders are often triggered—before projecting Fibonacci-based Standard Deviation targets.
Key Features
Automatic Liquidity Sweep Detection: Marks "Manipulation" (M) when price impulsively breaches a previous Swing High or Low.
CISD (Change in State of Delivery): Confirms the shift in market character when price closes back within the previous range, signaling a potential reversal.
Dynamic Value Zones: Automatically plots Fair Value Gaps (FVG) and Order Blocks (OB) that form during the displacement move.
Rejection Candle Filter: Only triggers signals when price "wicks" into a zone and closes outside of it with a specific body-to-wick ratio, reducing "knife-catching" entries.
Institutional Targets: Uses Standard Deviation projections (-1, -2, -2.5) based on the manipulation range, providing objective Take Profit levels.
How to Trade This Script
Wait for the Sweep: Look for the yellow "M" label. This indicates price has taken out a swing level (Liquidity).
The Shift: Wait for a CISD (Blue/Red zones). This proves the "Smart Money" is active in the opposite direction.
The Entry: Enter on a LONG/SHORT signal. This occurs when price retraces into the FVG/OB and shows "Rejection" (a long wick).
The Exit: Scale out at the Standard Deviation targets projected on the right side of the chart.
⚠️ Brutal Disclaimer (The Advisor's Note)
Gold is a beast. This script is a tool, not a "money printer."
Avoid "Chop": Do not trade this during low-volume Asian sessions. It performs best during London and New York Open.
Context is King: Always align these lower-timeframe (1m/5m) signals with the Higher Timeframe (1H/4H) trend.
Risk: Always use a manual Stop Loss. XAUUSD can invalidate a "Perfect" OB in seconds during high-impact news (NFP/CPI).
Suggested Settings for XAUUSD
Swing Length: 10-15 (for 5m timeframe).
Rejection Factor: 0.3 (if you want more "strict" wicks) or 0.5 (for more frequent signals).
Min FVG Size: 0.5 - 1.0 points (to filter out tiny, insignificant gaps).
This indicator is a specialized toolkit designed for XAUUSD (Gold) traders who utilize Smart Money Concepts (SMC). It automates the detection of high-probability reversal zones by identifying the "Judas Swing" (Manipulation) followed by a Change in State of Delivery (CISD).
Unlike standard "support/resistance" indicators, this script focuses on Liquidity Sweeps—where institutional orders are often triggered—before projecting Fibonacci-based Standard Deviation targets.
Key Features
Automatic Liquidity Sweep Detection: Marks "Manipulation" (M) when price impulsively breaches a previous Swing High or Low.
CISD (Change in State of Delivery): Confirms the shift in market character when price closes back within the previous range, signaling a potential reversal.
Dynamic Value Zones: Automatically plots Fair Value Gaps (FVG) and Order Blocks (OB) that form during the displacement move.
Rejection Candle Filter: Only triggers signals when price "wicks" into a zone and closes outside of it with a specific body-to-wick ratio, reducing "knife-catching" entries.
Institutional Targets: Uses Standard Deviation projections (-1, -2, -2.5) based on the manipulation range, providing objective Take Profit levels.
How to Trade This Script
Wait for the Sweep: Look for the yellow "M" label. This indicates price has taken out a swing level (Liquidity).
The Shift: Wait for a CISD (Blue/Red zones). This proves the "Smart Money" is active in the opposite direction.
The Entry: Enter on a LONG/SHORT signal. This occurs when price retraces into the FVG/OB and shows "Rejection" (a long wick).
The Exit: Scale out at the Standard Deviation targets projected on the right side of the chart.
⚠️ Brutal Disclaimer (The Advisor's Note)
Gold is a beast. This script is a tool, not a "money printer."
Avoid "Chop": Do not trade this during low-volume Asian sessions. It performs best during London and New York Open.
Context is King: Always align these lower-timeframe (1m/5m) signals with the Higher Timeframe (1H/4H) trend.
Risk: Always use a manual Stop Loss. XAUUSD can invalidate a "Perfect" OB in seconds during high-impact news (NFP/CPI).
Suggested Settings for XAUUSD
Swing Length: 10-15 (for 5m timeframe).
Rejection Factor: 0.3 (if you want more "strict" wicks) or 0.5 (for more frequent signals).
Min FVG Size: 0.5 - 1.0 points (to filter out tiny, insignificant gaps).
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.