OPEN-SOURCE SCRIPT
Donchian Channel + 200 MA Trading Indicator

This indicator combines the Donchian Channel with a 200-period moving average to identify strong trending opportunities with momentum confirmation.
Signal Interpretation:
🟢 Green Triangle (Bullish Signal)
Appears when price breaks above the upper channel AND is trading above the 200 MA
Indicates strong bullish momentum
Suggests potential long entry opportunity
🔴 Red Triangle (Bearish Signal)
Appears when price breaks below the lower channel AND is trading below the 200 MA
Indicates strong bearish momentum
Suggests potential short entry opportunity
Trading Style:
Designed for right-side entry (trend-following after confirmation)
The 200 MA filter helps avoid false signals by ensuring alignment with the broader trend
Best suited for swing trading and capturing sustained moves
Key Components:
Green Upper Band: Resistance/breakout level
Red Lower Band: Support/breakdown level
Orange Line: 200-period moving average (trend filter)
Blue Middle Line: Channel midpoint (optional display)
Signal Interpretation:
🟢 Green Triangle (Bullish Signal)
Appears when price breaks above the upper channel AND is trading above the 200 MA
Indicates strong bullish momentum
Suggests potential long entry opportunity
🔴 Red Triangle (Bearish Signal)
Appears when price breaks below the lower channel AND is trading below the 200 MA
Indicates strong bearish momentum
Suggests potential short entry opportunity
Trading Style:
Designed for right-side entry (trend-following after confirmation)
The 200 MA filter helps avoid false signals by ensuring alignment with the broader trend
Best suited for swing trading and capturing sustained moves
Key Components:
Green Upper Band: Resistance/breakout level
Red Lower Band: Support/breakdown level
Orange Line: 200-period moving average (trend filter)
Blue Middle Line: Channel midpoint (optional display)
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.