Hi,
I'm experiencing a serious performance issue with the Position Sizer EA (latest version).
After a few seconds of running the EA on a live chart, the chart freezes:- New candles stop updating or appear with heavy delay- Other indicators (Volume Profile Daily/Weekly, VWAP, etc.) stop working completely- Price lines and objects become laggy
When I remove the EA, everything immediately starts working normally again. It feels like the EA is blocking the terminal's event loop / chart processing.
This happens even with default settings and no trading activity. The problem is reproducible on different symbols and timeframes.
I suspect heavy calculations inside OnTimer / RefreshValues, frequent ChartRedraw calls, loops over PositionsTotal/OrdersTotal, and the large number of graphical objects are the main causes.
Has anyone else noticed this? Are there known workarounds or planned optimizations for reducing CPU load and preventing the chart from freezing?
Thank you.