given:
why do the chimes not make a sound on 15min chart?
Code:
def showarrows = yes;
def U1 = showarrows and signal > 0 and signal[1] <= 0;
#U1.SetPaintingStrategy(PaintingStrategy.BOOLEAN_ARROW_UP);
#U1.SetDefaultColor(Color.GREEN);
#U1.SetLineWeight(4);
def D1 = showarrows and signal < 0 and signal[1] >= 0;
#D1.SetPaintingStrategy(PaintingStrategy.BOOLEAN_ARROW_DOWN);
#D1.SetDefaultColor(Color.RED);
#D1.SetLineWeight(4);
def barnumber = BarNumber()[10];
AddChartBubble((barnumber and U1), if isUp then low else high, if showarrows and signal > 0 and signal[1] <= 0 then "R:" else "" , if Colorbars == 3 then Color.PLUM else Color.UPTICK, no);
Alert(condition = barnumber and U1, "", Alert.Once, Sound.Chimes);
AddChartBubble((barnumber and D1), if isUp then low else high, if showarrows and signal < 0 and signal[1] >= 0 then "R:" else "" , if Colorbars == 3 then Color.PLUM else Color.DOWNTICK, yes);
Alert(condition = barnumber and D1, "", Alert.Once, Sound.Chimes);
why do the chimes not make a sound on 15min chart?
Last edited by a moderator: