isLastBarOnChart()

ICE Data Services -

isLastBarOnChart()
Previous  Top  Next

isLastBarOnChart()
Returns true if the bar currently being processed is the last bar on the chart.

Parameters

none
this function has no input parameters


Usage

function main() { 

   ...
   ...

   
if ( isLastBarOnChart() == true ) {

      
//we are currently on the last bar in the chart so
      
//we can perform some action here

  }
}