Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/18/24 10:45
StartWeek not working as it should
by Zheka. 04/18/24 10:11
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (1 invisible), 692 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, 11honza11, ccorrea, sakolin, rajesh7827
19046 Registered Users
Previous Thread
Next Thread
Print Thread
Rating: 5
Page 1 of 4 1 2 3 4
New Zorro version 2.15 #477469
07/01/19 07:48
07/01/19 07:48
Joined: Jul 2000
Posts: 27,978
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 27,978
Frankfurt
Zorro version 2.15 is now available:

http://opserver.de/down/Zorro_215.exe

This version will become the official release when no bugs are found in the next time. Zorro 2.15 features starting, stopping,and communicating with other Zorro instances, new IB order types, more flexible bar generation, and many more. The full list of new features can be found on http://manual.zorro-project.com/new.htm.

Please test everything and report any issues here!

Re: New Zorro version 2.15 [Re: jcl] #477486
07/02/19 06:02
07/02/19 06:02
Joined: Oct 2018
Posts: 90
Germanien
ags Offline
Junior Member
ags  Offline
Junior Member

Joined: Oct 2018
Posts: 90
Germanien
Hi jcl,

What is the recomended procedure to replace actualized Z strategies (Z7 & Z12) and parameters in a case like this where you have new features like BR_WEEKEND replacing WEEKEND so that you need the new 2.15 to run the Z strategies?

a. use the new Zorro 2.15 with new parameters NOW (in the case there are no such major changes you could use the new parameters with the old Zorro version).
b. whait till final release.

I guess you have tested Zorro 2.15 with the Z strategies already and found no bug, so a. wolud be safe. For other own developed strategies, final release is more obvious for me.

Re: New Zorro version 2.15 [Re: jcl] #477488
07/02/19 07:24
07/02/19 07:24
Joined: Jul 2000
Posts: 27,978
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 27,978
Frankfurt
You can use 2.15. It passed all tests so far. When a parameter is replaced, the old one is still supported for a long time. Don't use it for new systems, but old system should still work.

Re: New Zorro version 2.15 [Re: jcl] #477491
07/02/19 14:24
07/02/19 14:24
Joined: Oct 2018
Posts: 70
AZ
C
chsmac85 Offline
Junior Member
chsmac85  Offline
Junior Member
C

Joined: Oct 2018
Posts: 70
AZ
Hi JCL,
Now that the weekend parameter is gone from the editable z.ini file, how does one set the weekend parameter, now called the BarMode flag for the edit locked z systems?
For example, it appears that no bar will be created, but will my instance still be logged into the exchange server?
Previously, the system would log out and log back in once trading was ready. This was very useful as the exchange would periodically update their local servers creating log in issues when weekend flag was not properly set.

Re: New Zorro version 2.15 [Re: jcl] #477503
07/02/19 22:03
07/02/19 22:03
Joined: Oct 2018
Posts: 90
Germanien
ags Offline
Junior Member
ags  Offline
Junior Member

Joined: Oct 2018
Posts: 90
Germanien
Hi jcl,

apparently one file is missed. While testing Z7 i get following message:

Error 062: Can't open Z7_29.par (rt:2)
Error 044: Data\Z7_29.par not trained

and the test stops at February 2019.

Is it a missed file? ( Z7_29.par) Or do i have other issue with my setup?

Re: New Zorro version 2.15 [Re: jcl] #477506
07/03/19 09:36
07/03/19 09:36
Joined: Jul 2000
Posts: 27,978
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 27,978
Frankfurt
The Z systems have their own bar mode flags, so the weekend parameter is not needed anymore. Explicitly logging off is also not needed - this was required for the old FXCM API, but not anymore for the new one.

AFAIK there is no "Z7_29.par". Such error messages could be caused by mixing up new and old versions.

Re: New Zorro version 2.15 [Re: jcl] #477525
07/04/19 12:07
07/04/19 12:07
Joined: Feb 2017
Posts: 1,725
Chicago
AndrewAMD Offline
Serious User
AndrewAMD  Offline
Serious User

Joined: Feb 2017
Posts: 1,725
Chicago
The manual has an error.

On the bottom of this page is a link to callback():
https://zorro-trader.com/manual/en/hwnd.htm

But it's a bad link. I believe it should go here:
https://manual.zorro-project.com/tick.htm

Re: New Zorro version 2.15 [Re: jcl] #477531
07/04/19 15:00
07/04/19 15:00
Joined: Jul 2000
Posts: 27,978
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 27,978
Frankfurt
Thanks, you're right.

