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.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.