I am trying, and kind of failing at it, to tell a script when data is live ticks rolling in instead of historical bar data when first loading.
I have tried isLastBarOnChart but obviously that is not sufficient.
Will BARSTATE_CURRENTBAR do the job? Is this only ever true off incoming TICK data and not historical bar data?
Thanks,
Mboy...
I have tried isLastBarOnChart but obviously that is not sufficient.
Will BARSTATE_CURRENTBAR do the job? Is this only ever true off incoming TICK data and not historical bar data?
Thanks,
Mboy...
Comment