Latest MT5 update causes lag/freezing only when using my indicators/template - page 12

 
Sylla Camara #:

Hi everyone, I found a working workaround for the MT5 UI lag issue (Build 5572) when using EarnForex Position Sizer / Position Size tools.

Symptoms: candles/ticks update normally, but the MT5 terminal becomes very laggy when moving/resizing the window (UI stutter), and the problem disappears as soon as you remove the Position Sizer from the chart.

Fix / Workaround (confirmed on Build 5572):

  1. Open Position Sizer → Inputs

  2. Set ShowMainLineLabels = false

  3. Change the label font to Arial (or another simple font like Tahoma/Consolas)

  4. Restart the terminal (optional, but helps sometimes)

After disabling the main line labels and switching to Arial, the UI lag completely stopped on my side.

It looks like the slowdown is related to chart text/label rendering in the latest build, so disabling those line labels avoids the heavy redraw calls.

Hope this helps — it fixed it instantly for me.

Oh you absolute legend! I was having the exact same problem with the same EA - I reinstalled a prev version of MT5, then for some reason, it updated and I couldn't be bothered to look for the old file again. This worked perfectly. I hope the markets are kind to you this year, and for many years to come bro!
 
Forex is OK, but XAUUSD chart is still lagging.
 
tdtsz #:
Forex is OK, but XAUUSD chart is still lagging.
All become normal now.