You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
try this
but GMT of MQL is attached to the time of computer
if u have time local not correct u will have worrong GMT of MQL
That's true, but if your local time not correct, you will have other troubles.
You need to have your local time correctly synchronized anyway.
That's true, but if your local time not correct, you will have other troubles.
You need to have your local time correctly synchronized anyway.
Also.
What is the delay to get the GMT from Internet this way ?
How do you know you will not have a X seconds delay for example, are you checking that in your code ?
try this
yeah its work like a charm
thanks bro and GOD bless u inshallah
but how i can get value GMT directly
like that for exemple
string timeGMT = TimeToString(time_gmt,TIME_DATE|TIME_MINUTES|TIME_SECONDS);
Also.
What is the delay to get the GMT from Internet this way ?
How do you know you will not have a X seconds delay for example, are you checking that in your code ?
im trying to to test it
yeah its work like a charm
thanks bro and GOD bless u inshallah
but how i can get value GMT directly
like that for exemple
string timeGMT = TimeToString(time_gmt,TIME_DATE|TIME_MINUTES|TIME_SECONDS);
Yeah time_gmt has the value if you want to run comparisons and like you typed if you want to display
string timeGMT = TimeToString(time_gmt,TIME_DATE|TIME_MINUTES|TIME_SECONDS);
string timeGMT = TimeToString(time_gmt,TIME_DATE|TIME_MINUTES|TIME_SECONDS);
but i have error when i try to get the value coz i wana use it in the difference between TimeCurrent and GMTtime
string timeGMT = TimeToString(time_gmt,TIME_DATE|TIME_MINUTES|TIME_SECONDS);
no its wrok goood.. im sorry i have did mistake
thanks sir and GOD bless u inshalah