OPEN-SOURCE SCRIPT

SALEH MACD Donchian + EMA & MACD + ADX

I gathered all the signals coming from the MACD & Donchian channels indicators and filtered them with EMA 200 or ADX > 25 indicators (which both of them show the trend),
and put them on the chart to show me the buy and sell signals;
the signals rules are as following:
BUY:
when we have an uptrend ( the price is above the EMA 200 or ADX > 25 ) & the macd line cross up the signal line while they are both under the 0 level of histogram it generates buy signals.
SELL:
when we have a downtrend ( the price is below the EMA 200 or ADX > 25) & the macd line cross below the signal line while they are both above the 0 level of histogram it generates sell signals.

Donchian channel works as a confirmation for the macd signal.

this signals work best at London session, you can also filter them by chandelier exit indicator.
Average Directional Index (ADX)Donchian Channels (DC)Moving Average Convergence / Divergence (MACD)

Script de código aberto

No verdadeiro espírito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam compreendê-lo e analisá-lo. Parabéns ao autor! Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Quer usar esse script no gráfico?

Aviso legal