Represents the hour of each N bar loaded in the chart.
Syntax:
1 |
Hour[N] |
Example:
1 2 3 4 5 6 7 |
IF (Hour[1] = 9) THEN lasthourwasnine = 1 ELSE lasthourwasnine = 0 ENDIF RETURN lasthourwasnine |
Represents the hour of each N bar loaded in the chart.
Syntax:
1 |
Hour[N] |
Example:
1 2 3 4 5 6 7 |
IF (Hour[1] = 9) THEN lasthourwasnine = 1 ELSE lasthourwasnine = 0 ENDIF RETURN lasthourwasnine |