OPEN-SOURCE SCRIPT
15m-REMA Breakout [XAU + XAG] – Mus

Description
This indicator is designed to capture high-conviction breakout opportunities on gold (XAUUSD) and silver (XAGUSD) using a zero-lag Recursive EMA (REMA) as the trend backbone, combined with volatility and body-strength filters.
It is tuned for the 15-minute timeframe, where metals often show sharp moves after consolidation.
How it works
Signals
Inputs / Customisation
Best Practice
Alerts
Built-in alert conditions let you set automated notifications for bullish or bearish breakouts at bar close.
Disclaimer
This script is for educational purposes only. It does not constitute financial advice. Always test on demo before applying to live trading.
This indicator is designed to capture high-conviction breakout opportunities on gold (XAUUSD) and silver (XAGUSD) using a zero-lag Recursive EMA (REMA) as the trend backbone, combined with volatility and body-strength filters.
It is tuned for the 15-minute timeframe, where metals often show sharp moves after consolidation.
How it works
- Zero-Lag REMA → Smooth but responsive trend detection.
- ATR-based Breakout Filter → Confirms that price clears recent highs/lows with volatility support.
- Body Size & Buffer Rules → Blocks weak candles and fake breaks near range levels.
- Trend Filter (optional) → Only allows signals in the dominant REMA slope direction.
- De-duplication Logic → Avoids repeated signals on consecutive bars.
Signals
- Green ▲ (Bull Breakout): Candle breaks above recent range with strength.
- Red ▼ (Bear Breakout): Candle breaks below recent range with strength.
- Optional Pivots: Micro pivot highs/lows for additional context.
- REMA Line: Plotted in teal (uptrend) or orange (downtrend).
Inputs / Customisation
- REMA period & sensitivity.
- ATR lookback and multiplier.
- Minimum candle body (%).
- Buffer multiplier to reduce noise.
- Trend filter on/off.
- Toggle arrows & pivot markers.
Best Practice
- Apply on XAUUSD / XAGUSD, 15-minute charts.
- Use as a confirmation tool, not a standalone entry system.
- Combine with higher-timeframe bias or your own risk management.
Alerts
Built-in alert conditions let you set automated notifications for bullish or bearish breakouts at bar close.
Disclaimer
This script is for educational purposes only. It does not constitute financial advice. Always test on demo before applying to live trading.
Script open-source
Dans l'esprit de TradingView, le créateur de ce script l'a rendu open-source, afin que les traders puissent examiner et vérifier sa fonctionnalité. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit de TradingView, le créateur de ce script l'a rendu open-source, afin que les traders puissent examiner et vérifier sa fonctionnalité. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.