SymbolSelect

Selects a symbol in the Market Watch window or removes a symbol from the window.

bool  SymbolSelect(
   string  name,       // symbol name
   bool    select      // add or remove
   );

Parameters

name

[in] Symbol name.

select

[in] Switch. If the value is false, a symbol should be removed from MarketWatch, otherwise a symbol should be selected in this window. A symbol can't be removed if the symbol chart is open, or there are open positions for this symbol.

Return Value

In case of failure returns false.