OPEN-SOURCE SCRIPT

River Styx

River Styx - Modified Donchian Channel with separate adjustments for upper and lower levels, with offset

Blue line = the highest price of the last 14 periods (resistance).
Red line = the lowest price of the last 14 periods (support).
Gray line = middle line between blue and red line.
Green line = exponential moving average of 2 periods of closing price.
Donchian Channels (DC)

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