Gamestudio Links
Zorro Links
Newest Posts
How to save the contents of an array, WRS/resource
by Superku
Today at 07:43
Shadows Flickering
by Dooley
Today at 07:36
PSSM shadows are flickering and are change darkness level
by Dooley
Today at 02:46
Retrieving Zorro S after a couple of years
by chepstow
Yesterday at 22:53
[ALL STYLES] 2D Videogame Artist (pixel, vector, painted)
by jumpman
Yesterday at 21:18
AUM Magazine
Latest Screens
Triton Wing
ZeaL
Computer Repair Simulator
Collider (working title)
Space Rider
Who's Online
14 registered (jyd, Jens, MatPed, Calli, kmerlo, ibne, Dooley, Dalla, jumpman, Ezzett, 2 invisible), 392 Guests and 4 Spiders online.
Key: Admin, Global Mod, Mod
Newest Members
marx_vonde, A_Dearheart, adamcurry, lucnes, Mike429
17629 Registered Users
Topic Options
Rate This Topic
#465137 - 04/04/17 17:01 the assets don't change when I change Z.ini
kmerlo Online
Newbie

Registered: 03/08/17
Posts: 25
Loc: Bologna
I use Zorro 1.54
I am testing Z1 with FXCM demo account ad all it is OK
Then I wanted to try with IG demo account with the MT4 Bridge but IG has a differente name for English Index
FXCM : UK100
IG : FTSE100

I read in the manual in
"http://zorro-project.com/manual/en/zsystems.htm"

"Every Z strategy can be configured at startup with parameters from an .ini file, and is controlled at runtime with the Margin, Risk, and Panic sliders. First set up the strategy to your country and other requirements: open StrategyZ.ini with SED or any other text editor, and edit the following parameters:"


So I changed the AssetsFIX.csv and I tested the IG'S name (FTSE100) with the script "TradeTest.c" ad it is OK

Name Price Spread RollLong RollShort PIP PIPCost MarginCost Leverage LotAmount Commission Symbol
AUDUSD 0.75535 0.00006 1 1 0.0001 0.093853 3.5663 198.782 1000 1 AUDUSD
EURUSD 1.06556 0.00006 1 1 0.0001 0.093853 4.9739 201.061 1000 1 EURUSD
FTSE100 7314.8 1 1 1 0.1 0.011677 4.3201 197.709 0.1 1 FTSE100
GBPUSD 1.24419 0.00009 1 1 0.0001 0.093853 11.7313 99.538 1000 1 GBPUSD
GER30 12244.9 1 1 1 0.1 0.025 15.5 197.498 0.3 1 GER30
NAS100 5412.2 2 1 1 0.1 0.093852 25.3393 200.457 1 1 NAS100
SPX500 2352.53 0.6 1 1 0.01 0.023463 28.155 196.05 2.5 1 SPX500
US30 20605.5 2.8 1 1 0.1 0.009385 9.6667 200.06 0.1 1 US30
USDCAD 1.345 0.00017 1 1 0.0001 0.069791 4.6755 200.766 1000 1 USDCAD
USDCHF 1.00172 0.00015 1 1 0.0001 0.093706 14.0546 66.787 1000 1 USDCHF
USDJPY 110.511 0.007 1 1 0.01 0.084932 4.7559 197.354 1000 1 USDJPY
XAGUSD 18.329 0.025 1 1 0.01 0.469272 8.4467 101.83 50 1 XAGUSD
XAUUSD 1257.77 0.3 1 1 0.01 0.009385 7.5079 157.226 1 1 XAUUSD


Then I modify file "Z.INI"

NFA = 0
FXOnly = 0
Phantom = 1
Hedge = 5
MMax = 100
Weekend = 2
Verbose = 2
BrokerPatch = 0
Preload = 0
AssetList = "C:UsersrmaccaferriZorroHistoryAssetsFIX.csv"
Exclude = ""
Cancel = 0

But the strategy stil use the UK100 and not FTSE100

I also create Z1.ini ant test Z1 strategy but the problem persist
I don't understand if I am wrong or if there is a bug

I hope that someone can help me...

thanks

Top
#465138 - 04/04/17 18:18 Re: the assets don't change when I change Z.ini [Re: kmerlo]
kmerlo Online
Newbie

Registered: 03/08/17
Posts: 25
Loc: Bologna
I founded the solution
My error was in the file "AssetsFIX.csv"
because I have changed also the Name instead
the corret with IG is
Name= UK100
Symbor= FTSE100

like this

Name Price Spread RollLong RollShort PIP PIPCost MarginCost Leverage LotAmount Commission Symbol
AUDUSD 0.75535 0.00006 1 1 0.0001 0.093853 3.5663 198.782 1000 1 AUDUSD
EURUSD 1.06556 0.00006 1 1 0.0001 0.093853 4.9739 201.061 1000 1 EURUSD
UK100 7314.8 1 1 1 0.1 0.011677 4.3201 197.709 0.1 1 FTSE100

Top



Gamestudio download | chip programmers | Zorro platform | shop | resources | magazine | manual | support faq | bugs | beta features

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) 3dgamestudio.net