I have code that executes when I exit a trade (exit long or short). However, it doesn't execute if the trade is exited on ExitOnClose(). The same goes for a trade exiting at a stop loss.
My question is can I trap for the ExitOnClose()event happening and have my code run. The same goes for stop losses.?
I know that I could just create a scripted exit based on the time, but don't want to reinvent the wheel if I can simply trap for the event when it triggers.
Rigsby

Comment