OPEN-SOURCE SCRIPT

Donchian Channels Strength

Updated
TL;DR - A different approach calculating strength based on Donchain channels

My approach calculating strength by using the difference between price and donchain average. It is possible to use the highest/lowest value of a given source (like close) or to use the highest high/lowest low (by using the option 'include wicks') for the strength calculation

I added multiple moving averages which can be used in the calculations incl. SMMA (RMA) which is used in RSI calculation and works best for me.

Usage is similar to RSI: DC Strength oscillates between 0 and 100. Low values (<20) indicate a bearish situation while high values (>80) indicate bullish ones. Center line (50) crossings can also indicate a possible trend change.

Release Notes

  • Added Alerts -> crossover/crossunder 50, entered/left overbought zone, entered/left oversold zone
  • Overbought and oversold zones can be set via the settings menu
Bands and ChannelsdcdonchaindonchianchannelOscillatorsRelative Strength Index (RSI)strength

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer