All indicators

Half Supertrend

May 2, 2025

Static chart image
Dynamic OverlaysSignalsVolatility

The Half Supertrend indicator provides a dynamic mid-level trend tracking system designed to filter market noise and identify high-probability entry points by assessing trend conviction.

Usage

The Usage section describes how the script can be used to improve trend-following strategies. Users can interpret the indicator based on the relationship between price, the primary Supertrend line, and the secondary "half-trend" mid-level.

  • Trend Strength Filtering: A strong trend is confirmed when price moves decisively away from the mid-level. If price remains between the mid-level and the Supertrend line, it suggests a weak trend or potential consolidation.
  • Pullback Entries: Traders can look for optimal entries when price pulls back toward the dynamic mid-level after a Supertrend flip, rather than chasing the initial breakout.
  • Early Reversal Warnings: When price crosses the mid-level against the current Supertrend direction, it serves as an early warning of a potential trend exhaustion or reversal.
  • Multi-Timeframe Analysis: By using the timeframe setting, traders can anchor the indicator to a higher timeframe to maintain a consistent directional bias on lower timeframe charts.

Details

The indicator builds upon the standard Supertrend calculation, which utilizes the Average True Range (ATR) to determine volatility-adjusted trailing stops. The core innovation is the "half-trend" line. This level is calculated by applying exactly half of the ATR-based multiplier to the Supertrend's baseline.

Internally, the script calculates: half_line = supertrend + (atr * (factor / 2))

This creates an intermediary zone that acts as a buffer. The script also includes logic to maintain consistency in levels during established trends, preventing erratic movements in the mid-level unless volatility significantly shifts the underlying Supertrend.

Settings

Core Parameters

  • ATR Length: Sets the lookback period for the Average True Range calculation (default: 10).
  • Factor: The multiplier applied to the ATR to determine the distance of the Supertrend bands (default: 3). The mid-level is automatically derived as half of this value.
  • Timeframe: Allows the user to select the data source timeframe for the calculation (e.g., viewing Daily Supertrend levels on a 1-hour chart).

Visuals

  • Up Color: The color assigned to bullish trend indications.
  • Down Color: The color assigned to bearish trend indications.

FAQ

How do I use the Half Supertrend for entries?

Entries are typically sought when price bounces off the mid-level in the direction of the main Supertrend, or when price first crosses the mid-level following a trend change.

What is the benefit of the mid-level over a standard Supertrend?

The mid-level acts as a filter; it helps traders avoid "fakeouts" where price briefly flips the Supertrend but lacks the momentum to move past the half-way volatility threshold.

How do I access this indicator?

You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.

Free indicator

Get free access to this indicator on the platforms below.

TradingView
NinjaTrader
MetaTrader 4/5

Unlock the entire LuxAlgo Library

Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.