indicator · on price · open source

Fractal Chaos Bands indicator

Fractal Chaos Bands is a free open-source indicator. Fractal Chaos Bands mark the recent swing high/low midpoint and offset two thin ATR rails … Deepwick Script runs a subset of Pine Script.

v1Updated 3 Oct 2026▲ 0 users
Running…
Loading chart…

What Fractal Chaos Bands does

Fractal Chaos Bands mark the recent swing high/low midpoint and offset two thin ATR rails — designed for visualising the 'fair value' zone during choppy ranges.

  • A narrow pair of rails = tight range; price meanders between them.
  • A wide pair of rails = directional expansion; trail a stop on the inner side.

Source code

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

//@version=6
indicator("Fractal Chaos Bands", overlay=true)
len = input.int(20, "Lookback", minval=2, maxval=200)
fcMult = input.float(0.5, "ATR multiplier", minval=0.1, maxval=5, step=0.1)
colorLine = input.color("color.blue", "Color  Line")
colorUp = input.color("color.green", "Color  Up")
colorMid2 = input.color("color.teal", "Color  Mid2")
hi = ta.highest(high, len)
lo = ta.lowest(low, len)
mid = (hi + lo) / 2
upr = mid + ta.atr(len) * fcMult
lwr = mid - ta.atr(len) * fcMult
p_FCB_Upper = plot(upr, "FCB Upper", color=colorLine)
p_FCB_Lower = plot(lwr, "FCB Lower", color=colorUp)
fill(p_FCB_Upper, p_FCB_Lower, color=color.new(colorMid2, 92))

Comments

No comments yet.

Sign in to comment.