Programming

 

I would like to know how to tell if the chart window is visible. I want to modify an indicator  to detect pin bars and give a sound. I'd like to make sure only the current chart receives the sound and not any of the others that are not visible. 

 Regards Ricky  

 
Hi Please see:

https://www.mql5.com/en/docs/chart_operations/chartgetinteger

CHART_BRING_TO_TOP

Show chart on top of other charts

bool   w/o

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