Code: Select all
If CheckAlert Then // you need to turn on alert even if you don't use it within your code for this to work
Begin
Value1 = Text_New_bn( currentbar, High - (Range/2), "Bars" );
Text_SetStyle(Value1, 0, 2);
Text_SetColor(Value1, White);
plot1 (1);
End;