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 (AndrewAMD, Imhotep), 567 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
the assets don't change when I change Z.ini #465137
04/04/17 15:01
04/04/17 15:01
Joined: Mar 2017
Posts: 48
Bologna
K
kmerlo Offline OP
Newbie
kmerlo  Offline OP
Newbie
K

Joined: Mar 2017
Posts: 48
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

Re: the assets don't change when I change Z.ini [Re: kmerlo] #465138
04/04/17 16:18
04/04/17 16:18
Joined: Mar 2017
Posts: 48
Bologna
K
kmerlo Offline OP
Newbie
kmerlo  Offline OP
Newbie
K

Joined: Mar 2017
Posts: 48
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


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