MQL4 Reference Date and Time Minute

MQL4 Help as One File:

Minute

Returns the current minute (0,1,2,..59) of the last known server time by the moment of the program start.

int  Minute();

Returned value

Returns the current minute (0,1,2,..59) of the last known server time by the moment of the program start (this value will not change within the time of the program execution).

Note

At the testing, the last known server time is modelled.

Example:

  if(Minute()<=15)
    return("first quarter");