
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
Check code
Result on a machine that has the same GMT as Alpari.
Checked
It shows everything correctly.
The check is not done correctly. Here's why:
The verification is not done correctly. And here's why:
If the previous post could be interpreted differently than what I meant, I apologise.
The result was obtained on your investor account at Alpari. Also the AMP server, where the offset is different, was checked.
If the previous post could be interpreted differently from what I meant, then I apologise.
The result was obtained on your Alpari investor account. Also the AMP server, where the offset is different, was also checked.
Really didn't understand if you checked on Alpari. If you checked, then point 1 is removed.
Back to point 2, what is the value of 2 in the code for? What is it for, if not to adjust to the current offset, which is exactly 2 hours? After all, anything before it will always and everywhere give 0. So there is no point in the expression:
no.
Managed to find a server which has a different GMT offset (New York).
On it the script finally goes crazy:
And it's no longer about the twos, as I assumed, but precisely about the complete artificiality of the chosen approach. After all, the minute history is turned upside down. We get completely differenttrading session times.
Who is interested to check, here is the account details:
Server name: BMFN-DemoCFD
Login: 33425755
Password: Invest111
.
Oh, you guys, you're a real piece of work.
I'll tell you a terrible secret, not every day can end at 11:59 p.m. :-) And we may not know in advance what time it will end. For example on pre-holidays and Fridays.
You should keep your secrets to yourself or something will happen in the night :-)
and read carefully what it says - gold opens on amsterdam. Find the opening of the gold, you get a time stamp.
Same with any non round-the-clock assets - they have a known timetable/time reference in advance. You can tie it to the Chicago indices, for taste and colour
Managed to find a server which has a different GMT offset (New York).
On it the script finally goes crazy:
And it's no longer about the twos, as I assumed, but precisely about the complete artificiality of the chosen approach. After all, the minute history is turned upside down. We get completely different trading session times.
Who is interested to check, here is the account details:
Server name: BMFN-DemoCFD
Login: 33425755
Password: Invest111
Checked it on this account. Everything shows up perfectly.
You should shut yourselves away from the dark secrets, or something will go wrong in the night :-)
and read carefully what is written - gold opens on amsterdam. You find the opening of the gold, you get a time stamp.
Same with any non round-the-clock assets - they have a known schedule/time reference in advance. You can link to the Chicago indices, for taste and colour.
OK, I'll ask a silly question.
How do you know if it's Saturday on the broker's server? It's not Friday or Sunday, it is Saturday. I try to use all available instruments and different crutches like "let's buy the time and compare it later" - time doesn't tick when it is Saturday on the broker's server. However, on Sunday the market may open earlier and notrading session settings at the broker will help you determine this because the time is not ticking.
If you have a sensible solution it will be interesting.
Broker time may not always coincide with gmt time :-)
You are thinking too narrowly now, not everyone has gold to be tied to his time and know the gmt for example like you suggested. You need a more universal solution.
If there are sensible solutions it would be interesting.
The solution was in the branch.
It works, tested on 3 different ones. Checked in mt5
This may not be what TC needs, but it may take something from her
I will check your function on Saturday.