Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (Konsti, AndrewAMD, 1 invisible), 1,376 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
BarPeriod <5 causes Error 060 #442344
06/19/14 01:18
06/19/14 01:18
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline OP
Serious User
DdlV  Offline OP
Serious User
D

Joined: Jun 2013
Posts: 1,609
Hi. BarPeriod <5 causes Error 060 on a script I'm testing. Via debug printf's, I've determined that the Error 060 happens at enterLong. The particular memory values printed in Error 060 are the same for a given BarPeriod, and across Zorro restarts.

Has anyone else experienced this kind of scenario?

Thanks.

Re: BarPeriod <5 causes Error 060 [Re: DdlV] #442346
06/19/14 06:15
06/19/14 06:15
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
You can save memory in several ways - f.i. splitting the portfolio, not using TICKS, or using a shorter simulation period.

Re: BarPeriod <5 causes Error 060 [Re: jcl] #442353
06/19/14 11:43
06/19/14 11:43
Joined: Oct 2013
Posts: 18
5
512mb Offline
Newbie
512mb  Offline
Newbie
5

Joined: Oct 2013
Posts: 18

Re: BarPeriod <5 causes Error 060 [Re: 512mb] #442361
06/19/14 15:11
06/19/14 15:11
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline OP
Serious User
DdlV  Offline OP
Serious User
D

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

@jcl: Is 512mb's suggested patching of Zorro.exe OK?

This is without TICKS - I had not yet gotten to that point. Shortening the simulation period works, but is not always desirable. Can you give an example of "splitting the portfolio"?

Thanks.

Re: BarPeriod <5 causes Error 060 [Re: DdlV] #442382
06/20/14 07:05
06/20/14 07:05
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
The patching would possibly not work, as the exe is in compressed format. But I can activate large address awareness in a future version anyway - that's what the patch probably is doing.

For splitting a portfolio:

Code:
while(AssetName = loop(	
#ifdef FIRST_HALF
		"EUR/USD",
		"USD/CHF",
		"GBP/USD",
		"USD/CAD",
		"USD/JPY",
		"AUD/USD",
#endif
#ifdef SECOND_HALF	
		"NAS100",
		"SPX500",
		"US30",
		"GER30",
		"XAU/USD",
		"XAG/USD",
#endif		
		0))
		...



Re: BarPeriod <5 causes Error 060 [Re: jcl] #442387
06/20/14 13:20
06/20/14 13:20
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline OP
Serious User
DdlV  Offline OP
Serious User
D

Joined: Jun 2013
Posts: 1,609
Thanks.


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