Pls advise ref function giving wrong results in pI

I m Mmmmmmmmmmmmmmmmm

try this ::

CLOSE > REF (CLOSE,1) AND VOLUME > REF (VOLUME,1)
#CLOSE AUTOMATICALLY MEANS LAST VALUE SO ,1 IS TO REFER TO THE PREVIOUS DAYS CLOSING AND #VOLUME FIGURES RESPECTIVELY

HOPE IT HELPS.