Gamestudio Links
Zorro Links
Newest Posts
Z12 live performance
by alx. 06/09/26 20:42
Lapsa's very own thread
by Lapsa. 06/08/26 22:41
Stooq now requires an API key
by VHX. 06/08/26 20:14
ZorroGPT
by TipmyPip. 06/06/26 12:36
Zorro 3.01 recoded MMI function issue
by TipmyPip. 06/04/26 05:44
SGT_FW
by Aku_Aku. 05/31/26 11:05
Issues resuming trades on Demo account
by Martin_HH. 05/22/26 13:31
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
4 registered members (alx, TipmyPip, Quad, AndrewAMD), 2,174 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Seraphinang, Koti, curry, DeepxKalsi, Samed
19219 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Can TrailLock be adjusted in a TMF? #437683
02/22/14 18:09
02/22/14 18:09
Joined: Jul 2013
Posts: 522
D
dusktrader Offline OP
User
dusktrader  Offline OP
User
D

Joined: Jul 2013
Posts: 522
I'm trying to set and unset TrailLock in a TMF, but it doesn't seem to be working the way I want.

Perhaps it is not even possible to set TrailLock after you're already in a trade?

The initial trade is opened without a TrailLock setting (ie default 0) but in my TMF, if the profit level reaches a threshold, I want to set TrailLock to both a) lock a majority of the existing profit; and b) still allow the trade to run if it is currently experiencing strong momentum.

If TrailLock cannot be selectively set/changed inside a TMF, then does that mean I have to essentially calculate the TrailLock percent manually inside the TMF and use a hard stop level?

Is there an easier way to accomplish this?
Thanks

Re: Can TrailLock be adjusted in a TMF? [Re: dusktrader] #437693
02/23/14 09:33
02/23/14 09:33
Joined: Apr 2008
Posts: 600
Austria
Petra Offline
Support
Petra  Offline
Support

Joined: Apr 2008
Posts: 600
Austria
I am pretty sure that TrailLock, Stop and so on are only for entering a new trade and don't change already open trades.

Quote:
All entry and exit parameters must be set before calling enterLong / enterShort. They have no effect on already entered trades. For changing a stop or profit target of a particular trade after it has already been opened, use either a TMF, or call exit with the new target



Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1