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?