Gamestudio Links
Zorro Links
Newest Posts
Camera always moves upwards?
by clonman. 11/13/25 14:04
brokerCommand PLOT_HLINE parameters
by M_D. 11/13/25 10:42
ZorroGPT
by TipmyPip. 11/10/25 11:04
Training with the R bridge does not work
by frutza. 11/05/25 00:46
Zorro 2.70
by opm. 10/24/25 03:44
Alpaca Plugin v1.4.0
by TipmyPip. 10/20/25 18:04
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
5 registered members (Grant, AndrewAMD, ozgur, Quad, TipmyPip), 29,980 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sheliepaley, Blueguy, blobplayintennis, someone2, NotEBspark
19177 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
After start close order from other Asset #483305
05/18/21 06:39
05/18/21 06:39
Joined: May 2015
Posts: 390
Czech Republic
G
Grat Offline OP
Senior Member
Grat  Offline OP
Senior Member
G

Joined: May 2015
Posts: 390
Czech Republic
Hi,

I use version:

I use 1 MT4 - to connection to broker

I run 6 Zorro instances with the same strategy but different Asset

I also have one script that I run multiple times. Each time with a different symbol. If I restart any of the symbols, it also closes the other open symbols. How to prevent this unwanted behavior?

example:

run:
Z1...EURUSD
Z2...GBPUSD
Z3...USDJPY
Z4...USDCAD
..etc

on the EURUSD I have 2 orders on market.
Now I restart the AOS with USDJPY. During the start USDJPY close all order with asset EURUSD.

Attached Files Snímek obrazovky 2021-05-17 v 17.04.32.pngSnímek obrazovky 2021-05-18 v 8.26.50.png
Re: After start close order from other Asset [Re: Grat] #483309
05/18/21 11:02
05/18/21 11:02
Joined: May 2015
Posts: 390
Czech Republic
G
Grat Offline OP
Senior Member
Grat  Offline OP
Senior Member
G

Joined: May 2015
Posts: 390
Czech Republic
I test other symbol - also problem with close.

Attached Files Snímek obrazovky 2021-05-18 v 13.01.36.png
Re: After start close order from other Asset [Re: Grat] #483312
05/18/21 14:42
05/18/21 14:42
Joined: Jul 2000
Posts: 28,029
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,029
Frankfurt
Better do as the manual suggests and rename the parallel strategies accordingly. Otherwise they will share not only the same log, but also the same .trd file - and you just discovered the consequences of that.

Re: After start close order from other Asset [Re: Grat] #483316
05/18/21 18:44
05/18/21 18:44
Joined: May 2015
Posts: 390
Czech Republic
G
Grat Offline OP
Senior Member
Grat  Offline OP
Senior Member
G

Joined: May 2015
Posts: 390
Czech Republic
Thank's

I know by share log, but I forget the same - share .trd.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1