Gamestudio Links
Zorro Links
Newest Posts
Zorro Trader GPT
by TipmyPip. 07/09/25 13:41
SGT_FW
by Aku_Aku. 07/09/25 10:00
Online Gamestudio manual is down
by AndrewAMD. 07/01/25 18:04
anyone currently using IB gateway??
by SBGuy. 06/30/25 20:02
Zorro Gives Wrong Spread
by AndrewAMD. 06/24/25 16:51
AUM Magazine
Latest Screens
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Zeal-X2
Who's Online Now
2 registered members (3run, Quad), 292 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
ledfoot, liu, LoT, LukeToday, aaaddasaaaadaaa
19145 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,020
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

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