OPEN-SOURCE SCRIPT

Bollinger Band Lathe

已更新
Bollinger Bands shown with a horizontal basis, to make it easier to see how volatility is changing and identify squeeze opportunities.

There is a histogram (purple) which shows how the basis is changing, and a price line (yellow) showing the location of the price within the bollinger bands.

It is tuned to 2 STDEV, but shows the area within 1 STDEV a different color to help visualize when the price is near the extremes of the bands.

By default this uses an exponential moving average to calculate the bollinger basis, but this can be changed in the options.

版本注释
Made it so the inner bollinger envelope multiple can be modified, and added an optional alternate calculation for stdev which uses the two-pass algorithm which I believe is more accurate than the builtin. Default options are to enable the custom stdev implementation and use EMA for the bollinger basis.
版本注释
Updating to apply a scale factor while calculating the bollinger mean and deviation to increase precision with tiny cryptocurrency exchange rates.
Bollinger Bands (BB)Centered Oscillators

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?


更多:

免责声明