SuperTrend V.1 Alert
Jan 18, 2017

The SuperTrend V.1 Alert indicator is a trend-following tool designed to identify potential market reversals and provide automated signaling through visual cues and alerts.
Usage
The Usage section focuses on identifying trend direction and potential entry points based on the relationship between price and the calculated trend line. When the price crosses above the trend line, the indicator signals a bullish shift, turning the line green and plotting an "Up Arrow." Conversely, when the price crosses below the trend line, a bearish shift is identified, the line turns red, and a "Down Arrow" is plotted.
This script is particularly useful for traders who wish to automate their monitoring process, as it includes built-in alert conditions for both long and short trend changes.
Details
The script is a refactored version of the classic SuperTrend calculation originally popularized by Rajandran R. It operates by calculating two bands based on the Average True Range (ATR) and a multiplier (Factor) applied to the median price (HL2).
- Trend Logic: The indicator maintains a "trailing stop" style line. In an uptrend, the line only moves up; in a downtrend, it only moves down, until a price crossover occurs.
- Refinement: This version is optimized for TradingView's alert system, ensuring that signals are triggered efficiently per bar to reduce lag in notification.
Settings
- Factor: The multiplier applied to the ATR. A higher factor makes the indicator less sensitive to price fluctuations, while a lower factor makes it more responsive.
- Period: The lookback period used to calculate the Average True Range (ATR). This defines the volatility measurement window.
FAQ
How do I use the alerts in this script?
You can set alerts by clicking the "Alerts" icon in TradingView and selecting "SuperTrend V.1 Alert" as the condition. The script supports both "Long" and "Short" alert conditions.
Can I change the sensitivity of the signals?
Yes, by adjusting the "Factor" and "Period" settings, you can tune the indicator to be more or less sensitive depending on the asset or timeframe you are trading.
How can I access SuperTrend V.1 Alert?
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.
Unlock the entire LuxAlgo Library
Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.