This is on Replay data:
I have an indicator that uses FirstTickOfBar and is producing the correct results when run stand alone as an indicator.
When the indicator is linked into a Strategy and called from the strategy, the results are not correct. At times the FirstTickOfBar is testing true in the indicator when it should not be (i.e. intra bar).
Both the indicator and strategy are set CalculateOnBarClose = false;
One strange thing I noticed also, is that the Strategy CurrentBar is sometimes one behind the Indicator CurrentBar.
Please advise.
Thank you.

Comment