How do I add image/logo watermark on tradingview using pine-script?
I am able to add text :
study("WaterMark + 4EMA [SilentKreator]", shorttitle="EMA + WM", overlay=true)
len1 = input(7, minval=1, title="EMA1")
len2 = input(25, minval=1, title="EMA2")
len3 = input(55, minval=1, title="EMA3")
len4 = input(200, minval=1, title="EMA4")
out1 = ema(close, len1)
out2 = ema(close, len2)
out3 = ema(close, len3)
out4 = ema(close, len4)
plot(out1, title="EMA1", color=color.yellow)
plot(out2, title="EMA2", color=color.red)
plot(out3, title="EMA3", color=color.green)
plot(out4, title="EMA4", color=color.blue)
Nombre = input("Nombre", title="WaterMark")
vcolor = input(color.new(color.white, 95), title="Color")
a = label.new(bar_index, high, Nombre,
textcolor=vcolor,
style=label.style_none, yloc=yloc.price, size=size.huge)
label.delete(a[1])
b = label.new(bar_index - 50, high, Nombre,
textcolor=vcolor,
style=label.style_none, yloc=yloc.price, size=size.huge)
label.delete(b[1])
c = label.new(bar_index - 150, high, Nombre,
textcolor=vcolor,
style=label.style_none, yloc=yloc.price, size=size.huge)
label.delete(c[1])
d = label.new(bar_index - 500, high, Nombre,
textcolor=vcolor,
style=label.style_none, yloc=yloc.price, size=size.huge)
label.delete(d[1])
e = label.new(bar_index - 1000, high, Nombre,
textcolor=vcolor,
style=label.style_none, yloc=yloc.price, size=size.huge)
label.delete(e[1])
f = label.new(bar_index - 1500, high, Nombre,
textcolor=vcolor,
style=label.style_none, yloc=yloc.price, size=size.huge)
label.delete(f[1])
g = label.new(bar_index - 2000, high, Nombre,
textcolor=vcolor,
style=label.style_none, yloc=yloc.price, size=size.huge)
label.delete(g[1])
h = label.new(bar_index - 4000, high, Nombre,
textcolor=vcolor,
style=label.style_none, yloc=yloc.price, size=size.huge)
label.delete(h[1])
i = label.new(bar_index - 6000, high, Nombre,
textcolor=vcolor,
style=label.style_none, yloc=yloc.price, size=size.huge)
label.delete(i[1])
Is this officially supported or possible with pinescript? I have been searching for hours but no one can do it except https://www.tradingview.com/script/ue1GHiNc-CryptoRADO-Watermarking-Tool-by-Cryptorhythms/