Difference between revisions of "AvgEntryPrice"
Jump to navigation
Jump to search
m (→Notes) |
|||
(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 == | |
<syntaxhighlight>AvgEntryPrice</syntaxhighlight> | <syntaxhighlight>AvgEntryPrice</syntaxhighlight> | ||
− | + | == 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. | |
− | + | ||
− | <syntaxhighlight>AvgEntryPrice | + | == 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
- 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.