Pine Script - Hide the inputs

Viewed 826

Is there a way to hide this from the input window? Image attached for reference

len = input(5, minval=1, title="EMA_1")
src = input(close, title="Source")
out = ema(src, len)
plot(out, color=red,linewidth=1, title="EMA_1", transp=0)

len1 = input(20, minval=1, title="EMA_2")
src1 = input(close, title="Source")
out1 = ema(src1, len1)
plot(out1, color=green, title="EMA_2", transp=0)
1 Answers

You must exclude the input operator

len = 5
src = close
out = ema(src, len)
plot(out, color=red,linewidth=1, title="EMA_1", transp=0)

len1 = 20
src1 = close
out1 = ema(src1, len1)
plot(out1, color=green, title="EMA_2", transp=0)
Related