passing values from cBot to build in CCI / CommunityChannelIndex

Created at 15 Oct 2020, 13:28
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!
xabbu's avatar

xabbu

Joined 20.07.2020

passing values from cBot to build in CCI / CommunityChannelIndex
15 Oct 2020, 13:28


Hey Panagiotis,

me again... ;-)

The build in indicator has 2 values (Periods and Shift). I try to pass my setting within a cBot with

"_isExitIndicator = Indicators.CommodityChannelIndex(10);"

which is the value for Period. But when I try to add the value for the Shift, I get errors and it seams the indicator is only accepting ONE value - can you give support?

Kindest regards,

 


@xabbu
Replies

PanagiotisCharalampous
15 Oct 2020, 14:07

Hi xabbu,

Shift is not supported yet for the constructor of this indicator.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

xabbu
15 Oct 2020, 14:09

okay, good to know it was not my error, but would be great if their is a consistancy (build in indicator parameters can be accessed by cBots) - do you have an idea for a workaround until...?

 


@xabbu

PanagiotisCharalampous
15 Oct 2020, 14:10

Hi xabbu,

The workaround is to develop your own custom indicator.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous