You have an indicator that can start plotting immediately.
So you put
BarsRequiredToPlot=0;
Bug:
But visual plotting does not start until 2nd bar (CurrentBar==1).
Oddly the correct value does show in Data Box for Bar index 0 (so its just a cosmetic bug in plot).
In NT7 using BarsRequired=0 visual plotting started as expected at first bar.
An example indicator might be called BarBodyMid with following code in OnBarUpdate
Value[0] = (Close[0]+Open[0])/2.0;
Comment