Abbreviation: Time=X
Category: Time Flags
Input Parameters:
Name | Range | Default |
Date Variable | Date | |
X | any valid time | 12:00:00 PM |
Calculation:
If (Current Bar’s Time = X ) then True (1) otherwise False (0)
Warning: This indicator may not trigger for all frequencies. For example if X = 12:00:00 PM (noon) on a 20 minute chart, the indicator will never be true because the time increments go 7:30, 7:50, 8:10,’, 11:30, 11:50, 12:10,’ Thus there is no bar that will be equivelent to 12:00:00 PM. In order to correct this you may want to use a Time >= X, Time <=X, or X <= Time <= Y to provide a range of times.
Discussion:
Use this indicator to determine when a certain time has been reached. This indicator is especially useful in Trading Strategies where you may want to enter or exit at certain times of the day.