Difference between revisions of "Pmms Strategy NetProfit"
Jump to navigation
Jump to search
(9 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
<syntaxhighlight>pmms_strategy_netprofit(StrategyIndex)</syntaxhighlight> | <syntaxhighlight>pmms_strategy_netprofit(StrategyIndex)</syntaxhighlight> | ||
− | + | Where: | |
− | + | ||
+ | :'''StrategyIndex''' - numeric variable. | ||
== Notes == | == Notes == | ||
Line 17: | Line 18: | ||
− | + | [[Category:Portfolio Money Management]] | |
− | |||
− | [[Category:Portfolio |
Latest revision as of 12:57, 10 April 2017
Returns a numerical value representing net profit of the strategy with StrategyIndex number.
Usage
pmms_strategy_netprofit(StrategyIndex)
Where:
- 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);