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. اقرأ المزيد في شروط الاستخدام.