getNumBars()

eSignal EFS

getNumBars()

 

getNumBars()

 

Returns the number of bars loaded in the current chart.

 

Example:

 

var n = getNumBars();

 

if (n<200) {

debugPrint("Not enough bars to process.\n");

return;

}