Calculate method is not executed from backtesting mode

Created at 24 May 2015, 22: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!

Calculate method is not executed from backtesting mode
24 May 2015, 22:38


Hello all!

So, my question in subject. When I'm run my indicator in debug mode, I'm notice that only Initialize method executed and never Calculate(int index), why?

I'm using  my indicator together with my own robot. And when I'm start debugging robot I'm wait that Calculate method must be executed.

Thank you.


@Максим_Коваленко
Replies

Spotware
12 Jun 2015, 17:52

Dear Trader,

Please note that we calculate Indicators on demand. If you do not access IndicatorDataSeries from the cBot the Calculate() method will not be invoked. 


@Spotware