OPEN-SOURCE SCRIPT
Momentum Fusion Index: Dual-MTF RSI & MACD

[MFI] Momentum Fusion Index: Dual-MTF RSI & MACD
The Momentum Fusion Index (MFI) is a high-performance hybrid engine that merges the precision of RSI with the trend-following power of MACD into a unified, noise-filtered oscillator. This version introduces Dual-MTF (Multi-Timeframe) Logic, allowing traders to bridge the gap between short-term execution and long-term trend direction within a single indicator panel.
🚀 Key Features
* Dual-MTF Engine: Analyze two timeframes simultaneously. Stay on your execution chart (e.g., 5m or 15m) while monitoring the high-level momentum (e.g., 1H or 4H) on a secondary, non-intrusive line.
* Symmetrical Fusion Logic: Standard RSI (0–100) and MACD (unbounded) are mathematically transformed into a balanced -100 to +100 scale, providing a standardized environment for momentum analysis.
* Dynamic Normalization: The script utilizes a 200-bar Normalization Range to anchor the MACD within fixed boundaries, making it easy to identify historical extremes and exhaustion points.
* Directional Adaptive Coloring: The primary signal line changes color based on its trajectory. Bright Green signals accelerating bullish momentum, while Vibrant Red signals a momentum slowdown or bearish shift.
🧠 Mathematical Logic
The MFI operates by calculating the relative position of the MACD within its recent range and merging it with a centered RSI. This ensures that the oscillator doesn't just show if a trend is "up," but how much "power" is behind that move relative to both price history and oscillator strength. By fusing these two, it offsets the lagging nature of MACD with the leading characteristics of RSI.
🛠️ How to Use
1. Confluence Trading: Enable the Secondary Timeframe in settings. When both the Primary (thick) and Secondary (thin) lines align in the same direction above or below the Zero Line, you have a high-probability momentum setup.
2. The Zero-Line Pivot: Crosses above the Zero Balance Line mark bullish transitions, while crosses below mark bearish momentum shifts.
3. The Power Zones (±50): Momentum is considered "High Conviction" when the line sustains itself above +50 (Strong Bull) or below -50 (Strong Bear).
4. Momentum Exhaustion: When the Fusion line hits the ±100 Extremes, watch for price exhaustion and potential mean-reversion.
⚙️ Settings
* Primary Timeframe: Set the main calculation TF. Leave empty to auto-lock to your current chart.
* Secondary Timeframe (MTF 2): Toggle this on to overlay a second time-period (e.g., Daily) for macro trend confirmation.
* Fusion Core: Customize RSI periods and MACD EMA lengths to suit your specific asset.
* Smoothing: Adjust the Fusion Smoothing to filter out noise or increase responsiveness.
📌 Credits & Origins
This work is a synthesis of the foundational mathematics pioneered by J. Welles Wilder (RSI) and Gerald Appel (MACD). It is designed for traders who require a mathematically grounded, unified view of market strength.
Disclaimer: All indicators are probabilistic. The Momentum Fusion Index is a decision-support tool and does not guarantee profits. Always use stop-losses and follow your risk management plan.
The Momentum Fusion Index (MFI) is a high-performance hybrid engine that merges the precision of RSI with the trend-following power of MACD into a unified, noise-filtered oscillator. This version introduces Dual-MTF (Multi-Timeframe) Logic, allowing traders to bridge the gap between short-term execution and long-term trend direction within a single indicator panel.
🚀 Key Features
* Dual-MTF Engine: Analyze two timeframes simultaneously. Stay on your execution chart (e.g., 5m or 15m) while monitoring the high-level momentum (e.g., 1H or 4H) on a secondary, non-intrusive line.
* Symmetrical Fusion Logic: Standard RSI (0–100) and MACD (unbounded) are mathematically transformed into a balanced -100 to +100 scale, providing a standardized environment for momentum analysis.
* Dynamic Normalization: The script utilizes a 200-bar Normalization Range to anchor the MACD within fixed boundaries, making it easy to identify historical extremes and exhaustion points.
* Directional Adaptive Coloring: The primary signal line changes color based on its trajectory. Bright Green signals accelerating bullish momentum, while Vibrant Red signals a momentum slowdown or bearish shift.
🧠 Mathematical Logic
The MFI operates by calculating the relative position of the MACD within its recent range and merging it with a centered RSI. This ensures that the oscillator doesn't just show if a trend is "up," but how much "power" is behind that move relative to both price history and oscillator strength. By fusing these two, it offsets the lagging nature of MACD with the leading characteristics of RSI.
🛠️ How to Use
1. Confluence Trading: Enable the Secondary Timeframe in settings. When both the Primary (thick) and Secondary (thin) lines align in the same direction above or below the Zero Line, you have a high-probability momentum setup.
2. The Zero-Line Pivot: Crosses above the Zero Balance Line mark bullish transitions, while crosses below mark bearish momentum shifts.
3. The Power Zones (±50): Momentum is considered "High Conviction" when the line sustains itself above +50 (Strong Bull) or below -50 (Strong Bear).
4. Momentum Exhaustion: When the Fusion line hits the ±100 Extremes, watch for price exhaustion and potential mean-reversion.
⚙️ Settings
* Primary Timeframe: Set the main calculation TF. Leave empty to auto-lock to your current chart.
* Secondary Timeframe (MTF 2): Toggle this on to overlay a second time-period (e.g., Daily) for macro trend confirmation.
* Fusion Core: Customize RSI periods and MACD EMA lengths to suit your specific asset.
* Smoothing: Adjust the Fusion Smoothing to filter out noise or increase responsiveness.
📌 Credits & Origins
This work is a synthesis of the foundational mathematics pioneered by J. Welles Wilder (RSI) and Gerald Appel (MACD). It is designed for traders who require a mathematically grounded, unified view of market strength.
Disclaimer: All indicators are probabilistic. The Momentum Fusion Index is a decision-support tool and does not guarantee profits. Always use stop-losses and follow your risk management plan.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.