All indicators

Supertrend MTF LAG ISSUE

Aug 8, 2019

Static chart image
SignalsVolatility

The Supertrend MTF LAG ISSUE indicator utilizes multi-timeframe analysis to reduce the inherent lag of the standard Supertrend, providing earlier entries and exits by syncing lower timeframe signals within higher timeframe candles.

Usage

The indicator identifies potential trend shifts by monitoring Supertrend signals across multiple timeframes simultaneously. By default, it looks for confluence between the 30-minute and 60-minute Supertrend trends. When both timeframes align, it generates a signal on the chart.

This approach is particularly effective when used on higher timeframes like the 2-hour or 4-hour charts. Because the signals are derived from shorter intervals (30m and 60m), the indicator can signal a trend change "inside" the current higher-timeframe candle, effectively reducing the delay typically associated with waiting for a large candle to close.

Users can adapt this logic for different trading styles:

  • Intraday: View the indicator on a 15-minute or 30-minute chart while adjusting the source code logic to track 1-minute and 5-minute intervals.
  • Swing Trading: Use the default settings on a 2-hour or 4-hour chart to capture medium-term trends with improved timing.

Details

The script is based on the concept of a "Supertrend Heatmap." It calculates the standard Supertrend formula (using ATR and Median Price) across several pre-defined timeframes: 30m, 60m, 120m, 240m, 480m, Daily, and Weekly.

The core logic relies on the observation that major trend reversals often manifest on lower timeframes before they are confirmed on higher ones. By requiring a crossover or crossunder to occur on both the 30-minute and 60-minute timeframes concurrently, the script filters out "noise" while staying ahead of the standard single-timeframe Supertrend calculation.

Settings

  • [ST] Factor: The multiplier used for the Average True Range (ATR) to determine the distance of the Supertrend line from the price.
  • [ST] PD: The lookback period for the ATR calculation.

FAQ

How do I interpret the signals?

A green triangle below the bar indicates a bullish alignment between the lower timeframes, while a red triangle above the bar indicates a bearish alignment.

Can I change the timeframes used for the signals?

The current version calculates several timeframes in the background, but the buy/sell triggers are specifically coded to the 30-minute and 60-minute confluence. Advanced users can modify these references in the Pine Script source code to suit different timeframes.

How do I access Supertrend MTF LAG ISSUE?

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.