background
//@version=2 study("Weekly TBL") linebreak_tickerid2 = linebreak(tickerid, "close",2) linebreak_close2 = security(linebreak_tickerid2, 'W', close) plot(linebreak_close2,title='Weekly Line',offset=5) M2 = linebreak_close2 K2 = linebreak_close2[1] plotcandle(K2, K2, M2, M2, title='TBL Close', color = M2 < K2 ? aqua : yellow, wickcolor=black) data = M2 - K2 plotarrow(data,colorup = green ,colordown = black, transp =30 ,offset = 5,minheight = 30, maxheight = 70)