Difference between revisions of "Pmms Strategy NetProfit"

From MultiCharts
Jump to navigation Jump to search
 
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 14: Line 15:
 
== Example ==
 
== Example ==
 
<syntaxhighlight>Value1 = pmms_strategy_netprofit(0);</syntaxhighlight>
 
<syntaxhighlight>Value1 = pmms_strategy_netprofit(0);</syntaxhighlight>
 
  
  
  
 
[[Category:Portfolio Money Management]]
 
[[Category:Portfolio Money Management]]

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