OPEN-SOURCE SCRIPT
CM_MacD_Ult_MTF_crosses

CM MACD Ultimate MTF is a technical indicator based on the classic MACD with several visual enhancements:
What it does:
Calculates the standard MACD (fast EMA - slow EMA) and its signal line (SMA of MACD)
Allows using the current chart timeframe or selecting a different one (multi-timeframe)
Visual elements:
MACD Line — changes color (green/red) based on whether it's above or below the signal line
Signal Line — always yellow
Histogram with 4 colors:
Aqua → rising above zero
Blue → falling but still above zero
Red → falling below zero
Maroon → rising but still below zero
Dots/circles at MACD/Signal crossovers, with the custom filter applied:
Green dot only when a bullish cross occurs while MACD is below zero
Red dot only when a bearish cross occurs while MACD is above zero
Cross filter logic:
The filtered crosses highlight higher-quality signals — a bullish crossover is more meaningful when MACD is still in negative territory (recovering momentum), and vice versa for bearish crosses.
What it does:
Calculates the standard MACD (fast EMA - slow EMA) and its signal line (SMA of MACD)
Allows using the current chart timeframe or selecting a different one (multi-timeframe)
Visual elements:
MACD Line — changes color (green/red) based on whether it's above or below the signal line
Signal Line — always yellow
Histogram with 4 colors:
Aqua → rising above zero
Blue → falling but still above zero
Red → falling below zero
Maroon → rising but still below zero
Dots/circles at MACD/Signal crossovers, with the custom filter applied:
Green dot only when a bullish cross occurs while MACD is below zero
Red dot only when a bearish cross occurs while MACD is above zero
Cross filter logic:
The filtered crosses highlight higher-quality signals — a bullish crossover is more meaningful when MACD is still in negative territory (recovering momentum), and vice versa for bearish crosses.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.