Difference between revisions of "GetPositionOpenPL"

From MultiCharts
Jump to navigation Jump to search
(Created page with " Category:Accounts & Positions")
 
Line 1: Line 1:
 +
Returns Open PL value in:
 +
 +
* Symbol currency for Dukascopy (calculated on MultiCharts side)
 +
* Account currency for FXCM (calculated on the broker's side)
 +
* Symbol currency for Interactive Brokers (calculated on MultiCharts side)
 +
* Symbol currency for LMAX (calculated on the broker's side)
 +
* Symbol currency for MB Trading (calculated on MultiCharts side)
 +
* Symbol currency for Open E Cry (calculated on the broker's side)
 +
* Symbol currency for Patsystem (calculated on the broker's side)
 +
* Account currency for PFGBEST (calculated on the broker's side)
 +
* Symbol currency for Trading Technologies (calculated on MultiCharts side)
 +
* Symbol currency for Zen-Fire (Rithmic) (calculated on the broker's side)
 +
 +
== Usage ==
 +
<syntaxhighlight>GetPositionOpenPL(Symbol, Account)</syntaxhighlight>
 +
 +
Where:
 +
 +
: <code>Symbol</code> - the name of the instrument.
 +
 +
: <code>Account</code> - account number at broker.
 +
 +
== Example ==
 +
Will return 15 if the current value in "Open PL" column in "Order and Position Tracker" window for the account is 15 dollars.
  
 
[[Category:Accounts & Positions]]
 
[[Category:Accounts & Positions]]

Revision as of 14:31, 24 February 2012

Returns Open PL value in:

  • Symbol currency for Dukascopy (calculated on MultiCharts side)
  • Account currency for FXCM (calculated on the broker's side)
  • Symbol currency for Interactive Brokers (calculated on MultiCharts side)
  • Symbol currency for LMAX (calculated on the broker's side)
  • Symbol currency for MB Trading (calculated on MultiCharts side)
  • Symbol currency for Open E Cry (calculated on the broker's side)
  • Symbol currency for Patsystem (calculated on the broker's side)
  • Account currency for PFGBEST (calculated on the broker's side)
  • Symbol currency for Trading Technologies (calculated on MultiCharts side)
  • Symbol currency for Zen-Fire (Rithmic) (calculated on the broker's side)

Usage

GetPositionOpenPL(Symbol, Account)

Where:

Symbol - the name of the instrument.
Account - account number at broker.

Example

Will return 15 if the current value in "Open PL" column in "Order and Position Tracker" window for the account is 15 dollars.