I have a problem with the Explorer, as follows:
When I used custom formulars to scan stocks, e.g:
PlusDM:=If(H>Ref(H,-1) AND L>=Ref(L,-1), H-Ref(H,-1),If(H >Ref(H,-1) AND L<ref(L,-1)
AND H-Ref(H,-1)> Ref(L,-1)-L, H-Ref(H,-1),0));
PlusDI:=100*Wilders(PlusDM,14)/ATR(14);
MinusDM:=If(L<ref(L,-1) AND H<=Ref(H,-1), Ref(L,-1)-L,If(H>Ref(H,-1) AND L<ref(L,-1)
AND H-Ref(H,-1)<ref(L,-1)-L, Ref(L,-1)-L,0));
MinusDI:=100*Wilders(MinusDM,14)/ATR(14);
DIDif:=Abs(PlusDI-MinusDI);
DISum:=PlusDI+MinusDI;
ADXF:=100*Wilders(DIDif/DISum,14);
Cross(ADXF,20)
to scan stocks that have ADXF just crossed above 20, it would return some wrong answers,i.e. some stocks that ADXF might have ADXF much below 20. The strange thing is that it would return a list of several stocks, some are correct, some are wrong.
However, if I use ready made fuctions, such as:
Cross(ADX(14), 20)
then the results would be totally correct, all stocks returned would have ADX(14) just crossed above 20.
I have tried the same with different formulars, it happened the same way.
Have anyones of U ever got the same problem of my? And if U know how to fix it, please let me know.
Many thanks in advance.