Noon Barbari
Sign up
Indicators

Trend Magic

A wick-anchored ATR band that ratchets one way or the other depending on the sign of CCI.

Trend Magic combines an ATR band with the Commodity Channel Index (CCI) to produce a single trend line. When CCI is non-negative, the line is anchored to `low − ATR` (a rising support floor); when CCI turns negative, it switches to `high + ATR` (a falling resistance ceiling). The line only moves in the favourable direction — it never gives ground in the active trend.

Anchoring to wick extremes instead of close or hl2 keeps the stop just beyond recent noise. The CCI gate adds a momentum filter, so the line flips on a measurable shift in price acceleration rather than only on a band breach.

Defaults are typically CCI period 20 and ATR period 5 with factor 1, but the parameter set is sensitive — test before deploying.

Formula

if CCI ≥ 0:  line = max(line_{t−1}, low − ATR)
if CCI < 0:  line = min(line_{t−1}, high + ATR)

Example

CCI(20) = +35 (bullish), ATR(5) = 180, low = 50,200 → candidate line = 50,020. If the previous line was 49,950, the new line ratchets up to 50,020.

How Noon Barbari uses Trend Magic

Every concept here is implemented in the platform. Open the relevant docs or tool to see it in action.

Use Trend Magic in noonbarbari

Related terms

Back to glossary