Gamestudio Links
Zorro Links
Newest Posts
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
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
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (1 invisible), 509 guests, and 0 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
Close all when profit is reached #473961
09/03/18 06:32
09/03/18 06:32
Joined: Feb 2018
Posts: 236
Italy
tradingest Offline OP
Member
tradingest  Offline OP
Member

Joined: Feb 2018
Posts: 236
Italy
Hi all,

If I want close all trades opened with sum of profit reach is 100 €. Is it possible?

How can I do it?

Thanks

Re: Close all when profit is reached [Re: tradingest] #473964
09/03/18 17:22
09/03/18 17:22
Joined: Feb 2018
Posts: 236
Italy
tradingest Offline OP
Member
tradingest  Offline OP
Member

Joined: Feb 2018
Posts: 236
Italy
Someone can you help me?

Re: Close all when profit is reached [Re: tradingest] #473965
09/03/18 19:04
09/03/18 19:04
Joined: Feb 2017
Posts: 1,725
Chicago
AndrewAMD Offline
Serious User
AndrewAMD  Offline
Serious User

Joined: Feb 2017
Posts: 1,725
Chicago

Re: Close all when profit is reached [Re: AndrewAMD] #473966
09/03/18 20:24
09/03/18 20:24
Joined: Feb 2018
Posts: 236
Italy
tradingest Offline OP
Member
tradingest  Offline OP
Member

Joined: Feb 2018
Posts: 236
Italy
Thanks,

But you can write me the correct function word whether possible?

Re: Close all when profit is reached [Re: tradingest] #473967
09/03/18 20:40
09/03/18 20:40
Joined: Feb 2017
Posts: 1,725
Chicago
AndrewAMD Offline
Serious User
AndrewAMD  Offline
Serious User

Joined: Feb 2017
Posts: 1,725
Chicago
Too busy, sorry. whistle

Re: Close all when profit is reached [Re: AndrewAMD] #473996
09/06/18 19:24
09/06/18 19:24
Joined: Feb 2018
Posts: 236
Italy
tradingest Offline OP
Member
tradingest  Offline OP
Member

Joined: Feb 2018
Posts: 236
Italy
Hi Andrew,

my code is:

Code:
if(ProfitOpen = 100)
	for(open_trades)
	{
	  What is the function to close all trade, long and short opened?	
	}



can you help me?

Many thanks in advance

Re: Close all when profit is reached [Re: tradingest] #473998
09/06/18 19:31
09/06/18 19:31
Joined: Feb 2017
Posts: 1,725
Chicago
AndrewAMD Offline
Serious User
AndrewAMD  Offline
Serious User

Joined: Feb 2017
Posts: 1,725
Chicago
exitTrade(ThisTrade);


Moderated by  Petra 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1