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.
オープンソーススクリプト
TradingViewの精神に則り、この作者はスクリプトのソースコードを公開しているので、その内容を理解し検証することができます。作者に感謝です!無料でお使いいただけますが、このコードを投稿に再利用する際にはハウスルールに従うものとします。
免責事項
これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、この作者はスクリプトのソースコードを公開しているので、その内容を理解し検証することができます。作者に感謝です!無料でお使いいただけますが、このコードを投稿に再利用する際にはハウスルールに従うものとします。
免責事項
これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。