Chart Events Lag

To add comments, please log in or register
stamat
28
stamat  
I'm experiencing huge lags when using chart events (e.g. CHARTEVENT_OBJECT_CLICK, CHARTEVENT_KEYDOWN). After a chart object (button) or key has been pressed the response time is around 1-2 seconds. Is it just me?
Documentation on MQL5: Standard Constants, Enumerations and Structures / Chart Constants / Types of Chart Events
  • www.mql5.com
Standard Constants, Enumerations and Structures / Chart Constants / Types of Chart Events - Documentation on MQL5
Teorod
4
Teorod  
For me too. I think these events can happen after a new tick only, but no idea why? I made a 1 second OnTimer event handler, it has a same problem.
Mahdi Fatemi
193
Mahdi Fatemi  
stamat:
I'm experiencing huge lags when using chart events (e.g. CHARTEVENT_OBJECT_CLICK, CHARTEVENT_KEYDOWN). After a chart object (button) or key has been pressed the response time is around 1-2 seconds. Is it just me?

I have the same problem too, is there any way to fix it ?

Buttons some times work and some times don't work.

whroeder1
17925
whroeder1  
  1. OnTimer/OnTick/OnCalculate/OnChartEvent can not run while the code is in one of the others. Make sure you do the minimum amount of work necessary.
  2. My GUI (MT4) has no delays with keys or button click (even with 1 second timer.) There can be a delay in removing the GUI when there is a network delay in OrderSend.
              Indicators: 'Money Manager Graphic Tool' indicator by 'takycard' Forum - Page 6
To add comments, please log in or register