← Retour à tous les indicateurs
HalfTrend
Latched channel-extreme trend flipper (Pine port).
Qu'est-ce que c'est
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.
Lisez la définition complète de HalfTrend dans le glossaire →
Graphique en direct
TradingView n'a pas d'étude intégrée pour cet indicateur, il n'y a donc pas de graphique en direct à intégrer ici. C'est un outil de structure / smart money — le meilleur moyen de le voir est de l'exécuter dans une stratégie et de le backtester.
Paramètres
| Paramètre | Par défaut | Plage |
|---|---|---|
| Amplitude | 2 | 1 – 50 |
Champs de sortie
Les valeurs nommées que cet indicateur expose à vos règles d'entrée et de sortie.
En savoir plus sur le blog
Des articles détaillés sur cet indicateur et comment le trader.
Backtester cet indicateur
Placez cet indicateur dans un ensemble de règles, exécutez-le sur des années de données BTC/USDT et voyez si l'avantage est réel ou seulement ajusté à la courbe — sans carte bancaire.