Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, Quad), 608 guests, and 5 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
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: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
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