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.
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。