indicator · on price · open source

Inside Bar

Deepwick · @deepwickv1Updated 2 Oct 2026▲ 0 users
Running…
Loading chart…

About

Inside bar marker — a diamond above every bar whose entire range sits inside the previous bar's range. Tight consolidation patterns that often precede breakouts.

  • Multiple consecutive inside bars = compression; breakout direction favours the prior swing.
  • Combine with volume to confirm the expansion leg.

Source code

//@version=5
indicator("Inside Bar", overlay=true)
inside = high < high[1] and low > low[1]
plotshape(inside, "Inside Bar", style=shape.diamond, location=location.abovebar, color=color.blue, text="IB")
alertcondition(inside, "Inside bar", "An inside bar printed")

Comments

No comments yet.

Sign in to comment.