OPEN-SOURCE SCRIPT
已更新

Bollinger Bands + 2 MA (Exponential)

3 588
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:
Bollinger Band Lathe


See more info about the bultin stdev here:
META: STDEV Study (Scripting Exercise)
版本注释
Updating to apply a scale factor while calculating the bollinger mean and deviation to increase precision with tiny cryptocurrency exchange rates.

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。