getCurrentBarIndex()

ICE Data Services -

getCurrentBarIndex()

 

getCurrentBarIndex()

 

Returns the index of the bar currently being computed.

 

Example:

 

nBarIndex = getCurrentBarIndex();
if (nBarIndex != 0) return;