Difference between revisions of "AvgEntryPrice"

From MultiCharts
Jump to navigation Jump to search
m
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.
 
   
 
   
==== Example ====
+
== Example ==
<syntaxhighlight>AvgEntryPrice will return a value of 101 if there were three open entries at 95, 105, and 103</syntaxhighlight>
+
<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]]

Revision as of 19:55, 14 February 2012

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

Usage

AvgEntryPrice

Notes

  • This function can only be used in signals. Use i_AvgEntryPrice to use it in indicators.

Example

AvgEntryPrice

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