Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (NewbieZorro, TipmyPip, 1 invisible), 19,045 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 5 1 2 3 4 5
Re: Zorro 1.32 [Re: DdlV] #452312
06/09/15 08:27
06/09/15 08:27
Joined: Jul 2000
Posts: 28,024
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 28,024
Frankfurt
What do you mean with "sleep" - the weekend? Then I can not confirm it. Can you post the log?

Re: Zorro 1.32 [Re: jcl] #452322
06/09/15 12:59
06/09/15 12:59
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline
Serious User
DdlV  Offline
Serious User
D

Joined: Jun 2013
Posts: 1,609
By Sleep I mean StartOrb->Sleep.

Re. chart in Zorro Report page, it now appears - does it only show when a trade has been made, and not before?

The manual says the chart should include additional curves, but they are missing. How do I get them to appear on the chart?

Thanks.

Re: Zorro 1.32 [Re: DdlV] #452344
06/10/15 08:25
06/10/15 08:25
Joined: Jul 2000
Posts: 28,024
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 28,024
Frankfurt
The chart is printed once per day, but only when the system trades. You can add curves with the plot() command.

I can't comment on StartOrb, though.

Re: Zorro 1.32 [Re: jcl] #452352
06/10/15 13:00
06/10/15 13:00
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline
Serious User
DdlV  Offline
Serious User
D

Joined: Jun 2013
Posts: 1,609
Thanks jcl.

Yes, the chart appears to print and be updated (actually, more frequently than 1x/day) when there are trades.

However, it does not have additional curves on the price chart - only additional NEW charts below the price chart. Is the manual incomplete/inaccurate on this point? What needs to be done to have the additional curves on the price chart, same as during Test?

Re. the other issue, I wasn't asking you to comment on StartOrb - I was asking for help regarding why after loss of Internet connection (whether via Sleep (via StartOrb) or other Internet glitch) Zorro 1.32 appears unable to reconnect to FXCM, and the only way to reconnect seems to be closing Zorro, sometimes with crash, and restarting?

Thanks.

Re: Zorro 1.32 [Re: DdlV] #452355
06/10/15 13:22
06/10/15 13:22
Joined: Jul 2000
Posts: 28,024
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 28,024
Frankfurt
Yes, the chart is the same as during Test, at least the plot command makes no difference between test and trading. Maybe it's an issue of the order of your plot commands? Try a simple plot, like one line. If you can't get it to show, post the script and I'll look into it.


When you hibernate your PC, of course Zorro will lose the connection. So I don't think it's a good idea to put an active trading system to sleep. If it can properly reconnect on wake-up depends on how the broker API handles the situation - my guess is: no.

Re: Zorro 1.32 [Re: jcl] #452357
06/10/15 13:41
06/10/15 13:41
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline
Serious User
DdlV  Offline
Serious User
D

Joined: Jun 2013
Posts: 1,609
Thanks jcl.

Re. additional curves on price chart in Zorro Report, I will investigate further and try as you suggest over the coming days.

Re. sleep/hibernate/internet connection, this is Demo trading, so no worries re. real $$$. laugh The real issue wasn't losing the connection - that's expected. The real issue was the inability to reconnect automatically, and how "hard" Zorro's connection to the broker appears to become messed up in this situation. A Stop and Trade cycle doesn't work - Zorro still won't reconnect. Zorro must be exited, sometimes with a crash message, and restarted before able to reconnect. Prior Zorro versions have been able to reconnect.

Thanks.

Re: Zorro 1.32 [Re: DdlV] #452394
06/11/15 10:41
06/11/15 10:41
Joined: Jul 2000
Posts: 28,024
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 28,024
Frankfurt
Zorro always reconnects automatically when it loses the connection.

But for this it must first know of a lost connection. All broker APIs have a function for that. If this function says "still connected", Zorro won't reconnect. This can happen when the function returns a wrong value because it was not a real loss of connection, but resuming from a hibernation. It's also possible that the function return value is ok, but reconnecting doesn't work. Broker APIs are just not made for this - they have no safety mechanisms for resolving bizarre user actions, such as hibernating a trading PC.

So I can not tell you whether Zorro automatically reconnects after you've switched off the PC. It depends on the API behavior and has nothing to do with the Zorro version.

Re: Zorro 1.32 [Re: jcl] #452409
06/11/15 12:53
06/11/15 12:53
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline
Serious User
DdlV  Offline
Serious User
D

Joined: Jun 2013
Posts: 1,609
Thanks jcl.

Without reinstalling an old version I can't confirm my memory, so we'll leave that alone. Besides, the API could have changed since then...

However, Zorro is doing something. With the connection box red after resume, when I do the Stop/Trade cycles to try and get it going again Zorro is clearing the userid, password, and account boxes. I can sometimes reset them and get Trade going again; sometimes not. Admittedly, I haven't yet been rigorous about when/how the boxes are getting cleared, but it's happening...

Thanks.

EDIT:

Returning to the Zorro Report chart: It also does not plot when there are open trades resumed. Can it be changed to always plot, even if no trade has yet been opened in the current session?

Thanks.

EDIT#2:

Zorro Report chart also does not plot a resumed trade when it closes. I think I understand the issue with not being able to plot the entry point since it's likely off the chart, but shouldn't a partial line be plotted to the close?

Thanks.


Re: Zorro 1.32 [Re: DdlV] #452512
06/15/15 07:35
06/15/15 07:35
Joined: Jul 2000
Posts: 28,024
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 28,024
Frankfurt
Yes, I've uploaded a new version that plots a chart when trades are resumed from the previous session:

http://server.conitec.net/down/Zorro_1322.exe

The plotting of trades that are partially not on the chart is not possible with the current version - a trade must be on the chart for being plotted. This can be implemented in a future version of course.

Re: Zorro 1.32 [Re: jcl] #452517
06/15/15 11:57
06/15/15 11:57
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline
Serious User
DdlV  Offline
Serious User
D

Joined: Jun 2013
Posts: 1,609
Thanks jcl!

A bit more info on reconnecting: On Friday I had a successful reconnection after Sleep. Perhaps it's a timeout issue and I wasn't waiting long enough the other times? In any case, the clearing of the account fields did happen. If it occurs again I will try to narrow down symptoms.

Closing the loop re. other curves on the price chart: (Another) User error. frown I was looking for curves plotted in EXITRUN, which obviously wouldn't be there. I have changed the script to do the plotting by bar, and the curves now appear.

Thanks.

Page 2 of 5 1 2 3 4 5

Moderated by  Petra 

Gamestudio download | 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