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
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.