Please suggest code for below condition

Hi,

Need code for te following:

Candle close today > Candle close 4 days earlier

So if today is Friday then comparison is with Candle close on Monday.

Thanks and Regards

For the above given condition use day candle time frame

CLOSE > REF(CLOSE,1) AND CLOSE > REF(CLOSE,2) AND
 CLOSE > REF(CLOSE,) AND CLOSE > REF(CLOSE,4)