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