OPEN-SOURCE SCRIPT
CM_MACD_Ult_MTF + Entry Signals

This script is an enhanced and updated version of the classic CM_Ult_MacD_MTF originally created by ChrisMoody.
It preserves the full functionality, look, and behavior of the original multi-timeframe MACD, including:
Multi-timeframe MACD calculation
4-color histogram based on momentum direction
Optional MACD and Signal line display
Optional crossover dots
Color-changing MACD line on signal cross
Zero-line reference
This upgraded version adds entry signals based on MACD/Signal crossovers:
New Features Added
LONG @ price label when MACD crosses above Signal
SHORT @ price label when MACD crosses below Signal
Labels appear directly at the crossover point
Full support for Pine Script® v6, making it compatible with TradingView’s latest publishing requirements
Why this version?
The original script was written in an older Pine version and was no longer publishable.
This version keeps the full visual identity and logic of the classic MACD while adding modern compatibility and helpful trading signals.
Credits
Original concept and visual framework: ChrisMoody
Added features, Pine v6 migration, and enhancements: tgambinox
It preserves the full functionality, look, and behavior of the original multi-timeframe MACD, including:
Multi-timeframe MACD calculation
4-color histogram based on momentum direction
Optional MACD and Signal line display
Optional crossover dots
Color-changing MACD line on signal cross
Zero-line reference
This upgraded version adds entry signals based on MACD/Signal crossovers:
New Features Added
LONG @ price label when MACD crosses above Signal
SHORT @ price label when MACD crosses below Signal
Labels appear directly at the crossover point
Full support for Pine Script® v6, making it compatible with TradingView’s latest publishing requirements
Why this version?
The original script was written in an older Pine version and was no longer publishable.
This version keeps the full visual identity and logic of the classic MACD while adding modern compatibility and helpful trading signals.
Credits
Original concept and visual framework: ChrisMoody
Added features, Pine v6 migration, and enhancements: tgambinox
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.