OPEN-SOURCE SCRIPT
已更新 Composite Momentum System

⚙️ Composite Momentum System — RSI + CCI + Momentum + MFI + (DI·ADX) × MACD² (4-Color Smoothed Signal)
This advanced indicator fuses multiple momentum, volume, and trend components into one unified oscillator, dynamically visualized around a zero line. It helps traders identify powerful directional moves, trend reversals, and momentum exhaustion far earlier than traditional MACD or RSI alone.
🧩 Core Formula
Composite = ((RSI + CCI + Momentum + MFI) + (((DI− × −1) + DI+) × ADX)) × (MACD²)
RSI – captures relative strength and short-term momentum
CCI – measures deviation from price mean (volatility & cycles)
Momentum – shows raw velocity of price change
MFI – volume-weighted momentum, adds money flow confirmation
DI / ADX – directional strength and market trend intensity
MACD² – amplifies strong momentum moves and filters weak noise
🌈 Visual Design & Features
Zero-Centered Histogram:
Green = Bullish momentum, Red = Bearish momentum
MACD Signal Line (4 Colors):
🟢 Positive & Rising → strong up momentum
🟡 Positive & Falling → weakening uptrend
🔴 Negative & Falling → strong downtrend
🟠 Negative & Rising → possible bearish fade or reversal
Adjustable Signal Smoothing:
Choose MA type (SMA, EMA, RMA, WMA, VWMA) and custom smoothing length for cleaner visualization.
ATR Normalization:
Optional setting to keep MACD and composite values consistent across instruments.
Centering Options:
RSI and MFI can be centered (−50/+50) to balance oscillation around zero.
🎯 How to Use
Above 0: Bullish composite energy → favor long setups.
Below 0: Bearish composite energy → favor short setups.
Signal line color changes highlight momentum acceleration or slowdown.
Crosses through zero often precede major shifts or breakout moments.
⚡ Best Practice
Use this indicator as a momentum strength filter in confluence with price action or volume patterns.
Combine it with VWAP, higher-timeframe trend, or support/resistance zones for high-probability entries.
This advanced indicator fuses multiple momentum, volume, and trend components into one unified oscillator, dynamically visualized around a zero line. It helps traders identify powerful directional moves, trend reversals, and momentum exhaustion far earlier than traditional MACD or RSI alone.
🧩 Core Formula
Composite = ((RSI + CCI + Momentum + MFI) + (((DI− × −1) + DI+) × ADX)) × (MACD²)
RSI – captures relative strength and short-term momentum
CCI – measures deviation from price mean (volatility & cycles)
Momentum – shows raw velocity of price change
MFI – volume-weighted momentum, adds money flow confirmation
DI / ADX – directional strength and market trend intensity
MACD² – amplifies strong momentum moves and filters weak noise
🌈 Visual Design & Features
Zero-Centered Histogram:
Green = Bullish momentum, Red = Bearish momentum
MACD Signal Line (4 Colors):
🟢 Positive & Rising → strong up momentum
🟡 Positive & Falling → weakening uptrend
🔴 Negative & Falling → strong downtrend
🟠 Negative & Rising → possible bearish fade or reversal
Adjustable Signal Smoothing:
Choose MA type (SMA, EMA, RMA, WMA, VWMA) and custom smoothing length for cleaner visualization.
ATR Normalization:
Optional setting to keep MACD and composite values consistent across instruments.
Centering Options:
RSI and MFI can be centered (−50/+50) to balance oscillation around zero.
🎯 How to Use
Above 0: Bullish composite energy → favor long setups.
Below 0: Bearish composite energy → favor short setups.
Signal line color changes highlight momentum acceleration or slowdown.
Crosses through zero often precede major shifts or breakout moments.
⚡ Best Practice
Use this indicator as a momentum strength filter in confluence with price action or volume patterns.
Combine it with VWAP, higher-timeframe trend, or support/resistance zones for high-probability entries.
版本注释
⚙️ Composite Momentum System — RSI + CCI + Momentum + MFI + (DI·ADX) × MACD² (4-Color Smoothed Signal)A unified momentum-trend oscillator combining RSI, CCI, Momentum, MFI, DI, ADX, and squared MACD, dynamically plotted around zero.
📚 Attribution:
This script uses the volatility-normalized MACD (MACD ÷ ATR) idea originally proposed by Alex Spiroglou in “MACD-v: Volatility Normalised Momentum” (2015 concept, 2022 publication).
Alex Spiroglou received both the NAAIM Founders Award (2022) and the CMT Association Charles H. Dow Award (2022) for this research.
No original code was reused — only the conceptual normalization technique is acknowledged.
💡 How to Use:
Positive values → bullish composite momentum.
Negative values → bearish composite momentum.
Signal-line color shifts indicate acceleration or weakening of momentum.
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
HK-Uk Hoiliday Trader, Short-term programme trade, Forex-Commodities-Crypto, 2005-2023
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
HK-Uk Hoiliday Trader, Short-term programme trade, Forex-Commodities-Crypto, 2005-2023
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。