OPEN-SOURCE SCRIPT

S and R (618-382)

This script is based on Donchian channels.
It uses tree periods, 17, 72 and 305. You can also change it to 72, 305 and 1292.
The indicator calculates the channel and the 618 and 382 levels inside the channel.
If the price is above the level 618 then a support line apears indicating it with a light color.
if the price is under the level 382 then a resistance line apears indicating it with a dark color.
the small channel is Lime / Green
the medium channel is Yellow / Orange
the big channel is Red / Maroon.
Above all light colors a trend up.
under all dark colors a trend down.
Bands and ChannelsPivot points and levelsTrend Analysis

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