Pmm set global named str

From MultiCharts
Jump to navigation Jump to search

This function sets the global string value with VariableName name.

Usage

pmm_set_global_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_global_named_str("GlobalStr", symbolname + " is Long");