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!
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
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!
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.