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
1 registered members (TipmyPip), 18,618 guests, and 5 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 3 of 3 1 2 3
Re: New Zorro version 1.14 [Re: svenb] #428313
08/23/13 14:19
08/23/13 14:19
Joined: Jul 2000
Posts: 28,024
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 28,024
Frankfurt
Thanks! The reason of your problem is now clear.

asset("EUR/USD");
...
LookBack = 2000;

Originally Posted By: manual
Variables and flags that affect the price data array, such as BarPeriod, LookBack, Mode, Detrend, StartDate, EndDate, TICKS, Weekend etc. must be set before calling asset().


You can not change the looback period anymore after you've loaded the asset. This causes 2000 bars to be missing from the loaded prices.

Consequently you'll get an error message, and when you continue trading, Zorro crashes. Admittedly the error message looks quite harmless and Zorro should anyway not crash, but just terminate the script. This will be changed in the next version.

Re: New Zorro version 1.14 [Re: jcl] #428328
08/24/13 11:04
08/24/13 11:04
Joined: Apr 2013
Posts: 57
3
3DCat Offline
Junior Member
3DCat  Offline
Junior Member
3

Joined: Apr 2013
Posts: 57
Well you can't try my script on the weekend, but has anyone else the same problem? Else i have to downgrade to 1.12 again for a while..:(

Re: New Zorro version 1.14 [Re: 3DCat] #428343
08/24/13 21:19
08/24/13 21:19
Joined: Aug 2013
Posts: 8
S
svenb Offline
Newbie
svenb  Offline
Newbie
S

Joined: Aug 2013
Posts: 8
@jcl: the only problem is that this is not in my other script :S... I am going to take another look at it on monday...

Re: New Zorro version 1.14 [Re: svenb] #428371
08/26/13 10:56
08/26/13 10:56
Joined: Apr 2013
Posts: 57
3
3DCat Offline
Junior Member
3DCat  Offline
Junior Member
3

Joined: Apr 2013
Posts: 57
Can anyone confirm my script from 4 posts ago laugh I don't know what I'm doing wrong here

Re: New Zorro version 1.14 [Re: 3DCat] #428372
08/26/13 12:53
08/26/13 12:53
Joined: Jul 2000
Posts: 28,024
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 28,024
Frankfurt
Sorry, I had sort of overlooked your script. Yes, I can confirm the problem when Weekend is set to 1 and price quote are not received within the bar. It should not behave this way. We'll look into it.

Re: New Zorro version 1.14 [Re: jcl] #428398
08/26/13 20:11
08/26/13 20:11

A
acidburn
Unregistered
acidburn
Unregistered
A



Workshop_7 can't be run (undefined identifier).

Re: New Zorro version 1.14 [Re: ] #428417
08/27/13 08:31
08/27/13 08:31
Joined: Jul 2000
Posts: 28,024
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 28,024
Frankfurt
Thanks. That script still had the old name for "reverseLong". Please use the code from the manual.

Page 3 of 3 1 2 3

Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1