Pmms strategy avgentryprice: Difference between revisions
From MultiCharts
Abeloglazova (talk | contribs) (Created page with "Returns a numerical value, indicating the average entry price for all open entries in a pyramided position opened by the strategy with StrategyIndex number. ==Usage== <synta...") |
Abeloglazova (talk | contribs) No edit summary |
||
Line 9: | Line 9: | ||
Will assign a value of 25.75 to Value1 if there were four open entries at 25, 27, 26, and 25 with the same volume.<br> | Will assign a value of 25.75 to Value1 if there were four open entries at 25, 27, 26, and 25 with the same volume.<br> | ||
<syntaxhighlight>Value1 = pmms_strategy_avgentryprice;</syntaxhighlight> | <syntaxhighlight>Value1 = pmms_strategy_avgentryprice;</syntaxhighlight> | ||
[[Category:Portfolio Money Management]] |
Revision as of 16:12, 1 May 2018
Returns a numerical value, indicating the average entry price for all open entries in a pyramided position opened by the strategy with StrategyIndex number.
Usage
pmms_strategy_avgentryprice(''StrategyIndex'')
Parameters
StrategyIndex - numeric variable.
Notes
This function can only be used in signals intended to be used with the Portfolio Trader.
Example
Will assign a value of 25.75 to Value1 if there were four open entries at 25, 27, 26, and 25 with the same volume.
Value1 = pmms_strategy_avgentryprice;