> For the complete documentation index, see [llms.txt](https://docs.algomojo.com/algomojo/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.algomojo.com/algomojo/strategies/trading-view/halftrend-strategy.md).

# Halftrend Strategy

Halftrend is a very popular ATR based strategy Halftrend which is considered a better version of supertrend to manage sideways markets with lesser whipsaws

The HalfTrend strategy shows , the strength of the trend. If there is no trend, the indicator will be flat and we identify it as accumulation temporary price or distribution zones. However, if a trend exists, there will be a slope in that direction. If the slope is steep, the trend is strong. If there is a strong uptrend, the indicator will be green, and the slope will be upward and robust. If there is a downtrend, the indicator will be red with a downward slope.

<mark style="color:blue;">Download PineScript(Cash/Futures) here</mark>

{% file src="/files/DdfHEUpPRWNE8EwU1trq" %}

<mark style="color:blue;">Download PineScript(Options) here</mark>

{% file src="/files/XVSQjb3g2qc5saThPOJQ" %}
