Day_Week_High_Low
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// ©sankettatiya My Contact No 8378987574

//@version=5
indicator(title="Day_Week_High_Low", shorttitle="D_W_H_L", overlay=true)

D_High = request.security(syminfo.tickerid, 'D', high[1])
D_Low = request.security(syminfo.tickerid, 'D', low[1])
W_High = request.security(syminfo.tickerid, 'W', high[1])
W_Low = request.security(syminfo.tickerid, 'W', low[1])

plot(D_High, title="Pre.Day High",style=plot.style_line, color=color.rgb(42, 241, 108),linewidth=1) 
plot(W_High, title="Pre.Wk High",style=plot.style_line, color=color.rgb(12, 179, 40), linewidth=1) 
plot(D_Low, title="Pre.Day Low",style=plot.style_line, color=#ff7a52, linewidth=1) 
plot(W_Low, title="Pre.Wk Low",style=plot.style_line, color=color.rgb(124, 8, 70), linewidth=1) 