GetPositionAveragePrice

From MultiCharts
Jump to navigation Jump to search

Returns average price of the position.

Usage

GetPositionAveragePrice(Account, Symbol)

Where:

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

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.