Valume indicator

Hi, I realy thank full to all of support department to helping everything to everyone . I am new to pi and i wants to create 1 filter of volume , Like if i have only 1 script in my Watch list like icicibank . i wnat may filter show me if Icici bank rise 1% in last 10 minutes . pi will give me pop up messenge Please i am waiting for respons with lots of hope …!! Thanks and regards Optimus

you can create scripted alerts and can use the below code and select 10 minute time frame

Buy Signals
Evaluates true when 1% gap up in price over the previous candle on high volume

LOW > REF(HIGH,1) * 1.01 AND
VOLUME > SMA(VOLUME, 5) * 2

Sell Signals

Evaluates true when 1% gap down in price over the previous candle on high volume

HIGH < REF(LOW,1) * 0.99 AND
VOLUME > SMA(VOLUME, 5) * 2

sorry bro this code is not working