Pmm set my named str

From MultiCharts
Revision as of 12:46, 2 November 2016 by Angelina (talk | contribs) (Created page with "This function sets the string value of VariableName of the current strategy. ==Usage== <syntaxhighlight>pmm_set_my_named_str(VariableName, VariableValue)</syntaxhighlight> ...")
(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 current strategy.

Usage

pmm_set_my_named_str(VariableName, VariableValue)

Parameters:

VariableName - string variable.
VariableValue - string variable.

Notes

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

Example

if marketposition > 0 then pmm_set_my_named_str("Position", "Long");