Difference between revisions of "Pmms Strategy NetProfit"
Jump to navigation
Jump to search
Line 14: | Line 14: | ||
== Example == | == Example == | ||
<syntaxhighlight>Value1 = pmms_strategy_netprofit(0);</syntaxhighlight> | <syntaxhighlight>Value1 = pmms_strategy_netprofit(0);</syntaxhighlight> | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | [[Category:Portfolio Trading]] |
Revision as of 16:55, 24 July 2014
Returns a numerical value representing net profit of the strategy with StrategyIndex number.
Contents
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);