I got tired of setting price alerts that only work half the time during market hours and never in premarket or after hours so I made my own. Enjoy!!!
#This is a price alert that works in premarket and after hours!
input price_below_alert_value =0.00;
input price_above_alert_value =1000.00;
#price below triggers alert
Alert(close <= price_below_alert_value, "price alert!!!!!!", Alert.BAR, Sound.Ding);
Alert(close <= price_below_alert_value, "price alert!!!!!!", Alert.BAR, Sound.Ding);
Alert(close <= price_below_alert_value, "price alert!!!!!!", Alert.BAR, Sound.Ding);
#price above triggers alert
Alert(close >= price_above_alert_value, "price alert!!!!!!", Alert.BAR, Sound.Ding);
Alert(close >= price_above_alert_value, "price alert!!!!!!", Alert.BAR, Sound.Ding);
Alert(close >= price_above_alert_value, "price alert!!!!!!", Alert.BAR, Sound.Ding);
#Danny Kellogg copyright2021
shareable link below
http://tos.mx/0VbDGfu
#This is a price alert that works in premarket and after hours!
input price_below_alert_value =0.00;
input price_above_alert_value =1000.00;
#price below triggers alert
Alert(close <= price_below_alert_value, "price alert!!!!!!", Alert.BAR, Sound.Ding);
Alert(close <= price_below_alert_value, "price alert!!!!!!", Alert.BAR, Sound.Ding);
Alert(close <= price_below_alert_value, "price alert!!!!!!", Alert.BAR, Sound.Ding);
#price above triggers alert
Alert(close >= price_above_alert_value, "price alert!!!!!!", Alert.BAR, Sound.Ding);
Alert(close >= price_above_alert_value, "price alert!!!!!!", Alert.BAR, Sound.Ding);
Alert(close >= price_above_alert_value, "price alert!!!!!!", Alert.BAR, Sound.Ding);
#Danny Kellogg copyright2021
shareable link below
http://tos.mx/0VbDGfu
Last edited: