No Active Bar
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © NeoDaNomad

//@version=5
indicator("No Active Bar", 'N.A.B.', overlay=true)
barcolor(color.rgb(0,0,0), offset=-1 )
//plot(bar_index, color=color.rgb(0,0,0)
plot(barstate.isconfirmed ? high : na, color=input.color(color.rgb(0,0,0)), style=plot.style_stepline, linewidth=1)
plot(barstate.isconfirmed ? low : na, color=input.color(color.new(color.orange, 50)), style=plot.style_stepline, linewidth=1)
