Qué es
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)Gráfico en vivo
TradingView no tiene un estudio integrado para este indicador, así que no hay un gráfico en vivo que incrustar aquí. Es una herramienta de estructura / smart money — la mejor forma de verlo es ejecutarlo dentro de una estrategia y testearlo.
Las estrategias de abajo ponen a trabajar este indicador — abre una y testéala.
Parámetros
| Parámetro | Predeterminado | Rango |
|---|---|---|
| CCI period | 20 | 2 – 200 |
| ATR period | 5 | 2 – 200 |
| Coefficient | 1 | 0.1 – 10 |
Campos de salida
Los valores con nombre que este indicador expone a tus reglas de entrada y salida.
Estrategias relacionadas
Plantillas listas y ejecutables que usan este indicador. Abre una para inspeccionarla o testearla.
Testea este indicador
Coloca este indicador en un conjunto de reglas, ejecútalo sobre años de datos de BTC/USDT y comprueba si la ventaja es real o solo está ajustada a la curva — sin tarjeta de crédito.