Che cos'è
CCI + ATR trend trail.
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.
if CCI ≥ 0: line = max(line_{t−1}, low − ATR)
if CCI < 0: line = min(line_{t−1}, high + ATR)Leggi la definizione completa di Trend Magic nel glossario →
Grafico live
TradingView non ha uno studio integrato per questo indicatore, quindi qui non c'è un grafico live da incorporare. È uno strumento di struttura / smart money — il modo migliore per vederlo è eseguirlo in una strategia e testarlo.
Le strategie qui sotto mettono all'opera questo indicatore — aprine una e testala.
Parametri
| Parametro | Predefinito | Intervallo |
|---|---|---|
| CCI period | 20 | 2 – 200 |
| ATR period | 5 | 2 – 200 |
| Coefficient | 1 | 0.1 – 10 |
Campi di output
I valori denominati che questo indicatore espone alle tue regole di entrata e uscita.
Strategie correlate
Modelli pronti ed eseguibili che usano questo indicatore. Aprine uno per ispezionarlo o testarlo.
Testa questo indicatore
Inserisci questo indicatore in un set di regole, eseguilo su anni di dati BTC/USDT e scopri se il vantaggio è reale o solo adattato alla curva — senza carta di credito.