BasedPhantom
New member
Hi, does anyone know how to add a bell notification alert to a script, more specifically this script:
The script plots a shape to the bottom of a candle if said candle's volume is greater than the previous one.
I'm seeking help to add a bell notification alert every time the script makes a plot.
Credit to the original creator of the script who hasn't been active for a year: https://www.hahn-tech.com/ans/mark-candle-if-volume-x-percent-greater-than-previous/
Code:
#breakoutbar
input previousbartimes = 1;
def previousbar = volume[1];
def curVolume = volume;
def breakoutbar = curVolume >= previousbar * previousbartimes;
plot bob = (if breakoutbar then low else Double.NaN);
bob.SetPaintingStrategy(PaintingStrategy.arrow_up);
The script plots a shape to the bottom of a candle if said candle's volume is greater than the previous one.
I'm seeking help to add a bell notification alert every time the script makes a plot.
Credit to the original creator of the script who hasn't been active for a year: https://www.hahn-tech.com/ans/mark-candle-if-volume-x-percent-greater-than-previous/