GetPositionAveragePrice

From MultiCharts
Revision as of 15:50, 1 May 2013 by Henry Multicharts (talk | contribs) (Undo revision 5011 by Dave Masalov (talk))
Jump to navigation Jump to search

Returns average price of the position.

Usage

GetPositionAveragePrice(Account, Symbol)

Where:

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

Example

Will return a value of 1.3456 if the average entry price for the position, defined by specified account/symbol pair is 1.3456.