isIntraday()
isIntraday( [interval] )
- Interval: Optional. Interval to be checked.
Returns true if the script is currently processing intraday data (e.g., the script is loaded into an intraday chart).
Example:
if ( isIntraday() ) {
debugPrint("Using Intraday data.\n");
return;
}