Difference between revisions of "Pmms Strategy OpenProfit"

From MultiCharts
Jump to navigation Jump to search
(Created page with "Returns a numerical value representing unrealized profit/loss of the strategy with StrategyIndex number. == Usage == <syntaxhighlight>pmms_strategy_openprofit(StrategyIndex)<...")
 
 
(2 intermediate revisions by one other user not shown)
Line 8: Line 8:
 
   
 
   
 
== Notes ==
 
== Notes ==
This function can only be used in signals intended to be used with the Portfolio Trader.  
+
* 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.'''
The value is returned in the currency specified in Portfolio Trader: '''Portfolio Settings -> Base Currency.'''
 
  
 
== Example ==
 
== Example ==
 
<syntaxhighlight>Value1 = pmms_strategy_openprofit(0);</syntaxhighlight>
 
<syntaxhighlight>Value1 = pmms_strategy_openprofit(0);</syntaxhighlight>
 +
 +
 +
 +
[[Category:Portfolio Money Management]]

Latest revision as of 12:49, 2 November 2016

Returns a numerical value representing unrealized profit/loss of the strategy with StrategyIndex number.

Usage

pmms_strategy_openprofit(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_openprofit(0);