isWeekly()

eSignal EFS

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;

}

 

isDWM()

isDaily()

isInSession()

isIntraday()

isMonthly()

isTick()

isRawTick()