private int oper = 8;
CrossAbove(DM(oper).DiPlus, DM(oper).DiMinus, 1)
and ADX(oper)[0]>23
but when i print in Output all values I have different values then DM indicator on my workspace.
I print this :
Print(Time[0].ToString());
Print("The current D+ value is " + DM(oper).DiPlus[0]);
Print("The current D- value is " + DM(oper).DiMinus[0]);
Print("The current ADX value is " + ADX(oper)[0]);
The ADX is correct but DiPlus and DiMinus are different ... and so some signal are not true.
Why this ?
Thanks in advance.
Comment