sclark39

Bollinger Bands + 2 MA (Exponential)

sclark39 Updated   
Basic Bollinger Bands implementation, with the option to use an exponential moving average and a more accurate stdev function than the builtin. This also includes two extra MA lines which can be tuned as you like, to reduce the number of indicators needed (the bollinger basis is also a moving average, so in total you get 3MA out of this indicator). This draws an inner/outer envelope which can be tuned, by default it is set to 1-2STDEV.

This uses the same same improvement to stdev as my other bollinger indicator:

See more info about the bultin stdev here:
Release Notes:
Updating to apply a scale factor while calculating the bollinger mean and deviation to increase precision with tiny cryptocurrency exchange rates.

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 a publication is governed by House Rules. You can favorite it to use it on a chart.

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.

Want to use this script on a chart?