OPEN-SOURCE SCRIPT
XAU Clear EMA ATR Strategy TP SL Voice V6

XAU Clear EMA ATR Strategy TP SL Voice is a strategy designed for XAU/USD. It uses two EMA moving averages to identify market direction and ATR volatility to calculate clear Stop Loss and Take Profit levels.
BUY signals appear when price confirms a move back above the fast EMA while the fast EMA is above the slow EMA, showing bullish market conditions.
SELL signals appear when price confirms a move back below the fast EMA while the fast EMA is below the slow EMA, showing bearish market conditions.
The Stop Loss is calculated using ATR, making it adaptive to current volatility. The strategy includes five Take Profit levels:
TP1 STRONG and TP2 STRONG: higher-probability targets.
TP3 GOOD: trend continuation target.
TP4 and TP5 AGGRESSIVE: extended targets for stronger market moves.
The chart clearly displays:
BUY ENTRY / SELL ENTRY
STOP LOSS
TP1, TP2, TP3, TP4 and TP5
The script also includes TradingView-ready voice alert messages for BUY and SELL signals.
Example Screenshots:
Example 1: BUY Setup
The chart shows a confirmed BUY ENTRY after price moves above the fast EMA in a bullish trend. The blue line marks the entry, the red line marks Stop Loss, and the green/yellow/orange lines show TP1 to TP5.
Example 2: SELL Setup
The chart shows a confirmed SELL ENTRY after price moves below the fast EMA in a bearish trend. The Stop Loss is placed above entry using ATR, while TP levels are projected below the entry.
Example 3: TP Levels
TP1 and TP2 are marked as STRONG targets, TP3 as a GOOD continuation target, and TP4/TP5 as AGGRESSIVE targets for stronger trend movement.
Recommended markets:
XAU/USD
Recommended timeframes:
5M, 15M, 30M
BUY signals appear when price confirms a move back above the fast EMA while the fast EMA is above the slow EMA, showing bullish market conditions.
SELL signals appear when price confirms a move back below the fast EMA while the fast EMA is below the slow EMA, showing bearish market conditions.
The Stop Loss is calculated using ATR, making it adaptive to current volatility. The strategy includes five Take Profit levels:
TP1 STRONG and TP2 STRONG: higher-probability targets.
TP3 GOOD: trend continuation target.
TP4 and TP5 AGGRESSIVE: extended targets for stronger market moves.
The chart clearly displays:
BUY ENTRY / SELL ENTRY
STOP LOSS
TP1, TP2, TP3, TP4 and TP5
The script also includes TradingView-ready voice alert messages for BUY and SELL signals.
Example Screenshots:
Example 1: BUY Setup
The chart shows a confirmed BUY ENTRY after price moves above the fast EMA in a bullish trend. The blue line marks the entry, the red line marks Stop Loss, and the green/yellow/orange lines show TP1 to TP5.
Example 2: SELL Setup
The chart shows a confirmed SELL ENTRY after price moves below the fast EMA in a bearish trend. The Stop Loss is placed above entry using ATR, while TP levels are projected below the entry.
Example 3: TP Levels
TP1 and TP2 are marked as STRONG targets, TP3 as a GOOD continuation target, and TP4/TP5 as AGGRESSIVE targets for stronger trend movement.
Recommended markets:
XAU/USD
Recommended timeframes:
5M, 15M, 30M
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.