Pmms set strategy named str

From MultiCharts
Revision as of 17:57, 1 November 2016 by Angelina (talk | contribs) (Created page with "This function sets the string value of VariableName of the strategy with StrategyIndex number. ==Usage== <syntaxhighlight>pmms_set_strategy_named_str(StrategyIndex, Variabl...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to 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")