OPEN-SOURCE SCRIPT

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

65
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

  • 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 อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน