Download MetaTrader 5

chart get focus

To add comments, please log in or register
Billy Angdijaya
7297
Billy Angdijaya  

hi,

i wonder how i can set chart get focus?

i work on OnChartEvent but when i click terminal then the chart is out of focus and OnChartEvent doesn't work.

i need to set chart onfocus when i click out of chart, so OnChartEvent keep working.

Thanks in advanced

Vladimir Karputov
Moderator
55991
Vladimir Karputov  
angdijaya :

hi,

i wonder how i can set chart get focus?

i work on OnChartEvent but when i click terminal then the chart is out of focus and OnChartEvent doesn't work.

i need to set chart onfocus when i click out of chart, so OnChartEvent keep working.

Thanks in advanced

Maybe this script is the answer: 
Переключение графиков
Переключение графиков
  • votes: 15
  • 2014.07.30
  • Karputov Vladimir
  • www.mql5.com
Скрипт переключает все открытые графики через определённый интервал.
Billy Angdijaya
7297
Billy Angdijaya  
barabashkakvn:
Maybe this script is the answer: 

i'll take a look for it.

thank you

To add comments, please log in or register