Pmms Strategy NetProfit: Difference between revisions
From MultiCharts
No edit summary |
No edit summary |
||
Line 14: | Line 14: | ||
== Example == | == Example == | ||
<syntaxhighlight>Value1 = pmms_strategy_netprofit(0);</syntaxhighlight> | <syntaxhighlight>Value1 = pmms_strategy_netprofit(0);</syntaxhighlight> | ||
Revision as of 16:38, 24 July 2014
Returns a numerical value representing net profit of the strategy with StrategyIndex number.
Usage
pmms_strategy_netprofit(StrategyIndex)
Parameters
StrategyIndex - numeric variable.
Notes
This function can only be used in signals intended to be used with the Portfolio Trader.
The value is returned in the currency specified in Portfolio Trader: Portfolio Settings -> Base Currency.
Example
Value1 = pmms_strategy_netprofit(0);