OPEN-SOURCE SCRIPT
Cập nhật 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.
Phát hành các Ghi chú
⚙️ 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.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
HK-Uk Hoiliday Trader, Short-term programme trade, Forex-Commodities-Crypto, 2005-2023
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
HK-Uk Hoiliday Trader, Short-term programme trade, Forex-Commodities-Crypto, 2005-2023
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.