Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by TipmyPip. 03/08/26 18:50
zorro with ccxt?
by opm. 03/03/26 03:17
WFO Training with parallel cores Zorro64
by Martin_HH. 02/26/26 16:03
Zorro version 3.0 prerelease!
by TipmyPip. 02/25/26 16:38
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
3 registered members (TipmyPip, AndrewAMD, USER0328), 9,605 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
the1, alx, ApprenticeInMuc, PatrickH90, USER0328
19200 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,081
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,081
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