BollingerBands implementation
Created at 02 Nov 2017, 07:45
TR
BollingerBands implementation
02 Nov 2017, 07:45
Hi cAlgo/cTrader team,
I recently observed that your bollinger bands indicator can move out of sync of what i would have understood otherwise.
I mean i expected BB to move in parallel by basic defintions ..something like below
- Middle Band = 20-day simple moving average (SMA)
- Upper Band = 20-day SMA + (20-day standard deviation of price x 2)
- Lower Band = 20-day SMA – (20-day standard deviation of price x 2)
But your implementation can give Upper Band moving lower while Lower Band moving higher or flat at times. Can you please explain why it should happen. I am not questioning but trying to understand how are you calculating upper and lower bands
trend_meanreversion
02 Nov 2017, 08:28 ( Updated at: 21 Dec 2023, 09:20 )
RE:
trend_meanreversion said:
Sorry ignore it..what a stupid question !! ...need some sleep :)
@trend_meanreversion