Pmms set strategy named num

From MultiCharts
Revision as of 17:33, 1 November 2016 by Angelina (talk | contribs) (Created page with "This function sets the value of VariableName of the strategy with StrategyIndex number. ==Usage== <syntaxhighlight>pmms_set_strategy_named_num(StrategyIndex, VariableName, ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This function sets the value of VariableName of the strategy with StrategyIndex number.

Usage

pmms_set_strategy_named_num(StrategyIndex, VariableName, VariableValue)

Parameters:

StrategyIndex - numeric variable.
VariableName - string variable.
VariableValue - numeric variable.

Notes

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

Example

pmms_set_strategy_named_num(0, "CustomVar", 5)