Supertrend3n1
May 27, 2021

The Supertrend3n1 indicator provides a streamlined way to track multiple trend directions by combining three independent Supertrend calculations into a single overlay. This tool is designed to save chart space while offering a comprehensive view of trend confluence across different sensitivities, making it an ideal companion for momentum oscillators like the Stochastic RSI.
Usage
The indicator can be used to identify trend alignment across short, medium, and long-term perspectives. When all three Supertrend lines are in agreement (e.g., all green), it indicates a strong bullish trend. Conversely, when all three are red, a strong bearish trend is present.
Users can look for specific setups such as:
- Triple Confluence: Entering trades when the third Supertrend flips to match the existing two.
- Layered Support/Resistance: Using the three lines as trailing stop-loss levels or dynamic support and resistance zones.
- Signal Filtering: Using the faster Supertrend (C) for entries while ensuring the slower Supertrend (A) confirms the primary trend direction.
Details
Each Supertrend calculation within the script follows the classic logic of using Average True Range (ATR) to determine price volatility and set offset bands. The script provides the flexibility to choose between two ATR calculation methods: the standard built-in ATR or a simple moving average of the True Range. By consolidating three instances, the script reduces indicator clutter and allows for more efficient multi-factor analysis on a single chart.
Settings
The settings are divided into three identical groups (A, B, and C) to control each Supertrend instance:
- ATR Period: Sets the lookback period used for the ATR calculation.
- Source: Determines the price source (e.g., HL2, Close) used for the calculation.
- ATR Multiplier: Adjusts the sensitivity of the trend line; higher values result in fewer signals but less noise.
- Change ATR Calculation Method?: Toggles between the standard ATR and an SMA-based True Range calculation.
- Show Buy/Sell Signals?: Enables or disables the "Buy" and "Sell" labels on the chart.
- Highlighter On/Off?: Toggles the background shading between the price and the trend line.
FAQ
How do I access Supertrend3n1?
You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
Can I set alerts for all three trends simultaneously?
Yes, the indicator includes built-in alert conditions that trigger when all three Supertrend components align in the same direction (All Bullish or All Bearish).
Which timeframes work best with this indicator?
While it can be used on any timeframe, it is particularly effective on trending timeframes (like 1H or 4H) where confluence between multiple ATR settings can filter out minor price fluctuations.
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.