Skip to content
Wildflower
Join waitlist

Adaptive price zone, fractal chaos bands and projection bands in Studio

The adaptive price zone, fractal chaos bands, Widner's projection bands and the projection oscillator.

Updated 29 November 2026 · 4 minute read

Three sets of bands and one oscillator. You can use each one in the Indicator condition block, as an Indicator signal and in the condition exit. They work the same way in Backtest and in the Bot, and your indicator draws them on TradingView, NinjaTrader, MetaTrader 5, cTrader and Quantower. Where platforms differ, this page says which version Wildflower uses.

The bands

  • Adaptive price zone (APZ). Lee Leibfarth's bands, as his own code has them. The middle is an exponential average of an exponential average of the close. The width is the same double average of each candle's high less its low. Both use a speed set by the square root of your length, so they react faster than a normal average of that length. The top band is the middle plus your width number times the width. The bottom band is the middle less it.
  • Fractal chaos bands. Built on Bill Williams' fractals, the way cTrader publishes them. Over five candles, the middle one is a high fractal when its high is above the two before it and at least as high as the two after. A low fractal is the same for lows, and a high fractal counts first. The top band is the last high fractal, the bottom band the last low fractal. A fractal is only known two candles later, so a band moves then and is never drawn back. These read no length.
  • Projection bands. Widner's bands. Wildflower fits a straight line through your last highs, and another through your last lows. Each high is carried forward along its line to this candle, and the top band is the highest of them. The bottom band is the lowest of the carried lows. This candle's own high and low are among them, so every candle sits inside these bands, and touches one only when its high or low is the furthest out.

How a row reads the bands

For the adaptive price zone and fractal chaos bands, a row asks whether the close is above the top band or below the bottom one, crosses one, sits inside or outside, or touches one. It can also ask whether the bands are wider or narrower than a number of ticks you type.

Every close sits inside the projection bands, so a row asks only whether the close is inside or right at a band, whether the candle reaches a band (when its own high or low is the band), or how wide the bands are.

The projection oscillator

Where the close sits between the projection bands, from 0 at the bottom band to 100 at the top. Its trigger line is a simple average of it over the candles you choose. A row reads one of the two lines and asks above or below a level you type, crossing it, and the line rising, falling or turning. In the Bot and Backtest it can also ask whether the oscillator crosses its trigger line.

When it has a value

The adaptive price zone and the projection bands wait for your length. Fractal chaos bands need five candles, and then a fractal on each side. The projection oscillator needs your length plus its trigger line's candles less one. A condition exit reads the last 512 candles, so Studio refuses an exit row that needs more. A row that needs more candles than your warmup holds is refused when you put the strategy on an account.

Every number is yours

Each row asks for exactly the numbers its indicator reads, such as the length, the width of the zone or the trigger line's length. Nothing has a default.

What's next

The range indicator, Repulse, REI and six more.