Symbol open in a chart ?

 
Is there any way to check if a symbol is opened in a chart for MT5 ? 
 
Sunfire: Is there any way to check if a symbol is opened in a chart for MT5 ? 

Yes! One way is to loop through all the open charts and check for the symbol — Chart Operations

Documentation on MQL5: Chart Operations
Documentation on MQL5: Chart Operations
  • www.mql5.com
Chart Operations - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
 
Fernando Carreiro #:

Yes! One way is to loop through all the open charts and check for the symbol — Chart Operations

OK, thank, got it.
Reason: