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)
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.