Function to get Next Open Time and Closing Time for the market. – library MetaTrader 5

A Simple Call to this function will return the next Opening Time and Closing Time of the Asset, if no from time input it will search following the current Trade Server Time.

 Usage:

GetOpeningTimes(Open_Time, Close_Time, time); // where time is the from time

GetOpeningTimes(Open_Time, Close_Time); // searches from current time…

Enjoy…

    📈 ROBOTFX MetaTrader Expert Advisors and Indicators to maximize profits and minimize the risks