I have tried this code, but it doesn't work. I tried to make the vertical line 10 bars after the input.time
//@version=5 indicator("Mulitple bars after time input", overlay = true) // Date/Time Input inp_time1 = input.time(timestamp("21 Mar 2022 00:00 +0000"), "Date", confirm = true) var barCount1 = 0 barCount1 := inp_time1 ? 0 : barCount1 + 1 if barCount1 == 10 line.new(bar_index, open, bar_index, close, extend = extend.both, color = color.green)