I use MC with Interactive Brokers - thru IB's desktop TraderWorkStation.
I am looking for the proper command to trigger exiting trades. I tried using OpenPositionProfit but noticed that OpenPositionProfit does NOT equal the Unrealized P&L in TWS.
I must be missing something.
Can anyone suggest which command/function in MC PowerLangauge produces the same value as is displayed on IB's TraderWorkStation in the P&L Column?
Thank you in advance.
Lennie