I a creating many classes which delegate calculations for my indicator. Each of these classes process logic by having a "TickTock" method that is called by the OnBarUpdate() event.
I notice sometimes that my indicator doesn't paint consistently unless I do a reload all historical data.
So, I was wondering if I should be calling the Update() method in these classes or not.
I tried to do this in the object, by passing a cast Indicator into the object. Then at the end of the TickTock method, I would call Indicator.Update(). But i need the signature Update (int idx, int bip). In the help, these paramaters are not mentioned.
Anyways, I am not sure if i am following the right path, to try to call the Update method, but regardless, I cant seem to figure out how to call it in a class.
Any suggestions are appreciated.
Thank you in advance.
Comment