You might try isInSession()
"This function compares the current clock time to the start and end times of the eSignal Time Template that you have applied to your chart. It returns true if the current clock time is within the start and end times of your Time Template, otherwise it returns false. If you use a 24-hour Time Template, this function will always return true."
...seems far more elegant and flexible a solution.
"This function compares the current clock time to the start and end times of the eSignal Time Template that you have applied to your chart. It returns true if the current clock time is within the start and end times of your Time Template, otherwise it returns false. If you use a 24-hour Time Template, this function will always return true."
...seems far more elegant and flexible a solution.
Comment