MT4 bridge and assets not named the same as in Zorro

Posted By: KingKrak

MT4 bridge and assets not named the same as in Zorro - 11/05/15 05:14

Hello,
I have been toying with the MT4 bridge and trying to get the Z3 system working with it.

I have a problem in that my broker's MT4 platform calls the SPX500 "S&P". When I go to trade an error comes up with "Asset SPX500 not found". Obviously.

In the manual it says to change the AssetsFix.csv file entry to the name you want. Well there was no AssetsFix.csv file, so I assumed it was the AssetsFix.dta file. I changed SPX500 to S&P in that file.

S&P does now show up in the asset list dropdown box in Zorro, but the Z3 system is still complaining it can't find the SPX500 asset.

I'm guessing there must be some other definition I can alter somewhere, probably an ini or configuration for the specific Z3 strategy? Can anyone point me in the right direction?

Thanks.
Posted By: jcl

Re: MT4 bridge and assets not named the same as in Zorro - 11/05/15 11:05

This is mentioned in your manual under "MT4 bridge". You have to edit the Zorro.mq4 script and enter there the different names.

Caution: This is NOT the online manual, but your own Zorro help manual. The online manual describes the recent Zorro development version, and there you can indeed change the asset name in AssetsFix.csv. But this will only work with new Zorro versions, not yet with the release version.
Posted By: KingKrak

Re: MT4 bridge and assets not named the same as in Zorro - 11/06/15 01:06

Ah, that is the problem. I was looking at the online manual, not the local manual. The online manual mentions nothing about this.

I guess I always check the online manual because of when I (not by my choice) had to program in Java. There were always heaps of problems with the local manual (not to mention heaps of problems with Java...)

After editing the Zorro.mq4 file everything works just fine! Very simple.
© 2024 lite-C Forums