Gamestudio Links
Zorro Links
Newest Posts
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Trading Journey
by 7th_zorro. 04/27/24 04:42
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
MT5 bridge not working on MT5 v. 5 build 4160
by EternallyCurious. 04/25/24 20:49
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, TipmyPip), 747 guests, and 4 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
Partial Exit / Scaling out #462771
10/27/16 09:35
10/27/16 09:35
Joined: Oct 2016
Posts: 1
asdasd
M
MeanGuy Offline OP
Guest
MeanGuy  Offline OP
Guest
M

Joined: Oct 2016
Posts: 1
asdasd
Hey fellow algotraders,

I tried to implement partial exits but I can't get it to work with Zorro (v1.5 free).
What I do is: enterLong(2) and after a certain Profit Limit I call exitLong(0,0,1). I figure Zorro should close 1 Lot but actually closes the whole position.

What am I doing wrong?

Also tried exitTrade, changing TradeLot via the TMF, can't get it to work...

Maybe somebody who has done something similar could share a code snippet.

Cheers,
The Mean Guy

Last edited by MeanGuy; 10/27/16 13:04.
Re: Partial Exit / Scaling out [Re: MeanGuy] #462980
11/09/16 14:25
11/09/16 14:25
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
Check NFA. Partially closing is only supported on Non-NFA accounts.


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