Yeay194 / Publications
Forum
Calculation in custom indicator give wrong result
I created a custom indicator where one of the lines is the result of a subtraction of another line i.e. L2= L1[i]-L1[i-1]. The indicator works fine most of the time but occasionally gives a large +/- value. This is creating havoc to my EA and it is entering into trades spontaneously. Has anyone