I denegrated Zorro a little here: http://www.stevehopwoodforex.com/phpBB3 ... 797#p63797 and JCL responded politely. So I'll continue the conversation here.
I tried Zorro on demo, starting around 28 May 14:00 GMT. I'm using the FXCM demo, and wanted to leave it run and do its thing and prove itself in forward testing before I bought the sponsor version.
I find that the client logs me out after a few hours, as below.
And then I find I cannot log back in until I restart Zorro. Atempting to connect again b pressing "Trade" causes this:
I blindly assume it's not a broker issue? I would have thought the client would stay connected, but just receive no ticks. It's also happened during market times, though I have no concrete details.
I am running it on Windows 7 (and recently updated and rebooted it), and with non-Administrator privileges.
JCL, any clues?
Zorro
-
idempotent
- Trader
- Posts: 83
- Joined: Thu May 24, 2012 1:36 pm
Re: Zorro
You do not have the required permissions to view the files attached to this post.
-
jcl
- Trader
- Posts: 82
- Joined: Wed Oct 31, 2012 8:04 am
- Location: Frankfurt / Germany
Re: Zorro
There's indeed something wrong, related to the server connection. It's not a FXCM issue - we have about 20 Zorros trading here with FXCM and they show nothing unusual today at 00:19 UTC. Also, other users had complained long since when the FXCM connection had broken down today morning.
First, make sure that the Zorro installation is ok - if in doubt, install it again in the same folder. Then start Zorro again, but with command line option -diag. You can give a command line option by starting Zorro from the command window or with a shortcut. Start trading, wait until something bad happens - connection breaks down, or a crash - then close Zorro. You'll find a text file "diag.txt" in the Log folder. Please post its content here - it will give some hints what happened.
First, make sure that the Zorro installation is ok - if in doubt, install it again in the same folder. Then start Zorro again, but with command line option -diag. You can give a command line option by starting Zorro from the command window or with a shortcut. Start trading, wait until something bad happens - connection breaks down, or a crash - then close Zorro. You'll find a text file "diag.txt" in the Log folder. Please post its content here - it will give some hints what happened.
-
jcl
- Trader
- Posts: 82
- Joined: Wed Oct 31, 2012 8:04 am
- Location: Frankfurt / Germany
Re: editor
Both features are connected, as the debugger who can compile and run code is part of the editor. When the features are ready is hard to tell, it depends on user demand. The more people request that on the user forum, the earlier it will be implemented. Although the debugger already exists, it's not a fast to implement feature because a large part of the Zorro core has to move from the Zorro window to the editor.hilavoku wrote:Hi jcl,
is there a way to check the syntax or compile the code within the editor itself? For example, can i bind some function keys to run zorro with the appropriate command line?
thx in advance
PS: When do you think there will be the debugging features be ready?
-
idempotent
- Trader
- Posts: 83
- Joined: Thu May 24, 2012 1:36 pm
Re: Zorro
Thanks, am running it in diagnostic mode now.jcl wrote:First, make sure that the Zorro installation is ok - if in doubt, install it again in the same folder. Then start Zorro again, but with command line option -diag. You can give a command line option by starting Zorro from the command window or with a shortcut. Start trading, wait until something bad happens - connection breaks down, or a crash - then close Zorro. You'll find a text file "diag.txt" in the Log folder. Please post its content here - it will give some hints what happened.
Is there a legitimate way to run both Z1 and Z2 on demo accounts at the same time? Your licensing terms seem to forbid it (though most other restrictions on demo are relaxed). It would speed up my forward testing if you were to allow this.
Thanks
-
idempotent
- Trader
- Posts: 83
- Joined: Thu May 24, 2012 1:36 pm
Re: Zorro
It logged me out again, but there is no diag.txt file in the Log directory, nor in the directory I ran it from. I am trying it again on a copy running on my Desktop folder, in case it's a file permission thing.jcl wrote:First, make sure that the Zorro installation is ok - if in doubt, install it again in the same folder. Then start Zorro again, but with command line option -diag. You can give a command line option by starting Zorro from the command window or with a shortcut. Start trading, wait until something bad happens - connection breaks down, or a crash - then close Zorro. You'll find a text file "diag.txt" in the Log folder. Please post its content here - it will give some hints what happened.
I don't need to run it as administrator do I (hope not!)
-
idempotent
- Trader
- Posts: 83
- Joined: Thu May 24, 2012 1:36 pm
Re: Zorro
OK, more info. I use a virtual desktop manager called Dexpot. I can have Zorro sitting off on one virtual desktop, and leave it there, while doing work on another desktop.idempotent wrote:It logged me out again, but there is no diag.txt file in the Log directory, nor in the directory I ran it from. I am trying it again on a copy running on my Desktop folder, in case it's a file permission thing.
I don't need to run it as administrator do I (hope not!)
It appears that Zorro doesn't like being unminimised and me switching away to another window. It now asks me if I want to close all trades, and it logs out. Restarting presents the same 'Crash in script' popup until I restart.
In I minimise before I switch away, it remains connected. Weird.
Maybe Dexpot sends some weird event to each present application as it switches away. Or maybe Zorro is hooked into something related to desktop events, and gets confused when I switch away.
JCL, any clues?
-
jcl
- Trader
- Posts: 82
- Joined: Wed Oct 31, 2012 8:04 am
- Location: Frankfurt / Germany
Re: Zorro
Zorro only asks to close all trades when the user manually clicks on the "Stop" button. It can not happen by unminimizing, unless something is seriously messed up. Maybe Dexpot hooks itself into the message loop or something like that. If Zorro won't run properly with Dexpot, other programs will most likely have the same problem.
I need the diag.txt for seeing which module crashed. If you succeeded to start the program with '-diag' command line option, you'll also get the message "diagnostics mode" at startup. Are you familiar with command line options? Otherwise I could describe the process step by step.
For determining if the problem is caused by Dexpot, can you run Zorro on your normal desktop?
I need the diag.txt for seeing which module crashed. If you succeeded to start the program with '-diag' command line option, you'll also get the message "diagnostics mode" at startup. Are you familiar with command line options? Otherwise I could describe the process step by step.
For determining if the problem is caused by Dexpot, can you run Zorro on your normal desktop?
-
idempotent
- Trader
- Posts: 83
- Joined: Thu May 24, 2012 1:36 pm
Re: Zorro
It's not a focus thing - it happens if I leave the focus on the Help button too. It also happens if the Zorro app is not in the foreground. Seems to happen simply if the window is unminimised, and in Trade mode.jcl wrote:Zorro only asks to close all trades when the user manually clicks on the "Stop" button
Sorry, I had it, but it looked uninteresting so I forgot about it. It's attached now.jcl wrote:I need the diag.txt for seeing which module crashed.
Seems to run OK.jcl wrote:For determining if the problem is caused by Dexpot, can you run Zorro on your normal desktop?
Another interesting symptom: when I switch away, and Zorro wants to close, it asks if I want to close all trades, but not if I want to stop trading, which happens when I press Stop. Also a Start after a normal Stop work, whereas I was getting the Crash in Script after a "Dexpot" incident.
Thanks for your attention. It's obviously a corner case, but I appreciate you looking into it.
You do not have the required permissions to view the files attached to this post.
-
jcl
- Trader
- Posts: 82
- Joined: Wed Oct 31, 2012 8:04 am
- Location: Frankfurt / Germany
Re: Zorro
Thanks for the diag file - and indeed, anything's normal, no crash or lost connection. The problem seems to be that something in Dexpot triggers the message queue or button events, which then causes all sorts of subsequent problems. I'll forward this to the developers and they probably will install a Dexpot copy and check what happens. Thanks for your help!
BTW, the question to stop trading only comes when you click [Stop], but not when Zorro closes - after closing it can not continue trading anyway.
BTW, the question to stop trading only comes when you click [Stop], but not when Zorro closes - after closing it can not continue trading anyway.
-
jcl
- Trader
- Posts: 82
- Joined: Wed Oct 31, 2012 8:04 am
- Location: Frankfurt / Germany
Re: Zorro
Again, a new version can be downloaded from the Zorro page. Zorro 1.12 got the following new features:
- Slippage is now recorded while live trading, and displayed in the performance report in total and per trade.
- The plotMAEGraph function can produce MAE distribution graphs and similar charts.
- The plotGraph function draws lines and polygons in a chart.
- The DOT type can be used for plotting a dotted curve.
- The Trail distance can now be negative for raising the stop loss on any bar regardless if the trade is in profit or not.
- Due to an internal loop optimization, trades are now entered faster, thus reducing slippage.
- The MUTE flag prevents playing sounds (in the case that Zorro trades from your bedroom).
- NumTotalCycles can be used to repeat a full simulation cycle many times.
- The pattern analyzer can now generate 'fuzzy pattesrns' with the FUZZY|PATTERN method.
- The pattern analyzer can now generate pattern finding functions in C that can be exported to other platforms.
- The equalF and eq functions have been added to the fuzzy logic set.
Here's an image of the latest Zorro version, attached to a Empty4 instance:

- Slippage is now recorded while live trading, and displayed in the performance report in total and per trade.
- The plotMAEGraph function can produce MAE distribution graphs and similar charts.
- The plotGraph function draws lines and polygons in a chart.
- The DOT type can be used for plotting a dotted curve.
- The Trail distance can now be negative for raising the stop loss on any bar regardless if the trade is in profit or not.
- Due to an internal loop optimization, trades are now entered faster, thus reducing slippage.
- The MUTE flag prevents playing sounds (in the case that Zorro trades from your bedroom).
- NumTotalCycles can be used to repeat a full simulation cycle many times.
- The pattern analyzer can now generate 'fuzzy pattesrns' with the FUZZY|PATTERN method.
- The pattern analyzer can now generate pattern finding functions in C that can be exported to other platforms.
- The equalF and eq functions have been added to the fuzzy logic set.
Here's an image of the latest Zorro version, attached to a Empty4 instance:
