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
1 registered members (AndrewAMD), 945 guests, and 8 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
One script for multiple assets? #469669
11/30/17 09:36
11/30/17 09:36
Joined: Oct 2017
Posts: 25
F
fran Offline OP
Newbie
fran  Offline OP
Newbie
F

Joined: Oct 2017
Posts: 25
Hi,
I would like to trade my script in different assets at the same time with the same MT4 connection. Is that possible or do I need different Zorro instances to do it?

Re: One script for multiple assets? [Re: fran] #469671
11/30/17 12:29
11/30/17 12:29
Joined: Aug 2017
Posts: 102
Spain
B
Brax Offline
Member
Brax  Offline
Member
B

Joined: Aug 2017
Posts: 102
Spain
Hi fran,

I am no expert in Zorro, especially in live trading but you can perfectly code a script for trading several assets at the same time. Of course that script will run with a dedicated MT4 connection.

If you search in the forum you´ll find people who have several instances running, but i think that is because they have coded separated strategies and want them to trade that way.

Just my two cents.

Re: One script for multiple assets? [Re: Brax] #469674
11/30/17 17:09
11/30/17 17:09
Joined: Oct 2017
Posts: 25
F
fran Offline OP
Newbie
fran  Offline OP
Newbie
F

Joined: Oct 2017
Posts: 25
In that case, the run() function is the same for all trades? Is there an example of code to do that?

Re: One script for multiple assets? [Re: fran] #469675
11/30/17 17:30
11/30/17 17:30
Joined: Sep 2017
Posts: 235
H
Hredot Offline
Member
Hredot  Offline
Member
H

Joined: Sep 2017
Posts: 235
Learn about trading multiple assets in the manual:
http://zorro-project.com/manual/en/tutorial_kelly.htm

Last edited by Hredot; 11/30/17 17:30.

Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1