BollingerBands implementation

Created at 02 Nov 2017, 07:45
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
TR

trend_meanreversion

Joined 31.07.2014

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
Replies

trend_meanreversion
02 Nov 2017, 08:28 ( Updated at: 21 Dec 2023, 09:20 )

RE:

trend_meanreversion said:

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

 

 

Sorry ignore it..what a stupid question !! ...need some sleep :)


@trend_meanreversion