Hi
A value in your indicator is divided by zero. This is a fatal error in C++ or MQL5
You can fix this by correcting the part of the code.
Example:
if(your_value > 0)
{
execute code
Do the division
}
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi I get this error message when running my EA in the Experts Tab:
2017.11.14 08:00:00.419 EURAUD.Admiral.Trend.(i).28_10_2017 EURAUD,H1: zero divide in 'EURAUD.Admiral.Trend.(i).28_10_2017.mq4' (558,44)
Everything compiles ok in the editor.
Can someone please clarify what this error message means ? and what is the fix?
Regards Mike