MQL4 - automated forex trading   /  

Documentation

MQL4 Reference  Date & Time functions  Seconds

 
Use the opportunities of
MQL5 in MetaTrader 5
Study the new MQL5 language
Study the new MQL5 language.
Reference is already available
int Seconds( )
Returns the amount of seconds elapsed from the beginning of the current minute 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).
Sample:
  if(Seconds()<=15)
    return(0);