Page 38 of 38

Re: HMA - Hull Moving Average Indicators MT4

Posted: Fri Nov 28, 2025 10:40 am
by alllineid
mrtools wrote: Fri Dec 27, 2024 11:46 pm Added an on/off button to the triple hull also noticed the arrows may repaint on the Hma big so hopefully fixed that.
Hi @mrtools
I downloaded the ! HMA big (alerts + arrows +btn).ex4 indicator from this post: post1295556820.html#p1295556820
When loading it on MT4 for XAUUSD on M5 timeframe during backtesting, I'm encountering these errors in the log:

2025.11.28 07:28:19.851 2025.09.01 02:50:00 HMA big XAUUSD,M5: not initialized
2025.11.28 07:28:19.851 2025.09.01 02:50:00 HMA big XAUUSD,M5: zero divide in '! HMA big (alerts + arrows +btn).mq4' (199,38)
2025.11.28 07:28:19.824 2025.09.01 02:45:00 HMA big XAUUSD,M5: not initialized

It seems like there's an initialization issue and a divide-by-zero error at line 199, column 38 in the source code. Could you please take a look and update the indicator? Maybe add a check for zero denominators or ensure proper initialization with sufficient data bars.
Thanks a lot for your great work—I really appreciate it! Looking forward to the fix.
Best regards,
🌞alllineid

Re: HMA - Hull Moving Average Indicators MT4

Posted: Fri Nov 28, 2025 11:48 am
by mrtools
alllineid wrote: Fri Nov 28, 2025 10:40 am Hi @mrtools
I downloaded the ! HMA big (alerts + arrows +btn).ex4 indicator from this post: post1295556820.html#p1295556820
When loading it on MT4 for XAUUSD on M5 timeframe during backtesting, I'm encountering these errors in the log:

2025.11.28 07:28:19.851 2025.09.01 02:50:00 HMA big XAUUSD,M5: not initialized
2025.11.28 07:28:19.851 2025.09.01 02:50:00 HMA big XAUUSD,M5: zero divide in '! HMA big (alerts + arrows +btn).mq4' (199,38)
2025.11.28 07:28:19.824 2025.09.01 02:45:00 HMA big XAUUSD,M5: not initialized

It seems like there's an initialization issue and a divide-by-zero error at line 199, column 38 in the source code. Could you please take a look and update the indicator? Maybe add a check for zero denominators or ensure proper initialization with sufficient data bars.
Thanks a lot for your great work—I really appreciate it! Looking forward to the fix.
Best regards,
🌞alllineid
Hello, not sure what is causing the error, made a couple of little changes, but not sure if it did any good.