Hope that someone can help.
I have problem with floating error. I know that it is because you are deviding with zero.
I have tried though to multiply with 1.0000001 but it does not help.
Anyone that can suggest a better way to write the code below?
Thanks in advance.
Value1= ((C+2*StdDev(C,20)-average(C,20)) / (4*(StdDev(C,20)))*100);