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.
Formule
if CCI ≥ 0: line = max(line_{t−1}, low − ATR)
if CCI < 0: line = min(line_{t−1}, high + ATR)Exemple
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.
Comment Noon Barbari utilise Trend Magic
Chaque concept ici est implémenté dans la plateforme. Ouvre la documentation ou l'outil concerné pour le voir en action.
Use Trend Magic in noonbarbari →Termes liés
- Indicateurs
SuperTrend
An ATR-band trailing stop on hl2 that flips when close breaches the opposite latched band.
- Indicateurs
Average true range (ATR)
Rolling average of the true range — the canonical volatility measure for stops.
- Indicateurs
Blackflag FTS
A SuperTrend variant that adds a gap-adjusted true range, a trend-extreme tracker, and Fib pullback levels.
- Risque
Trailing stop
A stop that ratchets in the trade's favor and never moves against it.