Can anyone help to resolve this is there a place where you can check the fault codes?
Sergei Kotcherov:
Can anyone help to resolve this is there a place where you can check the fault codes?
Can anyone help to resolve this is there a place where you can check the fault codes?

How to solve zero divide error in my code?
- 2021.12.26
- www.mql5.com
Hello guys, I am running into a zero divide error because my formula is based on the percentage change from the lowest/highest the last x bars and...
Always check for not dividing by zero.
Best and shortest way of coding every time you do a division:
val = dividend!=0 ? num/dividend : 0;

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