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. קרא עוד בתנאים וההגבלות.