×

Sign up and get MultiCharts free

Use its powerful simulation mode with data included out of the box. Just fill out the form and start honing your trading skills with a few clicks.

GetPositionSymbol - MultiCharts
Open main menu

GetPositionSymbol

Revision as of 18:20, 3 March 2017 by Angelina (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Returns the symbol associated with the position at a specific location (PositionLoc) in the list of positions for the specified account.

Usage

GetPositionSymbol(Account, PositionLoc)

Where:

Account - account number at broker.
1 <= PositionLoc <= GetNumPositions - the sequence number of the position in the position list for the specified account.

Example

GetPositionSymbol("DU12345", 3)

will return "ESZ1" if the position with the sequence number 3 in the position list for account DU12345 is opened on ESZ1.