Tradingview Pine script
Indicator to Plot sign at middle of a candle either BankNifty or Nifty.
//@version=5
indicator("`plot()`", "", true)
plot((low+((high-low)/2)), "Crosses in body center", color.rgb(97, 160, 231) , 2, plot.style_cross)
Tradingview Pine script
Indicator to Plot a line on chart for market Open, day High, day Low, Closing
//@version=4
study("Test", "Test", true)
[do,dh,dl,dc] = security(syminfo.ticker, "D", [open,high,low,close], lookahead=barmerge.lookahead_on)
plot(dh, title="High", color=color.rgb(72, 229, 15), linewidth=2, trackprice=true)
plot(do, title="Open", color=color.rgb(243, 230, 118), linewidth=2, trackprice=true)
plot(dl, title="Low", color=color.rgb(241, 23, 12), linewidth=2, trackprice=true)
plot(dc, title="Close", color=color.rgb(244, 176, 109), linewidth=1, trackprice=true)
0 Comments
Post a Comment