Download MetaTrader 5
To add comments, please log in or register
Sell your applications via the Market. It is secure!
Sherif Hasan
7222
Sherif Hasan 2015.05.16 17:07 

i really need to know :

How to find difference in hours between London Open or GMT and Broker Server time?

whroeder1
13597
whroeder1 2015.05.16 18:30  
  1. London opens 8AM London time but London time is NOT GMT. In the summer it's BST.  GMT has no DST.
  2. In windows 8 you can ask for London time given GMT. (In windows 7 you can only get current London time)
  3. int diff = TimeGMT() - TimeCurrent();  Does not work in tester mode, must use constant TZ different and adjust for Broker DST (if any.)
Sherif Hasan
7222
Sherif Hasan 2015.05.18 08:01  
datetime  GMT=TimeGMT();

I get following error:

'TimeGMT' - function is not defined

Is TimeGMT is standard function or must write custom function?

whroeder1
13597
/
To add comments, please log in or register