← Torna a tutti gli indicatori
HalfTrend
Latched channel-extreme trend flipper (Pine port).
Che cos'è
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.
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.
Parametri
| Parametro | Predefinito | Intervallo |
|---|---|---|
| Amplitude | 2 | 1 – 50 |
Campi di output
I valori denominati che questo indicatore espone alle tue regole di entrata e uscita.
Approfondisci sul blog
Articoli di approfondimento su questo indicatore e su come usarlo.
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.