Please tell me how to create scanner where Volume is higher than the maximum volume in the previous few candles
You can refer to the below link for the scanner which filters out stocks where the current candle volume is higher than the maximum volume observed in the previous 12 candles.
https://scanners.streak.tech/scanner/volume-burst-on-5-min-candle
You can change the number of candles as per your requirement.