Gamestudio Links
Zorro Links
Newest Posts
Zorro version 3.0 prerelease!
by jcl. 02/12/26 14:05
MarginCost discrepancy?
by jcl. 02/12/26 14:02
Hedge on FXCM, 4 or 5?
by qin. 02/11/26 14:12
CMC MT4 CFD vs FX Active - what's better?
by mayarik. 02/11/26 11:00
print a "still alive" log
by qin. 02/10/26 12:16
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (TipmyPip), 7,786 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
ApprenticeInMuc, PatrickH90, USER0328, Sfrdragon, mayarik
19198 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,072
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,072
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