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).
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.