Hi everybody!
With new plotbar and plotcandle functions you may plot somewhat "stretched" daily bars over intraday chart. Enjoy!
With new plotbar and plotcandle functions you may plot somewhat "stretched" daily bars over intraday chart. Enjoy!
// NOTE: add this script on intraday chart study("Example 5") higherRes = input("D", type=resolution) is_newbar(res) => t = time(res) change(t) != 0 ? 1 : 0 o = security(tickerid, higherRes, open) h = security(tickerid, higherRes, high) l = security(tickerid, higherRes, low) c = security(tickerid, higherRes, close) plotbar(is_newbar(higherRes) ? o : na, h, l, c, color=c >= o ? lime : red)