Pmm set my named str

From MultiCharts
Jump to: navigation, 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");