+1 888 340 6572

AvgEntryPrice: Difference between revisions

From MultiCharts
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
Returns a numerical value, indicating the average entry price for all open entries in a pyramided position.   
Returns a numerical value, indicating the average entry price for all open entries in a pyramided position.   


==== Usage ====
== Usage ==
<syntaxhighlight>AvgEntryPrice</syntaxhighlight>  
<syntaxhighlight>AvgEntryPrice</syntaxhighlight>  
   
   
==== Notes ====  
== Notes ==  
This function can only be used in signals.  
* This function can only be used in signals. Use [[i_AvgEntryPrice]] to use it in indicators.
* Use [[AvgEntryPrice at Broker]] and [[AvgEntryPrice at Broker for The Strategy]] to get the average [[EntryPrice|entry price]] at the broker.
==== Example ====
 
<syntaxhighlight>AvgEntryPrice will return a value of 101 if there were three open entries at 95, 105, and 103</syntaxhighlight>
== Example ==
<syntaxhighlight>AvgEntryPrice</syntaxhighlight>
Will return a value of 101 if there were three open entries at 95, 105, and 103.
   
   
[[Category:Strategy Performance]]
[[Category:Strategy Performance]]

Latest revision as of 17:12, 19 February 2012

Returns a numerical value, indicating the average entry price for all open entries in a pyramided position.

Usage

AvgEntryPrice

Notes

Example

AvgEntryPrice

Will return a value of 101 if there were three open entries at 95, 105, and 103.