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...
Script protetto
Questo script è pubblicato con codice protetto, ma puoi comunque usarlo gratuitamente. Mettendolo tra i preferiti potrai applicarlo al grafico, senza però la possibilità di visualizzare o modificare il codice sorgente.
Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.

Vuoi usare questo script sui tuoi grafici?