Difference between revisions of "Pmms Strategy NetProfit"

From MultiCharts
Jump to navigation Jump to search
 
(11 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
<syntaxhighlight>pmms_strategy_netprofit(StrategyIndex)</syntaxhighlight>  
 
<syntaxhighlight>pmms_strategy_netprofit(StrategyIndex)</syntaxhighlight>  
  
== Parameters ==
+
Where:
<syntaxhighlight>StrategyIndex - numeric variable.</syntaxhighlight>
+
 
 +
:'''StrategyIndex''' - numeric variable.  
 
   
 
   
 
== Notes ==
 
== Notes ==
Line 17: Line 18:
  
  
 
+
[[Category:Portfolio Money Management]]
 
 
[[Category:Portfolio Trading]]
 

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);