Download MetaTrader 5

Libraries: TimeInRange time checking function

To add comments, please log in or register
Automated-Trading
Admin
100953
Automated-Trading 2016.09.29 17:09 

TimeInRange time checking function:

Fast time range checking function. Doesn't use slow string parsing.

if(TimeInRange(TimeCurrent(),23,00,02,15)) { /* trade */ } // checks if current time is in range 23:00-02:15

Author: Alexander Sinitsyn

To add comments, please log in or register