Hi, Try replacing any line of division code in the EA with a piece of code to bypass the zero divide situation as in the example below. if (dividefactor!=0)result = MathRound((data1 - data2) / dividefactor);else result = 0;