All indicators

Supertrend 1.0 with Alerts

Nov 22, 2016

Static chart image
Support and ResistanceSignalsVolatility

The Supertrend 1.0 with Alerts indicator provides a clear visual representation of market trends based on volatility, offering automated signals and candle coloring to assist traders in identifying potential trend reversals.

Usage

The Usage section describes how the script can be used to navigate trending markets. When the price crosses above the calculated stop loss line, a bullish signal (green triangle) is generated, indicating a potential long entry. Conversely, when the price crosses below the line, a bearish signal (red triangle) is generated, indicating a potential short entry.

The script includes visual aids such as:

  • Candle Coloring: Automatically paints candles green or red based on the current trend status.
  • Trend Line: A persistent line that acts as a trailing stop or dynamic support/resistance level.
  • Alerts: Built-in alert conditions for long and short signals to notify users of trend changes in real-time.

Details

This tool is based on the classic Supertrend concept, which utilizes the Average True Range (ATR) to determine the distance of the trend line from the price. It calculates an upper and lower band using the median price (HL2) plus or minus a multiplier of the ATR. The "trend" is determined by price closing relative to these bands. If the price closes above the current resistance, the trend flips bullish; if it closes below support, it flips bearish.

Settings

  • Color Candles: Toggles the coloring of price bars based on the active trend.
  • Show Supertrend Line: Displays or hides the trend-following line on the chart.
  • Factor: The multiplier used with the ATR to determine the distance of the stop loss line from the price. Higher values result in a slower, more stable indicator.
  • ATR Period: The lookback period used to calculate the Average True Range volatility.

FAQ

How do I use the alerts?

You can set up alerts by clicking on the three dots in the indicator legend or using the alert clock icon, selecting "Supertrend Long" or "Supertrend Short" as the condition.

Can I change the sensitivity of the signals?

Yes, by adjusting the "Factor" and "ATR Period" in the settings. A smaller Factor or Period will make the indicator more sensitive to price changes, while larger values will smooth out the trend.

Where 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.