Hi all,
I'm having a problem with a condition and I not able to solve it
example
VariableB = Momentum(EMA((20)), 1)[0]; // it returns a double positive or negative
if (VariableB < -0.1) // the condition does not work
....
if (VariableB > -0.1) // the condition does not work
....
I dont know where is the problem, seems the conditions does not accept decimal or negative values.
Could you help me?
Thank you
Comment