All indicators

超级趋势(Supertrend)指标

Jun 21, 2020

Static chart image
Support and ResistanceSignalsTrailing-StopVolatility

The 超级趋势(Supertrend)指标 tool provides a versatile trend-following solution that helps traders identify market direction and potential reversal points using Average True Range (ATR) volatility.

Usage

The indicator generates clear visual signals on the chart to assist with trade entries and exits.

  • Buy Signal: A green line appearing below the price indicates a bullish trend. Traders often use the point where the green line starts as a buy signal and the line itself as a trailing stop-loss level.
  • Sell Signal: A red line appearing above the price indicates a bearish trend. The emergence of the red line suggests a sell opportunity, with the line acting as a potential stop-loss marker.
  • Trend Identification: This tool is effective across various timeframes and asset classes for recognizing established trends.

Note that while the indicator excels in trending markets, it may produce false signals during periods of sideways or choppy price action.

Details

This implementation of the Supertrend indicator is built using Average True Range (ATR) to calculate dynamic support and resistance levels. Unlike standard versions, this script offers flexibility in how volatility is calculated. By default, it uses the RMA (Relative Moving Average), which is the standard for RSI calculations. However, users can opt for a Simple Moving Average (SMA) calculation for the ATR, providing a different sensitivity to price fluctuations.

Settings

  • 价格源 (Source): Determines the price data used for calculations (default is hl2).
  • ATR参数 (ATR Period): The lookback period used to calculate the Average True Range (default is 10).
  • ATR乘数 (ATR Multiplier): The factor by which the ATR is multiplied to set the distance of the trend line from the price (default is 3).
  • 改变ATR的计算方式 ? (Change ATR Calculation): A toggle to switch between the standard RMA-based ATR and an SMA-based ATR.
  • 显示买卖信号点 ? (Show Buy/Sell Signals): Enables or disables the "Buy" and "Sell" labels on the chart.
  • 趋势高亮显示开关 ? (Trend Highlighting): Toggles the background shading between the price and the Supertrend line.

FAQ

How do I use the 超级趋势(Supertrend)指标 for stop losses?

The indicator line automatically adjusts based on volatility; when in a long position, the green line acts as a trailing stop, and when in a short position, the red line serves the same purpose.

What is the advantage of switching the ATR calculation method?

Switching from RMA to SMA can change the responsiveness of the indicator. SMA typically reacts differently to recent price spikes compared to the smoothed RMA, allowing for more customization based on specific market conditions.

How can I access this tool?

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.