when the indicator starts and processes historical data, does it execute tick by tick during the historical state?
i did a test and it shows that it does not calculate historical data
protected override void Initialize()
{
Add(new Plot(Color.FromKnownColor(KnownColor.Orange), PlotStyle.Line, "Plot0"));
Overlay = false;
Add(PeriodType.Tick, 1);
CalculateOnBarClose = false;
}
/// <summary>
/// Called on each bar update event (incoming tick)
/// </summary>
protected override void OnBarUpdate()
{
// Use this method for calculating your indicator values. Assign a value to each
// plot below by replacing 'Close[0]' with your own formula.
if(BarsInProgress==0){
if(FirstTickOfBar)
{
myInput0=0;
}
Plot0.Set(myInput0);
}
if(BarsInProgress==0){
myInput0+=1;
}
}

Comment