← Volver a todos los indicadores
HalfTrend
Latched channel-extreme trend flipper (Pine port).
Qué es
Latched channel-extreme trend flipper (Pine port).
HalfTrend (popularised by the Pine Script published by everget) draws a single stepped line under price in an uptrend and above price in a downtrend. Instead of ATR bands it uses raw channel extremes: the highest high and lowest low of the last N bars (the “amplitude”), together with N-bar moving averages of the highs and lows.
The line is latched: while the trend is up it only ratchets upward (tracking the ratcheted lowest-low level), and while the trend is down it only ratchets downward. A flip needs two things at once — the average of the lows (or highs) must cross the ratcheted extreme of the opposite side, and the close must break beyond the previous bar's high (or low). That double condition makes HalfTrend noticeably less flip-happy than a plain moving-average cross.
On a flip bar the new line starts exactly where the old line stood, so the indicator never gaps — it bends. Traders use it like SuperTrend: the line is the trailing stop, the side of the line is the trend filter, and flips are entry/exit signals.
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.
Parámetros
| Parámetro | Predeterminado | Rango |
|---|---|---|
| Amplitude | 2 | 1 – 50 |
Campos de salida
Los valores con nombre que este indicador expone a tus reglas de entrada y salida.
Aprende más en el blog
Artículos detallados sobre este indicador y cómo operarlo.
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.