DateIs

Top  Previous  Next

DateIs(date, year, month, day)

 

Parameters:

Date Variable = Date (cannot be changed)

Year = any reasonable year

Month = integers from 1 to 12

Day = integers from 1 to 31

 

Returns true on the bar with the specified date. On intraday charts, all bars on the specified date return true (1).

 

Warning:  The date you specify must actually include data for that date.  For example, the Find and Count Indicators won't work if the date falls on a weekend.

 

Note that AND2(DateIs(date, year, month, day),TimeIs(date, hour, minute, second, tolerance)) is possible.