Here is my script, if i wanna turn show no for symb11 AND the label off, how should i do it? I only know how to turn the plot off but the label will still be there
input symb11 = "spy";
input show_symb11=yes;
def price = close(symb11);
plot symb1 = movingAverage(averageType.EXPONENTIAL,price,3);
symb1.SetHiding(!show_symb11);
addLabel(1, symb11, symb1.TakeValueColor());
input symb11 = "spy";
input show_symb11=yes;
def price = close(symb11);
plot symb1 = movingAverage(averageType.EXPONENTIAL,price,3);
symb1.SetHiding(!show_symb11);
addLabel(1, symb11, symb1.TakeValueColor());