isWeekly()

ICE Data Services -

isWeekly()

 

isWeekly( [Interval] )

 

  • Interval: Optional. Interval to be checked.

 

Returns true if the script is currently processing weekly bars (e.g., the script is loaded into a weekly chart ).

 

Example:

 

if ( isWeekly() ) {
debugPrint("Using Weekly data.\n");
return;
}

 

isInSession()

isIntraday()

isMonthly()

isTick()

isRawTick()