Time (Reserved Word)

image\trumpet2.gif Disclaimer

This reserved word returns a numeric expression representing the EasyLanguage time (HHMM format) of the closing price of the current bar.

Remarks

Time returns the time in 24-hour format.

Examples

Time returns 1600 if the Time of the bar is 4:00pm.

Time returns 0930 if the Time of the bar is 9:30am.

Additional Example

For example, you can write your strategy, analysis technique, or function such that it only evaluates the EasyLanguage instructions when the trade time is less than 11:00am:

If Time < 1100 Then
 
{ EasyLanguage instruction } ;