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
2 registered members (Imhotep, opm), 785 guests, and 4 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
Exclude an asset from Z1 strategy #486483
08/29/22 10:34
08/29/22 10:34
Joined: Aug 2022
Posts: 65
alun Offline OP
Junior Member
alun  Offline OP
Junior Member

Joined: Aug 2022
Posts: 65
Hello,

I'm trying to run Z1 on Demo IG account.

It doesn't have UK100 CDF.

I'm still seeing Z1 tries to load it. See the attached screenshot of MQL4 expert log.

Things I've tried:
1. Adding a comment (#) in AssetsFix.csv in front of UK100
2. Removing line with UK100 from AssetsFix.csv
3. Creating a copy of the CSV AssetsIG.csv with the line removed and setting it in the z.ini file with AssetList = "AssetsIG.csv"
4. Adding minus (-) in Data/Z12.fac in front of all UK100 rows

I'm mostly concerned with the Zorro status showing red box.
And the "zero divide" message in the MT4.

Two questions:

1. Should I ignore those errors?
2. Can I make Z1 not to look for UK100?

Attached Files Screenshot 2022-08-29 at 11.26.27.png
Re: Exclude an asset from Z1 strategy [Re: alun] #486484
08/29/22 10:39
08/29/22 10:39
Joined: Aug 2022
Posts: 65
alun Offline OP
Junior Member
alun  Offline OP
Junior Member

Joined: Aug 2022
Posts: 65
Also, Zorro is connected but Capital slider for Z1 is not activated (maybe a related issue)

(see attached screen shot)

Attached Files Screenshot 2022-08-29 at 11.36.43.png
Last edited by alun; 08/29/22 10:39.
Re: Exclude an asset from Z1 strategy [Re: alun] #486485
08/29/22 15:52
08/29/22 15:52
Joined: Aug 2022
Posts: 65
alun Offline OP
Junior Member
alun  Offline OP
Junior Member

Joined: Aug 2022
Posts: 65
To add more context.

I have:
1) removed my MT4 data folder and created new demo account
2) mapped UK100 to SPA35

Z1 started successfully.

Then I have commented out UK100 again. And after restart Zorro went into the same issue.

1) zero devide in Zorro.mq4 (349,61) in MT4
2) can't connect from Zorro after a timeout

So it's sort of persistently broken Zorro/MT4 connection.

Re: Exclude an asset from Z1 strategy [Re: alun] #486486
08/29/22 16:33
08/29/22 16:33
Joined: Aug 2022
Posts: 65
alun Offline OP
Junior Member
alun  Offline OP
Junior Member

Joined: Aug 2022
Posts: 65
I think the issue might be is missing break in Zorro.mq4 file

Leading to adviser stuck with broken CMD_ASSET command in the loop.

But this still doesn't answer why it tires to load UK100 at all when explicitly asked not to...

Attached Files Screenshot 2022-08-29 at 17.30.44.png
Last edited by alun; 08/29/22 16:37.
Re: Exclude an asset from Z1 strategy [Re: alun] #486487
08/29/22 17:49
08/29/22 17:49
Joined: Mar 2018
Posts: 62
hast29 Offline
Junior Member
hast29  Offline
Junior Member

Joined: Mar 2018
Posts: 62
Hi alun, based on the manual, you need to put minus sign not in front of each UK100 row, but in front of the OptimalF in each UK100 row. That is the first collumn of parameters, example for USD/CAD in the manual text below :

"How can I add new assets or exclude assets from trading?

Z8, Z9, Z10 can be used with any portfolio of stocks and ETFs. The other systems are optimized for a particular set of assets; you can not add, but you can exclude assets from trading. For excluding a certain component from trading in Z1, Z2, Z12, or Z7, edit Data\Z12.fac or Data\Z7.fac and place minus signs '-' in front of its OptimalF factors. The algorithms with the ES, HU, LP, LS, VO identifiers belong to Z1, A2, BB, CT, CY, HP to Z2, and PA, PD, PDD, PG to Z7. An example for excluding the CT algorithm with the USD/CAD asset:

USD/CAD:CT -.041 1.32 263/420
USD/CAD:CT:L -.029 1.25 177/227
USD/CAD:CT:S -.058 1.38 86/93"

Re: Exclude an asset from Z1 strategy [Re: alun] #486489
08/30/22 08:18
08/30/22 08:18
Joined: Aug 2022
Posts: 65
alun Offline OP
Junior Member
alun  Offline OP
Junior Member

Joined: Aug 2022
Posts: 65
Hi hast29,

thank a lot, looks I've missed that detail

Re: Exclude an asset from Z1 strategy [Re: alun] #487607
06/15/23 03:53
06/15/23 03:53
Joined: Apr 2019
Posts: 53
Canada
A
aelagha Offline
Junior Member
aelagha  Offline
Junior Member
A

Joined: Apr 2019
Posts: 53
Canada
in Strategy\z.ini file, there is an "Exclude" line. You can list the assets you want to exldue there, separated by comma. Yuo can also create a copy and call it Z1.ini and make the changes there. zorro will apply these settings to Z1 only.


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