Pmms Strategy OpenProfit: Difference between revisions
From MultiCharts
(Created page with "Returns a numerical value representing unrealized profit/loss of the strategy with StrategyIndex number. == Usage == <syntaxhighlight>pmms_strategy_openprofit(StrategyIndex)<...") |
No edit summary |
||
Line 14: | Line 14: | ||
== Example == | == Example == | ||
<syntaxhighlight>Value1 = pmms_strategy_openprofit(0);</syntaxhighlight> | <syntaxhighlight>Value1 = pmms_strategy_openprofit(0);</syntaxhighlight> | ||
[[Category:Portfolio Trading]] |
Revision as of 16:10, 24 July 2014
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);