AvgEntryPrice: Difference between revisions
From MultiCharts
m
→Notes
(Created page with "Returns a numerical value, indicating the average entry price for all open entries in a pyramided position. ==== Usage ==== <syntaxhighlight>AvgEntryPrice</syntaxhighlight>...") |
m (→Notes) |
||
(2 intermediate revisions by 2 users 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 == | ||
and 103 | <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]] |