Zero divide error in indicator

 

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 

Files:
 

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)

 
At the line 82, column 38 inside the code, the indicator is doing a division whose denominator is 0. Check that line. Regards.