I had developed an Indicator wich one is make calculation in the OnMarketData method and I want to use this indicator in a strategy.
I tested with Prints the sequence and I recognized that the OnMarketData of the Strategy is called before the OnMarketData of the Indicator.
My problem is that if I want to make a decision about to enter on trade in the Strategy then actually I have to wait for one more tick.
If I move the Indicator's code to the Strategy then I can make the decision right after the calculation.
Can I change the sequence or force the Indicator to make the calculation before the Strategy?

Comment