Think this should be changed here but it doesn't seem to affect the ma's.kvak wrote: Wed Feb 16, 2022 10:30 am Hello.
Dear Mrtools can you please help me.
I trying add signal to this indicator, but in some pairs, instruments have signal some bug. In average method EMA and Smoothed ma.
I noticed that on pairs where price is under 1, its ok. On the rest have bug.
Thank you.
from
Code: Select all
val[i] = (prc-avg)/(0.015*dev);
Code: Select all
val[i] = (dev!=0) ? (prc-avg)/(0.015*dev) : 0;