to get volume spike

I want to get alert if volume bar reached more than 1million in 1 minute 1 day chart. I don’t want MA multiplier. system should blindly say if the selected script volume crossed 1million. I tried “VOLUME > 1000000” code today. No result found.

Can anyone say the right code for achieve this?

This is achievable on Pi. The above TradeScript code for Pi looks good.

Watch for the Yellow Alert on the Scanner when the Conditions are triggered on any script.