Pmms strategies get by symbol name

From MultiCharts
Revision as of 19:16, 1 November 2016 by Angelina (talk | contribs) (Created page with "Returns an index of the strategy based on instrument name (-1, if the instrument is not found). If several strategies are applied to the same instrument, then the number of on...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Returns an index of the strategy based on instrument name (-1, if the instrument is not found). If several strategies are applied to the same instrument, then the number of one of these strategies will be returned.

Usage

pmms_strategies_get_by_symbol_name(SymbolName)

Parameters:

SymbolName - string variable.

Notes

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

Example

Value1 = pmms_strategies_get_by_symbol_name("MSFT");