NigglesSquiggles

Stochastic Bollinger Bands

This indicator started off as a bit of an experiment, but it ended up looking quite useful.

It plots closing price (which can be changed) in relation to the bollinger bands upper and lower bands. This relationship is then run through a Stochastic function much like RSI is with StochasticRSI.
This plot line is smoothed with the K Smoothing value in the settings, and then this plot line is smoothed again with he D Smoothing value to give a signal line.
When the plot lines are outside the horizontal upper and lower limit lines, then this indicates that price is outside the bollinger bands. This can indicate entry and exit signals.

In the background, there is an area plotting a stochastic version of the Bollinger Band width. This would show periods of high and low volatility as it relates to previous volatility.
The stochastic length for the width is set to be very long (144 periods) in order to encapsulate a long range of values to compare to.

Default Settings:
==============
Source: The data point in which to compare to the upper and lower Bollinger Bands - set to close.
BB Length: The length in periods to generate the moving average used for the bands - set at 20 periods.
Mult: This is the multiplier used in the calculations for the bands - set at 2.

BB Width Stochastic Length: This is how far back it looks to compare the current width of the bands to previous widths - set at 144 periods..
BB Stochastic Length: This is how far back to compare closing price in relation to the bands - set at 14 periods..
K Smoothing: This is used to smooth the Stochastic Bollinger band value - set at 3 periods.
D Smoothing: This is a moving average of the smoothed K value in order to provide a signal line - set at 3 periods..
Moving Average Type: This allows you to use either a Simple moving average or an Exponential moving average - set for SMA.

------------------------------------------------------------------------------------------------
Kindest Regards

Created 2018 - by @Squiggles#8806
LTC Tip Jar: LX4bUBdjiRPsagUbZoAczSGgDC4YqTJL7w
Profit Trailer Feeder affiliate link: cryptoprofitbot.com/?ref=Squigg...
受保护脚本
该脚本是闭源发布的,您可以自由使用它。您可以收藏它以在图表上使用。您无法查看或修改其源代码。
免责声明

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

想在图表上使用此脚本?