Add symbol to Marketwatch

 
How can I programmatically add a symbol to the marketwatch?  Thank you.
 
Documentation on MQL5: Market Info / SymbolSelect
Documentation on MQL5: Market Info / SymbolSelect
  • www.mql5.com
Market Info / SymbolSelect - Reference on algorithmic/automated trading language for MetaTrader 5
 
honest_knave:
SymbolSelect() 


OK, right :)   Sorry, I misread that documentation a bit. ("Selects a symbol in the Market Watch window" really means "Adds a symbol to ....")

Another question please -- How can I tell if a symbol is already in the MW?

T‌hanks!

 
Charles Stangor:


OK, right :)   Sorry, I misread that documentation a bit. ("Selects a symbol in the Market Watch window" really means "Adds a symbol to ....")

Another question please -- How can I tell if a symbol is already in the MW?

T‌hanks!

SymbolInfoInteger() with SYMBOL_SELECT
 
TY!