Re: 🔺 MT5 XARD - Simple Trend Following Trading System

1811
For me, this new version 7.48 displays correctly only for TF's 1 hour or higher, but for shorter TF's, the dashboard is empty no candles.

Corrected this warning (possible loss of data due to type conversion from 'int' to 'ushort' XU EFFECT v7.48.mq5 926 42) but still it work's as i wrote above

And what i can see it works as above 1h but not on all symbols


Code: Select all

Fixed! Here's what was causing the warning and what was changed:

Root cause: FileOpen() in MQL5 declares its third parameter (the delimiter) as ushort, but SafeFileOpen passed an int directly — the compiler warned that narrowing from int → ushort could lose data.

Fix applied (line 926):

diff
- int handle = FileOpen(filename, mode, delimiter);
+ int handle = FileOpen(filename, mode, (ushort)delimiter);
These users thanked the author Vetis for the post (total 3):
SOLESHOE, xard777, Curioso

Re: 🔺 MT5 XARD - Simple Trend Following Trading System

1818
I tried on IC Markets, FXCM, PepperStone and same results, so I also reveretd back to version 7.45 (its working fine)
I also have noticed v7.49 takes too much time to load , also when switching time frames it freezes, when I remove the indicator , ocasionally objects are left on the chart and have to close the chart
2026.03.18 08:26:48.489 XU EFFECT v7.49 (ETHUSD,H4) XU v7.49: Timeframe changed - Forcing data sync
2026.03.18 08:26:48.495 XU EFFECT v7.49 (ETHUSD,H4) XU_EFFECT v7.49 WARNING: VCD_ST handles created but test copy failed
2026.03.18 08:26:48.505 XU EFFECT v7.49 (ETHUSD,H4) XU_EFFECT v7.49 WARNING: VCD_ST handles created but test copy failed