How to use " min " function in chartink scan?

Hi , if i want to scan for previous 5 , 6 candles to check their close above respective candles indicator value , ie 1st candle close should abv 1st candle vwap , or 2nd candle close should above 2nd candle vwap , like that the scan result should fetch any one of prev 5,6 candles closed above their indicator value , how to use "min " for this condition ?Thanks in advance .