Post subject: Can/does jforex platform cache calculate method's results?
Post rating: 0
Posted: Wed 13 Apr, 2011, 07:54
User rating: -
Hello Everyone
I am trying to move from MT4 to jforex, but something is confusing me.
It seems to me that the jforex platform requests the same results from my custom indicator's calculate method over and over. It requests the last (say) ~105 results every time a new tick comes in! Of course, if the indicator is processing intensive, then the unnecessary calculations slow down the whole platform.
Is there a way to avoid this? Or am I misunderstanding something? Any help would be greatly appreciated.
Thanks in advance
API Support
Post subject: Re: Can/does jforex platform cache calculate method's result
Post subject: Re: Can/does jforex platform cache calculate method's result
Post rating: 0
Posted: Mon 18 Apr, 2011, 10:19
User rating: -
Thank you for your reply. My indicator does not have an unstable period, and it has a constant short look-back. However, the problem mysteriously disappeared after my post. calculate is now called only for the last couple of candles. If it was a platform fix, then thank you!