OPEN-SOURCE SCRIPT
Updated

Standard deviation zones Support & Resistance [LM]

16943
Hi Guy,

I would like to introduce you Standard deviation zones Support & Resistance horizontals. It draws line horizontals on high and low st dev zone. The colors are dynamic depending whether price is below or above the line.

Credit is due to Zeiierman for st dev zone calculation so shout out to him.

There are various sections in setting:

general setting where you can select source for zone calculation
tops setting
bottom setting
show and hide section of the first timeframe
show and hide section of the second timeframe

Be aware that when new zone starts and is not finished yet than the top will trail the high of unfinished zone that could be also at the high of current candle and next candle it can change


Any suggestions are welcomed
Release Notes
Bug fix for high of the zone
Release Notes
fixing error with endIndex

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.