Re: New Zorro version 2.15 [Re: jcl] #477564
07/07/19 13:28
07/07/19 13:28
Joined: Oct 2018
Posts: 70
AZ
C
chsmac85 Offline
Junior Member
chsmac85  Offline
Junior Member
C

Joined: Oct 2018
Posts: 70
AZ
Originally Posted by jcl
The Z systems have their own bar mode flags, so the weekend parameter is not needed anymore. Explicitly logging off is also not needed - this was required for the old FXCM API, but not anymore for the new one.


Update on my question: Weekend here and my log is now spammed with "Service Unavailable. Please try again messages". As previously mentioned, this was solved by logging the system out and then back in. The other benefit was that sessions were guaranteed to re-authenticate which did not always happen under previous versions of zorro without weekend flag. I am using OANDA API

Re: New Zorro version 2.15 [Re: jcl] #477565
07/07/19 18:42
07/07/19 18:42
Joined: May 2015
Posts: 390
Czech Republic
G
Grat Offline
Senior Member
Grat  Offline
Senior Member
G

Joined: May 2015
Posts: 390
Czech Republic
[So,

time to time is a problem with *fac. Train mode not correct close the file.

Quote

..
Error 062: Can't open ai_dtree3_uni.fac (wt:13)


After close Zorro with net run is all OK

( sorry for czech )
[Linked Image]


Attached Files Screenshot_131.png
Last edited by Grat; 07/07/19 18:43.
Re: New Zorro version 2.15 [Re: jcl] #477569
07/08/19 06:29
07/08/19 06:29
Joined: Jul 2000
Posts: 27,978
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 27,978
Frankfurt
- Service unavailable: this message is suppressed, so you should normally not get it at all regardless of the logoff flag. Please contact Support with the log.

- Fac file locked: Did this also happen with earlier versions? Under which circumstances?

A new version 2.15.2 was uploaded to http://opserver.de/down/Zorro_215.exe. The heatmap bug was fixed in this version.

Re: New Zorro version 2.15 [Re: jcl] #477570
07/08/19 15:36
07/08/19 15:36
Joined: Oct 2018
Posts: 70
AZ
C
chsmac85 Offline
Junior Member
chsmac85  Offline
Junior Member
C

Joined: Oct 2018
Posts: 70
AZ
I just tried emailing support but the logfile was too large to attach. I copy and pasted logfile snippets and information for support

Re: New Zorro version 2.15 [Re: chsmac85] #477571
07/08/19 15:46
07/08/19 15:46
Joined: Feb 2017
Posts: 1,725
Chicago
AndrewAMD Offline
Serious User
AndrewAMD  Offline
Serious User

Joined: Feb 2017
Posts: 1,725
Chicago
Originally Posted by chsmac85
I just tried emailing support but the logfile was too large to attach. I copy and pasted logfile snippets and information for support

FYI, log files usually compress very well into zip files. Also, consider sharing large files via a service, such as Google Drive or Microsoft OneDrive.

Re: New Zorro version 2.15 [Re: AndrewAMD] #477576
07/09/19 20:34
07/09/19 20:34
Joined: Oct 2018
Posts: 70
AZ
C
chsmac85 Offline
Junior Member
chsmac85  Offline
Junior Member
C

Joined: Oct 2018
Posts: 70
AZ
Good suggestion Andrew!
For anyone's interest, support came back and issued a new Oanda DLL that will hopefully suppress the messages I'm receiving.

Re: New Zorro version 2.15 [Re: jcl] #477581
07/11/19 03:58
07/11/19 03:58
Joined: Mar 2017
Posts: 21
J
jyd Offline
Newbie
jyd  Offline
Newbie
J

Joined: Mar 2017
Posts: 21
Hi jcl,

I have just tried to test the Z12 with 2.15. However, this seems to become an S only feature? Is this a bug or intended change? I have also found out testing Z9 requiring S license.

Re: New Zorro version 2.15 [Re: jcl] #477583
07/11/19 07:26
07/11/19 07:26
Joined: Jul 2000
Posts: 27,978
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 27,978
Frankfurt
Yes, Z12 and Z9 run with Zorro S only. But you can test Z1 and Z2 - Z12 is a combination of them.

Re: New Zorro version 2.15 [Re: jcl] #477585
07/11/19 08:58
07/11/19 08:58
Joined: Oct 2018
Posts: 90
Germanien
ags Offline
Junior Member
ags  Offline
Junior Member

Joined: Oct 2018
Posts: 90
Germanien
Hi jcl,

about the new feature " Zorro instances can now start, stop, and communicate with each other."

I have two Zorros 2.15 trading in an AWS, a Z12 and my own script. I see that the seccond Zorro (my own script) starts trading and then seams to log-off, but the Trading Status page continues to deliver new updates every minute. So i understand the seccond Zorro gets price information from the first one, since they are both connected to the same broker, but different accounts (Dukascopy).

What hapens when one of the Zorro freezes or crashes? Any conflicts if BarPeriod are different? Guess not since it works.
What about placing orders? Will the seccond instance re-connect, place orders and then disconnect again? How does this works?

From the manual under "Integrating Zorro processes" i get very few infos on this. Is there any more detailed information on this feature?

A suggestion woud be to include another color on the Zorro indication square, green when connected, red when offline and another one to specific say it gets data from another Zorro. Otherwise, as in my case, if you look at the Zorro instances one of them seams to be disconnected. There is no error message but the square is red.



Last edited by ags; 07/11/19 09:00.
Re: New Zorro version 2.15 [Re: jcl] #477586
07/11/19 11:21
07/11/19 11:21
Joined: Jul 2000
Posts: 27,978
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 27,978
Frankfurt
By default the Zorros are not connected. For this you need code to establish the connection with the commands described in the manual. The minute update of the status page is a HTML effect.

Re: New Zorro version 2.15 [Re: jcl] #477588
07/11/19 13:50
07/11/19 13:50
Joined: Oct 2018
Posts: 90
Germanien
ags Offline
Junior Member
ags  Offline
Junior Member

Joined: Oct 2018
Posts: 90
Germanien
Indeed... after a while the square was green again and they are independently working as usual.

But, what was that period of time where one of the instances was disconected? hmm, will keep an eye on it and report any other issue/effect i can see.

12.07.2019: this was a behaviour related to the new BarMode, specifically BR_LEISURE in combination BR_SLEEP and BR_LOGOFF. In this way Zorro trades only between StartMarket and EndMarket which by default are 9:30 to 16:00 only, and i was looking outside these hours. My intention with the script is also to trade longer times, so i need to modify my script again.

Last edited by ags; 07/12/19 10:49.
Re: New Zorro version 2.15 [Re: jcl] #477603
07/14/19 11:48
07/14/19 11:48
Joined: May 2015
Posts: 390
Czech Republic
G
Grat Offline
Senior Member
Grat  Offline
Senior Member
G

Joined: May 2015
Posts: 390
Czech Republic
Problem with chart viewer:

begin with the 2.15.2 I have problem, I see not bottom of chart.
Code
    if (is(TRADEMODE)||is(TESTMODE)){
        plot("Long ", kL, NEW+LINE, BLUE);
        plot("Short ",kS, NEW+LINE, RED);
        plot("N1 ",n[_RSIF_DIF], NEW+LINE, RED);
        plot("N2 ",n[_RSIS_DIF], LINE, BLUE);
        plot("N3 ",n[_WIF_DIF], LINE, GREEN);
        plot("N4 ",n[_WIS_DIF], LINE, BLACK);
    }



note: repeat with workshop4.c

Attached Files Screenshot_145.pngScreenshot_146.png
Last edited by Grat; 07/14/19 12:03.
Re: New Zorro version 2.15 [Re: jcl] #477608
07/15/19 08:10
07/15/19 08:10
Joined: Jul 2000
Posts: 27,978
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 27,978
Frankfurt
Does it happen with a special script, or with all scripts? If with a special script, can you post it?

Re: New Zorro version 2.15 [Re: jcl] #477609
07/15/19 16:10
07/15/19 16:10
Joined: Jul 2019
Posts: 2
B
bjomu Offline
Guest
bjomu  Offline
Guest
B

Joined: Jul 2019
Posts: 2
It happens with any script, which plots an indicator or other data below the price curve. At least for me it does. An example script, as already said is Workshop 4.

Re: New Zorro version 2.15 [Re: bjomu] #477610
07/15/19 21:16
07/15/19 21:16
Joined: Sep 2017
Posts: 5
Peeyotch Offline
Newbie
Peeyotch  Offline
Newbie

Joined: Sep 2017
Posts: 5
I see the same behavior. Selecting Workshop4 and hitting "Test" results in a chart window with the MMI plot mostly cut off.

Re: New Zorro version 2.15 [Re: jcl] #477612
07/16/19 08:42
07/16/19 08:42
Joined: Jul 2000
Posts: 27,978
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 27,978
Frankfurt
Thanks, we'll look into that. It seems to happen only on some PCs.

Update: We found the problem. It should not happen with the latest version, 2.15.3. The download link:

http://opserver.de/down/Zorro_setup.exe

This is now the official release.

Last edited by jcl; 07/16/19 14:44.
Re: New Zorro version 2.15 [Re: jcl] #477619
07/16/19 18:44
07/16/19 18:44
Joined: Sep 2017
Posts: 5
Peeyotch Offline
Newbie
Peeyotch  Offline
Newbie

Joined: Sep 2017
Posts: 5
Looks like it's fixed for me. Thanks!

Re: New Zorro version 2.15 [Re: jcl] #477620
07/16/19 21:05
07/16/19 21:05
Joined: May 2015
Posts: 390
Czech Republic
G
Grat Offline
Senior Member
Grat  Offline
Senior Member
G

Joined: May 2015
Posts: 390
Czech Republic
So,

I dont know, if is a problem with 2.15 but:

Code
function run(){
  LookBack = 1;
  BarPeriod = 15;
  string cOutput=strf("\nUnix: %d TimeDate: %s  StrDate: %s",utm(wdate(0)),datetime(),strdate("%Y-%m-%d %H:%M", wdate(0)) );
  set(STEPWISE);
  printf(cOutput);
}


have output:
Code
Unix: 1563310862 TimeDate: 0000-00-00 00:00  StrDate: 2019-07-16 21:01
Test: test1 EUR/USD 2014..2019

[1: Thu 14-01-02 05:30] (1.37495)
Unix: 1388640599 TimeDate: 2014-01-02 05:30  StrDate: 2014-01-02 05:30
Error 047: No bars to plot
[2: Thu 14-01-02 05:45] (1.37528)
Unix: 1388641499 TimeDate: 2014-01-02 05:45  StrDate: 2014-01-02 05:45
[3: Thu 14-01-02 06:00] (1.37576)
Unix: 1388642399 TimeDate: 2014-01-02 06:00  StrDate: 2014-01-02 06:00
[4: Thu 14-01-02 06:15] (1.37547)
Unix: 1388643299 TimeDate: 2014-01-02 06:15  StrDate: 2014-01-02 06:15


unixtime is less by -1

workaround:
string cOutput=strf("\nUnix: %d TimeDate: %s StrDate: %s",utm(wdate(0))+1,datetime(),strdate("%Y-%m-%d %H:%M", wdate(0)) );


Last edited by Grat; 07/16/19 21:06.
Re: New Zorro version 2.15 [Re: jcl] #477621
07/17/19 12:21
07/17/19 12:21
Joined: Jul 2000
Posts: 27,978
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 27,978
Frankfurt
This is caused by data type conversion: DATE is a double float and the unix time is an integer. The correct fix would be rounding to the next full second:

utm(wdate(0)+0.5/(1440.*60.))

I've put a notice to the developers for doing that on the next occasion. It is not related to 2.15.

Re: New Zorro version 2.15 [Re: jcl] #477686
07/21/19 18:10
07/21/19 18:10
Joined: Jul 2019
Posts: 2
B
bjomu Offline
Guest
bjomu  Offline
Guest
B

Joined: Jul 2019
Posts: 2
What I do miss a little bit with 2.15 is the Zoom Out function in the Chart viewer of previous versions. Now I can always only click on "Total" to see the entire chart again. Makes navigating large charts more cumbersome.
I have attached two pictures to show the difference.
Are there any plans of allowing to gradually zoom out again in the future?

Attached Files chartviewer.pngchartviewer215.png
Re: New Zorro version 2.15 [Re: jcl] #477694
07/22/19 05:38
07/22/19 05:38
Joined: Jul 2000
Posts: 27,978
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 27,978
Frankfurt
Nothing has changed with zooming. Only the text on the button.

Re: New Zorro version 2.15 [Re: jcl] #477761
07/26/19 19:16
07/26/19 19:16
Joined: May 2015
Posts: 390
Czech Republic
G
Grat Offline
Senior Member
Grat  Offline
Senior Member
G

Joined: May 2015
Posts: 390
Czech Republic
edit: is OK, bug is not in Zorro but in my script frown

I have new problem with Zorro 2.15.0 S. If running on the WIN server 2012 I see this ( picture ). First instance is OK, but If start second and more is a very slow.

[Linked Image]



Attached Files Screenshot_170.png
Last edited by Grat; 08/02/19 14:55.
Re: New Zorro version 2.15 [Re: jcl] #477835
08/02/19 09:08
08/02/19 09:08
Joined: Oct 2018
Posts: 90
7
7th_zorro Offline
Junior Member
7th_zorro  Offline
Junior Member
7

Joined: Oct 2018
Posts: 90
plotWeek() function may have some problem.
Please check the attached file.

Attached Files 스크린샷 2019-08-02 오후 6.06.46.png
Re: New Zorro version 2.15 [Re: jcl] #477837
08/02/19 14:01
08/02/19 14:01
Joined: Jul 2000
Posts: 27,978
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 27,978
Frankfurt
What's the problem?

Re: New Zorro version 2.15 [Re: jcl] #477838
08/02/19 15:39
08/02/19 15:39
Joined: Oct 2018
Posts: 90
7
7th_zorro Offline
Junior Member
7th_zorro  Offline
Junior Member
7

Joined: Oct 2018
Posts: 90
I think blue bar need to be drawn first. Red bar interrupted by blue bar.

Re: New Zorro version 2.15 [Re: jcl] #477840
08/02/19 17:04
08/02/19 17:04
Joined: Jul 2000
Posts: 27,978
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 27,978
Frankfurt
That makes sense, but it's just the order of plot commands in the script - has nothing to do with 2.15.

I'll put a notice to the developers to draw the blue bars first.

Re: New Zorro version 2.15 [Re: jcl] #477852
08/05/19 08:01
08/05/19 08:01
Joined: May 2015
Posts: 390
Czech Republic
G
Grat Offline
Senior Member
Grat  Offline
Senior Member
G

Joined: May 2015
Posts: 390
Czech Republic
I this problem already send but still is on table. With Zorro 2.15.3 and win server 2012, I see in the "task manager" Zorro "not responding". I trying use lock() and unlock() but no change. If running only one instance, all is OK.


I found the same problem with older version:

https://opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=474020#Post474020

Attached Files Screenshot_3.pngScreenshot_4.png
Last edited by Grat; 08/05/19 08:10.
Re: New Zorro version 2.15 [Re: jcl] #477854
08/05/19 11:24
08/05/19 11:24
Joined: Jul 2000
Posts: 27,978
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 27,978
Frankfurt
There can be many reasons why two scripts lock each other or get nonresponsive. For instance by an infinite loop or when they write in the same file. Or the server has not enough resources. If you can't find the problem on your own, explain the details and post the script, but please in a different thread. This one is for Zorro 2.15 only.

Re: New Zorro version 2.15 [Re: jcl] #478863
01/02/20 18:22
01/02/20 18:22
Joined: Dec 2017
Posts: 14
V
vince Offline
Newbie
vince  Offline
Newbie
V

Joined: Dec 2017
Posts: 14
Hi jcl,

Originally Posted by jcl
The Z systems have their own bar mode flags, so the weekend parameter is not needed anymore.

With the weekend parameter we had two holidays included by default:
"December 25 and January 1 count as weekend. Other holidays are not automatically included, but can be taken account of in the script."
25.12. is also included in the new bar mode on Z strategies, but apparently the 1.1. is not...
Tested with Zorro 2.20.2:
Z2 tried to open several positions during New Year's Day and wanted to close one position here. After the market opened again at 23:00 it immediately closed that position under very bad conditions (huge spread due to just opened market). The positions it previously wanted to open on 1.1. it didn't try again after the market opened, though.
Is there any way to specify the holidays / marked closed periods for the Z strategies? Or is it just a bug in the bar mode flags or the usage in the Z strategies scrips that will be fixed in the future?
Thanks.

Re: New Zorro version 2.15 [Re: jcl] #478870
01/03/20 08:50
01/03/20 08:50
Joined: Oct 2018
Posts: 90
Germanien
ags Offline
Junior Member
ags  Offline
Junior Member

Joined: Oct 2018
Posts: 90
Germanien
Hi,

I had the same experience on 01.01.2020 with Z12 and Z2.
Also my own scripts, that contain BR_WEEKEND had the same issue.
I now added BR_LEISURE in my script, will this perhaps resolve the problem? (of having Zorro activity in a closed market period?)

Thanks.

Page 1 of 4 1 2 3 4

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