below is my code
// This Pine Script™ code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © Bao1984
//@version=5
indicator("ATR in Percentage", "D", format=format.percent)
lengthofAtr = input.int(5, "ATR length", minval=2, group = "Length setting", inline = "01")
lengthofWMA = input.int(10, "WMA optimized by ATR length", minval=2, group = "Length setting", inline = "02")
noholiday = input.bool(true, "Using holiday periods", group = "user define", inline = "01")
atrInPercentage = ta.atr(lengthofAtr)/(hlcc4*0.01)
atrweightedWMA = (ta.wma(ta.atr(lengthofAtr), lengthofWMA))/(ohlc4*0.01)
plot(atrInPercentage, title = "ATR in Percentage" + str.tostring(atrInPercentage), color=color.teal, linewidth=1, trackprice=true)
plot(atrweightedWMA, title = "ATR weighted WMA", color=color.gray, linewidth=1 )
I want to see these two words display on status line of chart