Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 801 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 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