OPEN-SOURCE SCRIPT
Gold 5M Confirmation Scalper

Gold 5M Confirmation Scalper
Short description
A Gold-focused 5-minute indicator built around higher-timeframe trendline breaks, supply/demand structure confirmation, optional EMA filtering, and attached TP/SL projection boxes. Designed to help traders identify cleaner confirmation-based setups while reducing repeated signals inside an active trade window.
Full description
Gold 5M Confirmation Scalper is a discretionary confirmation indicator designed specifically for Gold / XAUUSD on the 5-minute chart.
The script combines:
15-minute trendline structure
5-minute confirmation timing
Supply and demand zone breaks
Optional EMA-based trend filtering
Projected TP / SL boxes
Suppression of repeated confirmation signals during an active trade window
The goal is to avoid noisy raw triggers and instead highlight moments where multiple pieces of structure align.
How it works
The indicator looks for a trendline break and then checks whether that move is confirmed by a nearby supply/demand break of structure within a user-defined confirmation window.
It shows:
Diamond markers for raw trendline breaks
Small “c” markers for confirmed signals
TP / SL boxes attached to the confirmation marker
Trendlines, supply/demand zones, and optional EMA context
Core logic
A confirmed setup requires alignment between:
a valid trendline break
a nearby structure break
optional trend filter agreement
optional volume filter agreement
To reduce clutter, the script can also block another confirmation signal from printing while the previous trade-box window is still active.
Built for
Gold / XAUUSD
5-minute timeframe
traders who prefer confirmation over first-touch entries
traders who want a cleaner chart with structure-based context
Main features
Gold-focused 5m workflow
Fixed higher-timeframe trendline logic
Supply and demand zone generation
Break-of-structure confirmation
Optional EMA trend filter with customizable EMA length
Optional visible EMA filter line
Attached stop-loss and take-profit boxes
Repeated confirmation suppression inside active trade window
Cleaner, reordered settings for easier use
Marker guide
Diamond = raw trendline break
“c” marker = confirmed setup
TP / SL boxes = projected trade map from the confirmation candle
Best use
This indicator works best when used as a confirmation tool, not as a standalone automated system. It is designed to help with chart structure, timing, and trade mapping, while leaving final execution and risk decisions to the trader.
Notes
Optimized for Gold on 5m
Uses a 15m structure view for trendline logic
Signals may differ from what looks obvious visually, because confirmation is based on the script’s actual supply/demand box and break rules.
EMA Zones have been given to help trade with the trend.
This is an indicator, not a strategy or backtest engine
Disclaimer
This script is for educational and charting purposes only. It does not provide financial advice, trade recommendations, or guaranteed results. Always test any tool in replay or on demo before using it in live markets.
Short description
A Gold-focused 5-minute indicator built around higher-timeframe trendline breaks, supply/demand structure confirmation, optional EMA filtering, and attached TP/SL projection boxes. Designed to help traders identify cleaner confirmation-based setups while reducing repeated signals inside an active trade window.
Full description
Gold 5M Confirmation Scalper is a discretionary confirmation indicator designed specifically for Gold / XAUUSD on the 5-minute chart.
The script combines:
15-minute trendline structure
5-minute confirmation timing
Supply and demand zone breaks
Optional EMA-based trend filtering
Projected TP / SL boxes
Suppression of repeated confirmation signals during an active trade window
The goal is to avoid noisy raw triggers and instead highlight moments where multiple pieces of structure align.
How it works
The indicator looks for a trendline break and then checks whether that move is confirmed by a nearby supply/demand break of structure within a user-defined confirmation window.
It shows:
Diamond markers for raw trendline breaks
Small “c” markers for confirmed signals
TP / SL boxes attached to the confirmation marker
Trendlines, supply/demand zones, and optional EMA context
Core logic
A confirmed setup requires alignment between:
a valid trendline break
a nearby structure break
optional trend filter agreement
optional volume filter agreement
To reduce clutter, the script can also block another confirmation signal from printing while the previous trade-box window is still active.
Built for
Gold / XAUUSD
5-minute timeframe
traders who prefer confirmation over first-touch entries
traders who want a cleaner chart with structure-based context
Main features
Gold-focused 5m workflow
Fixed higher-timeframe trendline logic
Supply and demand zone generation
Break-of-structure confirmation
Optional EMA trend filter with customizable EMA length
Optional visible EMA filter line
Attached stop-loss and take-profit boxes
Repeated confirmation suppression inside active trade window
Cleaner, reordered settings for easier use
Marker guide
Diamond = raw trendline break
“c” marker = confirmed setup
TP / SL boxes = projected trade map from the confirmation candle
Best use
This indicator works best when used as a confirmation tool, not as a standalone automated system. It is designed to help with chart structure, timing, and trade mapping, while leaving final execution and risk decisions to the trader.
Notes
Optimized for Gold on 5m
Uses a 15m structure view for trendline logic
Signals may differ from what looks obvious visually, because confirmation is based on the script’s actual supply/demand box and break rules.
EMA Zones have been given to help trade with the trend.
This is an indicator, not a strategy or backtest engine
Disclaimer
This script is for educational and charting purposes only. It does not provide financial advice, trade recommendations, or guaranteed results. Always test any tool in replay or on demo before using it in live markets.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.