0
[do_1, dh, dl] = request.security(syminfo.ticker, 'D', [open, high, low], lookahead=barmerge.lookahead_on)


plot(dh,   title='H',  style=plot.style_stepline,  color=color. New(color.red, 0),     linewidth=2,  trackprice=true)
plot(do_1, title='O',  style=plot.style_stepline,  color=color.new(color.yellow, 0),  linewidth=1,  trackprice=true)
plot(dl,   title='L',  style=plot.style_stepline,  color=color.new(color.green, 0),   linewidth=2,  trackprice=true)

With above this code possible to plot open, Day High and Day Low in the chart

i want plot a box in Day High and Day Low, separate for every day , Currently its not a break line.

Requesting help me add plot to my trading

plot(dh, title='H', style=plot.style_stepline, color=color. New(color.red, 0), linewidth=2, trackprice=true) plot(do_1, title='O', style=plot.style_stepline, color=color.new(color.yellow, 0), linewidth=1, trackprice=true) plot(dl, title='L', style=plot.style_stepline, color=color.new(color.green, 0), linewidth=2, trackprice=true)

Cant add any box code to this maybe i am wrong entry the code

0 Answers0