Bollinger Bands - How to set Decimal place for Deviation Parameter??

Created at 24 Jul 2014, 23:46
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!
EM

emeeder

Joined 06.05.2014 Blocked

Bollinger Bands - How to set Decimal place for Deviation Parameter??
24 Jul 2014, 23:46


I am using Bollinger bands in my cbot, but i can not get it to accept the deviation parameter with a decimal place.

only 1, 2, 3...etc.   I want to use 1.5 or something with 1 decimal place.

The indicator allows this when added to the chart, but when i use it in the cbot, it doesn't except decimals.

How can I fix this??

Thanks


Replies

modarkat
05 Aug 2014, 14:41

You can pass decimal values to Bollinger Bands indicator:

Indicators.BollingerBands(MarketSeries.Close, 14, 1.5, MovingAverageType.Simple);

 


@modarkat

modarkat
05 Aug 2014, 14:41

You can pass decimal values to Bollinger Bands indicator:

Indicators.BollingerBands(MarketSeries.Close, 14, 1.5, MovingAverageType.Simple);

 


@modarkat

emeeder
20 Aug 2014, 19:22

Thanks a lot for the help. :)