I AvgEntryPrice at Broker

From MultiCharts
Jump to: navigation, search

Returns the Average entry price of each open entry in a pyramided position.

Usage

i_AvgEntryPrice_at_Broker

Notes

  • Only returns the average entry price for open trades.
  • Can only be used in an indicator. Use AvgEntryPrice_at_Broker for using it in a signal.
  • Will only return a value if a signal is applied to the same instrument and chart.

Example

i_AvgEntryPrice_at_Broker

Returns 170 if three trades are currently open and were entered at a price of 140, 170, and 200.

i_AvgEntryPrice_at_Broker

Returns 53 if four trades are currently open and were entered at a price of 54, 48, 60, and 50.