A single-instrument multi-timeframe strategy must use Calculate.OnEachTick to access data from any BarsArray Bar[0] before the close of the Bar (How to structure Multi-Time Frame Strategy).
I understand a Strategy with Calculate.OnEachTick is tested via Market Replay (Historical) to simulate live market conditions. State (i.e. .Historical & .Realtime etc) simulate live market as expected.
Can a referenced Indicator differentiate between Market Replay and live market?
For example, a Strategy can use the below. Indicators can not access Account.
if (Account.Name == "Playback101") //do something
Comment