Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by TipmyPip. 09/09/26 14:35
Parent/child object
by Frederick_Lim. 09/07/26 07:00
[MED] Import from FBX (2010) missing!!!
by USER0328. 09/03/26 18:03
Purchase A8 full licence version
by ukgamer. 08/30/26 14:27
Retrieve optimize() variables order (edited)
by NorbertSz. 08/25/26 13:24
Max Number of Strategies in /Strategy folder
by Martin_HH. 08/17/26 07:54
Pause button for evaluation shell?
by AndrewAMD. 08/13/26 17:16
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (Quad, TipmyPip), 8,132 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
speedx, liop, Bauer097, riggi89, shuhari
19233 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,133
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

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