All indicators

Supertrend MTF Heikin Ashi

Mar 3, 2020

Static chart image
Support and ResistanceSignalsCandlestickMoving Averages

The Supertrend MTF Heikin Ashi indicator provides a dual-layer trend-following system that calculates Supertrend values based on Heikin Ashi candle data across both current and higher timeframes.

Usage

The Supertrend MTF Heikin Ashi tool is designed to identify trend direction and potential reversal points while smoothing out market noise through Heikin Ashi calculations. Users can monitor two distinct trend lines on a single chart: the local trend (based on the current chart timeframe) and a global trend (based on a higher timeframe).

Typical usage involves:

  • Trend Confirmation: Traders can seek alignment between the current timeframe Supertrend and the Higher Timeframe (HTF) Supertrend to increase the probability of a trend-following setup.
  • Dynamic Support/Resistance: The trailing stop-loss lines serve as dynamic levels where price might find support in an uptrend or resistance in a downtrend.
  • Filtering Noise: By utilizing Heikin Ashi price data (High, Low, and Close) rather than standard candles, the indicator generates more stable signals that are less susceptible to minor price fluctuations.

Details

The script utilizes request.security to fetch Heikin Ashi data specifically, ensuring that even if the chart is set to standard candles, the Supertrend calculation remains based on the smoothed Heikin Ashi averages. The Higher Timeframe logic can be automated, where the script selects a logical step up (e.g., moving from a 15-minute chart to a 60-minute calculation) or can be manually set by the user.

To prevent repainting, the Higher Timeframe calculation uses a specific historical indexing method, ensuring that signals are confirmed based on closed bars from the higher interval. The calculation follows the standard Supertrend formula: Center Point ± (ATR Factor * ATR Period).

Settings

  • HTF Method: Selects between "Auto" (the script determines the higher timeframe based on the current chart) or "User Defined."
  • Time Frame: Specifies the target timeframe for the HTF Supertrend when the HTF Method is set to "User Defined."
  • ATR Factor: The multiplier applied to the Average True Range to determine the distance of the trailing stop from the price.
  • ATR Period: The lookback period used to calculate the Average True Range.

FAQ

How do I interpret the different colors on the chart? The green and red lines represent the Supertrend of the current timeframe, while the thicker blue and red lines represent the Higher Timeframe trend. Circles appear when the Higher Timeframe trend shifts direction.

Can I use this indicator on standard candlestick charts? Yes. The script is programmed to fetch Heikin Ashi data internally, so it will provide the same smoothed calculations regardless of your chosen chart style.

How do I get access to Supertrend MTF Heikin Ashi? 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.