Pmms set strategy named str

From MultiCharts
Jump to: navigation, search

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

Usage

pmms_set_strategy_named_str(StrategyIndex, VariableName, VariableValue)

Parameters:

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

Notes

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

Example

pmms_set_strategy_named_str(0, "CustomStr", "buy")