I AvgEntryPrice at Broker: Difference between revisions
From MultiCharts
(Created page with "Returns the Average entry price of each open entry in a pyramided position. ==== Usage ==== <syntaxhighlight>i_AvgEntryPrice_at_Broker</syntaxhighlight> ==== Notes ==== ...") |
|||
Line 12: | Line 12: | ||
==== Example ==== | ==== Example ==== | ||
<syntaxhighlight>i_AvgEntryPrice_at_Broker 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 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.</syntaxhighlight> | i_AvgEntryPrice_at_Broker returns 53 if four trades are currently open and were entered at a price | ||
of 54, 48, 60, and 50.</syntaxhighlight> | |||
[[Category:Strategy Performance]] | [[Category:Strategy Performance]] |
Revision as of 14:50, 24 January 2012
Returns the Average entry price of each open entry in a pyramided position.
Usage
i_AvgEntryPrice_at_Broker
Notes
i_AvgEntryPrice_at_Broker only returns the average entry price for open trades.
i_AvgEntryPrice_at_Broker can only be used in an indicator.
i_AvgEntryPrice_at_Broker will only return a value if a signal is applied to the same data.
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.