This question is related to scanners

I have difined some simple CROSSOVER( SMA(CLOSE, 50), SMA(CLOSE,200) ) means that SMA50 line should crossover SMA200 line from bottom, am I correct ?

If so please observe the attached, it is crossing in the reverse.

Please correct me if I am wrong, or else correct/fix the bug.

Thanks in advance

Ravi


hElLO tRaDeR,

"CROSSOVER( SMA(CLOSE, 50), SMA(CLOSE,200) ) means that SMA50 line should crossover SMA200 line from bottom."

You are Correct.

But, the attached showing reverse, its crossing from top to bottom, Even I changed crossover first SMA( CLOSE, 200 ) then SMA( CLOSE. 50 ). It is showing the same Screenshot in Scanner.

Hi, The Pi scanner works only during market hours. Why not try the code on the backtest engine ?