Gamestudio Links
Zorro Links
Newest Posts
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Trading Journey
by 7th_zorro. 04/27/24 04:42
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
MT5 bridge not working on MT5 v. 5 build 4160
by EternallyCurious. 04/25/24 20:49
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, 1 invisible), 770 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 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