×

Sign up and get MultiCharts free

Use its powerful simulation mode with data included out of the box. Just fill out the form and start honing your trading skills with a few clicks.

Pmms set strategy named num - MultiCharts
Open main menu

Pmms set strategy named num

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)

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)