indicator · on price · open source

Inside Bar indicator

Inside Bar is a free open-source indicator by @deepwick. Inside bar marker — a diamond above every bar whose entire range sits inside the previous… Deepwick Script runs a subset of Pine Script.

Deepwick · @deepwickv1Updated 3 Nov 2026▲ 0 users
Running…
Loading chart…

What Inside Bar does

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

Deepwick Script, a subset of Pine Script · read-only

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

Comments

No comments yet.

Sign in to comment.