I have to scan stocks that are crossing its “Previous Day High”. Please provide code for the scanner. And how to back-test it

i have tried using LAST > HHV(51) and also LAST > REF(HIGH, 1)

But both give very wired results in backtesting

(I AM WORKING WITH 1 MIN CANDLE)

As per the above condition use day charts

LAST>REF(HIGH,1)

select alerts-> scanner to scan the stocks

In scanner in Pi there only option to choose Minutes OR Hours not Days

1 Like

Scanner works only with intraday data.

1 Like

But in Scanner, i only have option to choose “Minutes” or “Hours” … not days

I am facing the same issue… There is no option of applying scanner to day charts