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
1 registered members (Edgar_Herrera), 1,110 guests, and 2 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
Page 9 of 10 1 2 7 8 9 10
Re: New Zorro version 2.30 [Re: jcl] #481274
08/21/20 09:50
08/21/20 09:50
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
- Backtesting Z13: Yes, a wrong history was loaded. You can either rename "SPYa.t8" to "SPYb.t8", or download 2.30 again. It now contains a Z13 with the correct history name.
- Bug in plot when the StartDate is set in the format YYYYMMDD: If you cannot fix it, contact support. They'll help.

Re: New Zorro version 2.30 [Re: jcl] #481277
08/21/20 10:05
08/21/20 10:05
Joined: Jul 2017
Posts: 783
Z
Zheka Offline
User
Zheka  Offline
User
Z

Joined: Jul 2017
Posts: 783
Originally Posted by jcl
- Bug in plot when the StartDate is set in the format YYYYMMDD: If you cannot fix it, contact support. They'll help.
Before I do that pls confirm that 1) this was indeed checked and/or 2) the issue in the script is obvious to you

Re: New Zorro version 2.30 [Re: jcl] #481278
08/21/20 10:45
08/21/20 10:45
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
No, the issue is not obvious. I see nothing wrong at quick glance when I run your script. But if a plot does not look right, follow first the bug fixing instructions in the manual. In your case, that would be printing the plot values in the log and checking them against the plot, by zooming at a certain date if needed. If you cannot fix it this way, the final solution is getting a support ticket and asking my colleagues for help. That will always work.

If you contact support and it turns out that the issue is caused by something amiss in the manual or by a Zorro bug, we refund the support ticket of course. But I must tell that this does not happen often.




Re: New Zorro version 2.30 [Re: jcl] #481280
08/21/20 11:12
08/21/20 11:12
Joined: Jul 2017
Posts: 783
Z
Zheka Offline
User
Zheka  Offline
User
Z

Joined: Jul 2017
Posts: 783
jcl, c'mon!

The script is 3 lines, and it does not plot as expected (at least on my end).
Before posting here, I do the homework: the _plot.csv file contains all the correct values and zooming into an area reveals the correctly plotted values as well.

BUT the Total view doesn't show anything, as in the pic I attached.

Can you just spend 1 min and either confirm it or not?

Re: New Zorro version 2.30 [Re: jcl] #481281
08/21/20 11:36
08/21/20 11:36
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
No, I can not confirm it. You posted a trivial script that did not show me any bug or tell anything about that problem. Why must such an issue always cause discussions? You have a problem, you report it, I suggest that you contact the support - that's it. They can do a lot more than I, like checking your logs or your historical data or whatever might cause the problem. They will find it. If you do it or not is of course completely up to you.

Re: New Zorro version 2.30 [Re: Zheka] #481286
08/22/20 21:22
08/22/20 21:22
Joined: Dec 2019
Posts: 53
ozgur Offline
Junior Member
ozgur  Offline
Junior Member

Joined: Dec 2019
Posts: 53
Originally Posted by Zheka
There is a bug in plot() when StartDate is set in the format YYYYMMDD.

This script:
Code
function run(){
	
	set(PLOTNOW);
		
	StartDate = 20190201; 
	EndDate   = 2020;
	
	BarPeriod = 60;

	var K=ifelse(!(Bar%120),1,0);
	
	plot("WHL",K,BARS+NEW,RED);	
}
with StartDate=2019 plots as expected (screen 1) . But when StartDate is set as StartDate=20190201, plot() drops most items to be plotted (pic 2), even after enlargement of the plot area.

The problem can be reliably replicated for Bar%120 ( nothing is plotted), but is intermittent for lower values of the divisor (e.g. 24) (and can work for GBPUSD but not for EURUSD)



Fyi, above code seems to be working for me.

[Linked Image]

Re: New Zorro version 2.30 [Re: jcl] #481288
08/23/20 07:46
08/23/20 07:46
Joined: May 2020
Posts: 45
A
AdamWu Offline
Newbie
AdamWu  Offline
Newbie
A

Joined: May 2020
Posts: 45
Hi, I found this in the document:
"Multicore training is now possible with scripts located in the StrategyFolder given in Zorro.ini."

My strategy is in the StrategyFolder, but it seems not using more cpu resource(30-40%), which is the same with 2.25. What is the problem? My code is like this:
Code
function run(){
	if(is(INITRUN)) NumCores = -1;
	set(PARAMETERS+LOGFILE+PLOTNOW); //+PLOTNOW
	#ifdef USE_MONEY_MANAGEMENT
	set(PARAMETERS+FACTORS+LOGFILE);
	Capital = 2000;
	#endif
	if(Train){
		StartDate = 20190202;
		EndDate = 20200802;
		NumWFOCycles = 3;
        ...

Re: New Zorro version 2.30 [Re: jcl] #481291
08/23/20 09:54
08/23/20 09:54
Joined: Apr 2008
Posts: 585
Austria
Petra Offline
Support
Petra  Offline
Support

Joined: Apr 2008
Posts: 585
Austria
Multicore in the strategyfolder works for me. Have you tried it with the workhop5?

Re: New Zorro version 2.30 [Re: Petra] #481328
08/28/20 06:16
08/28/20 06:16
Joined: May 2020
Posts: 45
A
AdamWu Offline
Newbie
AdamWu  Offline
Newbie
A

Joined: May 2020
Posts: 45
I tried workshop5. CPU usage is 30-40%, no obvious improvement.

Re: New Zorro version 2.30 [Re: jcl] #481329
08/28/20 06:20
08/28/20 06:20
Joined: May 2020
Posts: 45
A
AdamWu Offline
Newbie
AdamWu  Offline
Newbie
A

Joined: May 2020
Posts: 45
@jcl, maybe you already know these bugs of "Zorro 2.31.1":
1. "System State: 2020-06-24 12:23 - 22.56" never change or update;
2. It stoped trading once. (around 3 days in total);

Page 9 of 10 1 2 7 8 9 10

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