Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, Imhotep), 567 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Market closed on friday at 17 UTC? #479412
03/27/20 18:11
03/27/20 18:11
Joined: Sep 2018
Posts: 29
K
kerplunk1899 Offline OP
Newbie
kerplunk1899  Offline OP
Newbie
K

Joined: Sep 2018
Posts: 29
Hi guys,
I'm encountering an unexpected behaviour (at least for me) in the last hours...
I'm trying to test live on demo accounts one of my strategies...but zorro tells me the market is Closed (I can see it in the Status box, below the login).
Even though the prices in the status box change, the bars don't get generated.

I have tried on two different MT4 plaforms where I'm used to connect zorro to.
I can see the price moving on both the plaform and I am also able to open trades directly on the MT4s.

I tried to printf markte(UTC,0) and it actually equals to false.
EndMarket prints 1600, so I thought the market closes each days at 16:00 and would make sense.
But the day before I traded with no problem at late evening... so... I really don't understand.
Also I tried to set StartMarket = EndMarket = 0 (as explained in the manual) to remove the end of the market but it didn't help.

I thought to the weekend issue, but the variable shows 52000... so..?


Can you please help me to understand what is happening?
Thanks you so much!

Re: Market closed on friday at 17 UTC? [Re: kerplunk1899] #479413
03/27/20 18:19
03/27/20 18:19
Joined: Sep 2018
Posts: 29
K
kerplunk1899 Offline OP
Newbie
kerplunk1899  Offline OP
Newbie
K

Joined: Sep 2018
Posts: 29
Could it be an issue related to the time of my computer?
The status box shows 01.19...

Re: Market closed on friday at 17 UTC? [Re: kerplunk1899] #479415
03/27/20 19:17
03/27/20 19:17
Joined: Sep 2018
Posts: 29
K
kerplunk1899 Offline OP
Newbie
kerplunk1899  Offline OP
Newbie
K

Joined: Sep 2018
Posts: 29
Printing ldow(UTC,0) shows "6". So for zorro it's saturday already. This explains it all.
But the clock of windows is set on the UCT time (right now it's 7.16 PM)... how is this happening??
Thanks again

Re: Market closed on friday at 17 UTC? [Re: kerplunk1899] #479416
03/27/20 19:45
03/27/20 19:45
Joined: Feb 2017
Posts: 1,718
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,718
Chicago
Try NOW instead of 0

Re: Market closed on friday at 17 UTC? [Re: kerplunk1899] #479417
03/27/20 21:02
03/27/20 21:02
Joined: Sep 2018
Posts: 29
K
kerplunk1899 Offline OP
Newbie
kerplunk1899  Offline OP
Newbie
K

Joined: Sep 2018
Posts: 29
Still 6

Re: Market closed on friday at 17 UTC? [Re: kerplunk1899] #479418
03/27/20 21:03
03/27/20 21:03
Joined: Feb 2017
Posts: 1,718
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,718
Chicago
Source code?

Re: Market closed on friday at 17 UTC? [Re: kerplunk1899] #479420
03/27/20 21:45
03/27/20 21:45
Joined: Sep 2018
Posts: 29
K
kerplunk1899 Offline OP
Newbie
kerplunk1899  Offline OP
Newbie
K

Joined: Sep 2018
Posts: 29
Well it happens with ANY strategy... even with the "original" ones.
So I'm guessing it's not a matter of code...(I have traded just fine only this morning).
Plus now the markets are closed for real.
Let's see how it goes on monday... and next friday!

Don't you think this is about the clock?
[Linked Image]

Last edited by kerplunk1899; 03/27/20 21:47.
Re: Market closed on friday at 17 UTC? [Re: kerplunk1899] #479422
03/27/20 21:53
03/27/20 21:53
Joined: Sep 2018
Posts: 29
K
kerplunk1899 Offline OP
Newbie
kerplunk1899  Offline OP
Newbie
K

Joined: Sep 2018
Posts: 29
Maybe I understood.
On my (new) VPS the time zone of the windows clock was set on UTC-8.... BUT the time was set as if it was UTC... really weird...
I changed it manually and now zorro seem to show the right time.
Let's see next week.
Thanks for the support.

Re: Market closed on friday at 17 UTC? [Re: kerplunk1899] #479423
03/27/20 23:14
03/27/20 23:14
Joined: Sep 2018
Posts: 29
K
kerplunk1899 Offline OP
Newbie
kerplunk1899  Offline OP
Newbie
K

Joined: Sep 2018
Posts: 29
I tried with crypto... whose market is open... but still I get "Closed" and no bars generated... I'm giving up eek

Re: Market closed on friday at 17 UTC? [Re: kerplunk1899] #479424
03/27/20 23:30
03/27/20 23:30
Joined: Feb 2017
Posts: 1,718
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,718
Chicago
This website tells you if your clock is off:
https://time.is/

Also, print all kinds of info about the time. year, month, day, hour, minutes, seconds. Do it both in UTC and your local time zone. Strictly check NOW and not bar zero.


Moderated by  Petra 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1