OPEN-SOURCE SCRIPT

StDev Bands

This is a "bands"-type indicator. It was developed out of my Sharpe Ratio indicator. It uses the standard deviation of returns as basis for drawing the bands. I'm going to update this indicator as the other indicator evolves. Please be sure you know how to calculate Sharpe Ratio and check out the Sharpe Ratio indicator as well. This will help you understand the purpose of this indicator a bit more.

As a very short introduction. Many investors use the standard deviation of returns as risk measurement. I admit the defaults of this indicator aren't perfect. Normally investors use the standard deviation over a 1 year period. Traditional finance uses 265 days, and because crypto never sleeps, we could use 365. I defaulted it to 20.
Bands and ChannelssharpestandarddevationStandard Deviation (Volatility)Volatility

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?


Also on:

Disclaimer