isDaily()
isDaily( [Interval] )
- Interval: Optional. Interval to be checked.
Returns true if the script is currently processing daily bars (e.g., the script is loaded into a daily chart).
Example:
if ( isDaily() ) {
debugPrint("Using Daily data.\n");
return;
}