Audible alert for 1 min bar volume?

S

steve123

New member
Hello - I'm wondering if anyone is aware of any simple study for a sound alert when a 1-min volume bar reaches a pre-set level? Thanks! Steven
 
T

tomsk

Well-known member
VIP
@steve123 Sure thing here's an audible alert that fires off when volume is 1.5X the average volume

Code:
# Volume Avg Alert
# zztop
# 8.7.2016

input length = 50;
def avgVolume = Average(volume, length);
alert(volume > avgVolume * 1.5, "Volume > Average", Alert.BAR, sound.ding);
 
D

Derrick

New member
Hi!

That alert is awesome, but I always see volume alerts related to percentage change. How would you create an alert sound for a 1-min bar higher than 30K for stocks between 1 and 5$?
 

Similar threads

Top