Gamestudio Links
Zorro Links
Newest Posts
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
Release 2.68 replacement of the .par format
by Martin_HH. 09/23/25 20:48
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (TipmyPip, alibaba), 15,838 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Marking Exit trades #488764
06/02/25 22:41
06/02/25 22:41
Joined: Sep 2024
Posts: 11
robbinsville, nj USA
W
walt_Schwarz Offline OP
Newbie
walt_Schwarz  Offline OP
Newbie
W

Joined: Sep 2024
Posts: 11
robbinsville, nj USA

I see where the entry function can pass a variable (which can be a string) with the TMF function BUT when I "ExitLong" or "ExitShort" ,

I do not see any way that the exit can be labeled so when I look at the trades, I cannot tell what exit code was used.

>> I have various exit codes and I need to see which exit code was used to exit.

The only way would be to log the exit date & code to a file and then merge file with the trade stat file...

Is there a better way?

Re: Marking Exit trades [Re: walt_Schwarz] #488770
06/11/25 14:02
06/11/25 14:02
Joined: Jul 2000
Posts: 28,022
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,022
Frankfurt
Right before exiting, store the exit code in a global variable, and let the TMF copy that variable into a TradeVar.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1