Pmms set strategy named num

From MultiCharts
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)