×

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.

Changes - MultiCharts
Open main menu

Changes

I AvgEntryPrice at Broker

9 bytes added, 19:03, 14 February 2012
m
no edit summary
Returns the Average entry price of each open entry in a pyramided position.
==== Usage ====
<syntaxhighlight>i_AvgEntryPrice_at_Broker</syntaxhighlight>
==== Notes ==== [[i_AvgEntryPrice_at_Broker]] only * Only returns the average entry price for open trades.  [[i_AvgEntryPrice_at_Broker]] can * Can only be used in an indicator.  Use [[i_AvgEntryPrice_at_BrokerAvgEntryPrice_at_Broker]] will for using it in a signal.* Will only return a value if a signal is applied to the same datainstrument and chart.
==== Example ==== <syntaxhighlight>i_AvgEntryPrice_at_Broker returns </syntaxhighlight>Returns 170 if three trades are currently open and were entered at a price of 140, 170, and 200.
<syntaxhighlight>i_AvgEntryPrice_at_Broker returns </syntaxhighlight>Returns 53 if four trades are currently open and were entered at a price of 54, 48, 60, and 50.</syntaxhighlight>
[[Category:Strategy Performance]]