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.
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.
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.