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.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.