Dealing with time (2) functions – library MetaTrader 5
The version of DealingWithTime.mqh v. 1.01 of the article “Dealing with Time (Part 2): The Functions” (https://www.mql5.com/en/articles/9929) did not work any more because MQ changed the behavior of the CopyTime() function some time after this article was published. Now this function no longer returns future time values if they are greater than TimeCurrent() specified for … Read more