What is the event method which is most frequently called inside an indicator?
I'm developing one which places orders and needs to be aware of their status. Currently I'm using OnBarUpdate() to check on the orders but depending on the instrument & data series settings it can take sometimes seconds until a bar receives an update. I'd like to avoid subscribing or providing callback methods to the orders directly regardless of whether this would be possible, because I have also have a broader, non order specific logic which however needs to be checked on whenever any open orders are updated.
For more context: I'm using Calculate = OnEachTick, but that's also only called whenever a bar receives an update, most of the time it being a price change.
This is probably something simple I'm just not aware about.
Comment