How to get the value of BollingerBand .Thanks

Created at 11 May 2020, 15:38
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!
LO

lordyy

Joined 24.03.2015

How to get the value of BollingerBand .Thanks
11 May 2020, 15:38


Hi,

How to get the value of BollingerBand,   on euruse , TimeFram.hour 

 Indicators.BollingerBands(Source, period, std, MAType);  Only one parameter Source.

Thanks 


cTrader Automate
@lordyy
Replies

PanagiotisCharalampous
11 May 2020, 16:00

Hi lordyy,

See bellow

 var bb = Indicators.BollingerBands(MarketData.GetBars(TimeFrame.Hour,Symbol.Name).ClosePrices, period, std,MAType);

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

lordyy
11 May 2020, 16:08

RE:

PanagiotisCharalampous said:

Hi lordyy,

See bellow

 var bb = Indicators.BollingerBands(MarketData.GetBars(TimeFrame.Hour,Symbol.Name).ClosePrices, period, std,MAType);

Best Regards,

Panagiotis 

Join us on Telegram

 

Thanks a lot 


@lordyy

lordyy
11 May 2020, 16:44 ( Updated at: 21 Dec 2023, 09:22 )

RE:

PanagiotisCharalampous said:

Hi lordyy,

See bellow

 var bb = Indicators.BollingerBands(MarketData.GetBars(TimeFrame.Hour,Symbol.Name).ClosePrices, period, std,MAType);

Best Regards,

Panagiotis 

Join us on Telegram

 

Thank you  PanagiotisCharalampous
I have another question . How to get the Bb value  bar0 bar1 bar2  .


@lordyy

PanagiotisCharalampous
11 May 2020, 16:56

Hi lordyy,

You need to use the Last() method. 

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

lordyy
11 May 2020, 19:39

RE:

PanagiotisCharalampous said:

Hi lordyy,

You need to use the Last() method. 

Best Regards,

Panagiotis 

Join us on Telegram

thanks :-)


@lordyy