OpenPositionProfit relationship to IB Unrealized P&L

Questions about MultiCharts and user contributed studies.
lnuara
Posts: 2
Joined: 31 Jan 2010

OpenPositionProfit relationship to IB Unrealized P&L

Postby lnuara » 31 Jan 2010

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

Return to “MultiCharts”