Download MetaTrader 5

Zero divide error in indicator

To add comments, please log in or register
Bliksem
318
Bliksem  

Hi,

 

I've some trouble with my indicator. The error is:  Kaldex Indicator V1.3,M1: zero divide in 'Kaldex Indicator V1.3.mq4' (82,38).

I do not know what the problem is and how to solve it.  Is there someone who can help me with this?

Many Thanks!

Sander 

Bogdan Alin Baltatu
2935
Bogdan Alin Baltatu  

Hi,

Without the code source is imposible . The zero divide error appears when when a number is divide by 0 (x/0 will generate that error)

Jose Francisco Casado Fernandez
3129
Jose Francisco Casado Fernandez  
At the line 82, column 38 inside the code, the indicator is doing a division whose denominator is 0. Check that line. Regards.
To add comments, please log in or register