Difference between revisions of "AvgEntryPrice"
Jump to navigation
Jump to search
m |
m (→Notes) |
||
Line 6: | Line 6: | ||
== Notes == | == Notes == | ||
* This function can only be used in signals. Use [[i_AvgEntryPrice]] to use it in indicators. | * 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 == | == Example == | ||
<syntaxhighlight>AvgEntryPrice</syntaxhighlight> | <syntaxhighlight>AvgEntryPrice</syntaxhighlight> |
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
- 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 entry price at the broker.
Example
AvgEntryPrice
Will return a value of 101 if there were three open entries at 95, 105, and 103.