getInterval()

ICE Data Services -

getInterval()

 

getInterval()

 

Returns the interval of the symbol currently being charted.

 

Example:

 

var sInterval = getInterval();

if (sInterval == "D" ) {

 debugPrint( "This is a Daily chart.\n");

}

else if (sInterval == "1") {

 debugPrint("This is a one-minute chart\n");

}