I just made a simple indicator that looks almost exactly as ATR, it counts the time of candle formation in milliseconds, when I add it to normal range chart, it works just fine, but when I add it to charts with "Tick Replay" data checked, it doesn't load at all, what should I do please, I almost have copy/paste of ATR, but ATR works just fine in all chart types, and mine not, why ?
protected override void OnBarUpdate()
{
Value[0] = (Time[0] - Time[1]).TotalMilliseconds/1000;
}
but here on Tick Replay Chart it doesn't show anything at all, while ADX indicator for example is working just fine :
Please can you tell me what line of code is missing to let it be compatible with Tick Replay Charts ? Thank you

Comment