Difference between revisions of "Pmms get strategy named num"

From MultiCharts
Jump to navigation Jump to search
(Created page with "Returns a numerical value, indicating the value of VariableName of the strategy with StrategyIndex number. ==Usage== <syntaxhighlight>pmms_get_strategy_named_num(StrategyIn...")
 
 
Line 14: Line 14:
 
==Example==
 
==Example==
 
<syntaxhighlight>pmms_get_strategy_named_num(0, "CustomVar")</syntaxhighlight>
 
<syntaxhighlight>pmms_get_strategy_named_num(0, "CustomVar")</syntaxhighlight>
 +
 
[[Category:Portfolio Money Management]]
 
[[Category:Portfolio Money Management]]

Latest revision as of 17:29, 1 November 2016

Returns a numerical value, indicating the value of VariableName of the strategy with StrategyIndex number.

Usage

pmms_get_strategy_named_num(StrategyIndex, VariableName)

Parameters:

StrategyIndex - numeric variable.
VariableName - string variable.

Notes

This function can only be used in signals intended to be used with the Portfolio Trader.

Example

pmms_get_strategy_named_num(0, "CustomVar")