Low CPU load on my system with the indicator loaded on 4 charts:
Try RannForex-Server.
2024.03.3019:28:34.579 iForexSessions (XAUUSD,M1) >> CTimeZoneInfo::HistoryBrokerOffset() FAILED: The requested date 2024.03.24is not found in the available history
2024.03.3019:28:34.579 iForexSessions (XAUUSD,M1) >> CTimeZoneInfo::HistoryBrokerOffset() FAILED: The requested date 2024.03.24is not found in the available history
2024.03.3019:28:34.579 iForexSessions (XAUUSD,M1) >> CTimeZoneInfo::HistoryBrokerOffset() FAILED: The requested date 2024.03.24is not found in the available history
2024.03.3019:28:35.551 iForexSessions (XAUUSD,M1) >> CTimeZoneInfo::HistoryBrokerOffset() FAILED: The requested date 2024.03.24is not found in the available history
2024.03.3019:28:35.551 iForexSessions (XAUUSD,M1) >> CTimeZoneInfo::HistoryBrokerOffset() FAILED: The requested date 2024.03.24is not found in the available history
2024.03.3019:28:35.551 iForexSessions (XAUUSD,M1) >> CTimeZoneInfo::HistoryBrokerOffset() FAILED: The requested date 2024.03.24is not found in the available history
2024.03.3019:28:36.554 iForexSessions (XAUUSD,M1) >> CTimeZoneInfo::HistoryBrokerOffset() FAILED: The requested date 2024.03.24is not found in the available history
2024.03.3019:28:36.554 iForexSessions (XAUUSD,M1) >> CTimeZoneInfo::HistoryBrokerOffset() FAILED: The requested date 2024.03.24is not found in the available history
2024.03.3019:28:36.554 iForexSessions (XAUUSD,M1) >> CTimeZoneInfo::HistoryBrokerOffset() FAILED: The requested date 2024.03.24is not found in the available history
Fixed failed calculation of broker GMT offset when the terminal is started with the indicator is already attached to a chart (bug reported by @fxsaber).
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Constant high load on the CPU core.
The visualization of trading sessions is almost invisible.
Constant high load on the CPU core.
Low CPU load on my system with the indicator loaded on 4 charts:
I also tried increasing "Number of days to display" from default 35 to 100 on the 4 charts, switching timeframes frequently, yet the CPU load is low.
I also tried resizing the y (price) axis and zooming in/out to test "CHARTEVENT_CHART_CHANGE" event and yet CPU usage does not exceed 1%.
Edit:
I used the Profiler and compiled the indicator with/without optimizations -> I failed to spot major bottlenecks in the code
Incorrectly determined the time offset.
I tried this code.
Result.
I would be grateful if you find a broker with weird configuration of the chart bars thus giving wrong GMT offset.
The visualization of trading sessions is almost invisible.
It is a MT5 issue, just resize the price axis by holding down the left mouse button and drag down.
![]()
Edit: click the image frame above to showLow CPU load on my system with the indicator loaded on 4 charts:
It is a MT5 issue, just resize the price axis by holding down the left mouse button and drag down.
Try RannForex-Server.
Try RannForex-Server.
negligible CPU load.
My PC specs:
RannForex MetaTrader 5 x64 build 4260 started for RannForex Limited
Windows 11 build 22631, 24 x 13th Gen Intel Core i7-13700KF, AVX2, 24 / 31 Gb memory, 130 / 199 Gb disk, UAC, GMT+3
Update 31 March 2024 - version 1.35
Fixed failed calculation of broker GMT offset when the terminal is started with the indicator is already attached to a chart (bug reported by @fxsaber).