SuperTrend Node
SuperTrend Indicator
Overview
SuperTrend is a trend-following indicator that uses the Average True Range (ATR) to calculate dynamic support and resistance bands. It provides clear buy and sell signals by plotting a line that flips between above and below the price, making it one of the most intuitive indicators for identifying and following trends.
Developed by Olivier Seban, SuperTrend adapts to market volatility through its ATR-based calculation, making the bands wider during volatile periods and tighter during calm periods. When price is above the SuperTrend line (green), it signals an uptrend. When price is below the line (red), it signals a downtrend. The indicator is particularly effective for trailing stops and trend filtering.
Formula
The SuperTrend calculation uses ATR and a multiplier to create adaptive bands:
Step-by-step calculation:
- Calculate the ATR over the specified period (default 10)
- Calculate the basic band as the average of high and low
- Create upper and lower bands by adding/subtracting (Multiplier × ATR) from basic band
- Initialize SuperTrend line at the lower band (assuming initial uptrend)
- If close price crosses above upper band: Switch to uptrend, SuperTrend = lower band
- If close price crosses below lower band: Switch to downtrend, SuperTrend = upper band
- Adjust bands to not go against the trend (upper band can't decrease in uptrend, lower can't increase in downtrend)
The SuperTrend output includes the line values and trend direction (+1 for uptrend, -1 for downtrend). A change in trend direction generates a clear buy or sell signal, making it excellent for both entry signals and trailing stop placement.
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
| period | number | 10 | The number of periods used to calculate the ATR. Lower values make SuperTrend more responsive but increase whipsaws. |
| multiplier | number | 3 | Multiplier applied to ATR for band width. Higher values create wider bands (fewer signals), lower values create tighter bands (more signals). |
| source | Node | Auto | The root data source node. SuperTrend requires OHLC data (Open, High, Low, Close) to calculate ATR and bands. |
💡 Tip: You can drag either parameter label left or right to adjust quickly. The default settings (period=10, multiplier=3) work well for most markets. For faster signals in day trading, try (7, 2). For more stable signals in swing trading, try (14, 4).
Signal Interpretation
SuperTrend provides clear, visual trend signals:
Green Line (Uptrend)
When the SuperTrend line is green and below the price, it indicates an uptrend. This is a buy signal and suggests holding long positions. The green line acts as dynamic support - as long as price stays above it, the uptrend is intact. Traders often use the green line as a trailing stop for long positions.
Red Line (Downtrend)
When the SuperTrend line is red and above the price, it indicates a downtrend. This is a sell signal and suggests holding short positions or staying out of longs. The red line acts as dynamic resistance - as long as price stays below it, the downtrend continues. Use it as a trailing stop for short positions.
Trend Flip: Red to Green (Buy Signal)
When the SuperTrend line flips from red to green (moves from above price to below), it generates a bullish signal. This indicates that price has broken above the upper band and a new uptrend has begun. This is a clear entry signal for long positions. The most reliable signals occur after consolidation periods or at support levels.
Trend Flip: Green to Red (Sell Signal)
When the SuperTrend line flips from green to red (moves from below price to above), it generates a bearish signal. This indicates that price has broken below the lower band and a new downtrend has begun. This is a clear exit signal for long positions or entry signal for short positions. Most reliable at resistance levels or after extended rallies.
Common Use Cases
1. Trend Identification
Use SuperTrend as your primary trend filter. Only take long trades when the line is green, only short trades when it's red. This simple rule keeps you on the right side of the trend and eliminates counter-trend trading, which is the most common source of losses. The color-coded system makes trend identification instant and objective.
2. Entry/Exit Signals
Use SuperTrend flips as direct entry and exit signals. Enter long when it flips green, exit (or reverse to short) when it flips red. While this can generate whipsaws in ranging markets, it captures the full extent of trends. Best used in markets with clear trending behavior or combined with filters to avoid choppy conditions.
3. Trailing Stops
SuperTrend excels as a trailing stop mechanism. Place your stop-loss at the SuperTrend line value, which moves up in uptrends and down in downtrends, locking in profits while giving the trade room to breathe. This ATR-based approach adapts to volatility - stops are wider in volatile markets and tighter in calm markets, reducing premature stop-outs.
4. Trend Filtering
Combine SuperTrend with other indicators as a trend filter. For example, only take RSI oversold signals when SuperTrend is green, or only take MACD bullish crossovers when SuperTrend confirms uptrend. This dramatically improves the win rate of oscillator-based systems by ensuring you're trading with the trend.
Advantages & Limitations
Advantages
- •Clear, visual buy/sell signals (color changes)
- •Adapts to market volatility through ATR
- •Excellent for trailing stops and position management
- •Simple to interpret - no complex rules
- •Works across all timeframes and markets
- •Keeps you on the right side of trends
Limitations
- •Generates many whipsaws in sideways markets
- •Lagging indicator - enters after trend has started
- •False signals increase in ranging/choppy conditions
- •Requires trending market to be profitable
- •No early exit warnings before trend reversal
- •Parameter optimization needed for different markets
Tips & Best Practices
💡 Use as a Trend Filter
SuperTrend works best when combined with other indicators as a trend confirmation tool. Don't trade every flip - instead, use SuperTrend to determine trend direction and only take signals from other indicators when they align with the SuperTrend color. This dramatically reduces false signals.
📊 Adjust for Market Conditions
Different markets and timeframes need different settings. Volatile assets like crypto may need larger multipliers (4-5) to avoid whipsaws, while stable stocks work well with default settings. Test your parameters on historical data and adjust based on the market's trending vs. ranging behavior.
⚡ Perfect for Trailing Stops
SuperTrend's best feature is its use as a trailing stop. Once in a trade, move your stop-loss to the SuperTrend line value each period. This locks in profits while giving the trade room to move. Exit when price closes below SuperTrend (for longs) or above it (for shorts). This approach maximizes profit capture during strong trends.
⚠️ Avoid in Ranging Markets
SuperTrend performs poorly in sideways, choppy markets where it generates frequent false signals. Use ADX or other volatility indicators to identify trending vs. ranging conditions. When ADX is below 25, consider stepping aside or using different strategies. SuperTrend shines in strong trends but bleeds in consolidations.
Example Strategy
Here's a comprehensive SuperTrend trend-following strategy:
SuperTrend Momentum Strategy
1Setup
- →Connect a Stock Node to a SuperTrend node (period = 10, multiplier = 3)
- →Add ADX (14) to measure trend strength
- →Optional: Add RSI (14) for additional momentum confirmation
2Entry Signal (Long)
- →Primary: SuperTrend flips from red to green (trend reversal)
- →Filter: ADX is rising or above 25 (strong trend developing)
- →Confirmation: Enter on the close of the flip candle
- →Optional: RSI above 50 (momentum confirmation)
3Exit Signal
- →Primary: SuperTrend flips from green to red
- →Or price closes below the SuperTrend line
- →Stop-Loss: Initially below recent swing low, then trail with SuperTrend line
- →Move stop to SuperTrend value each day (trailing stop)
4Risk Management
- →Strongest signals: SuperTrend flip + ADX above 30 (very strong trend)
- →Medium signals: SuperTrend flip + ADX 25-30 (moderate trend)
- →Avoid: SuperTrend flip + ADX below 20 (likely whipsaw)
- →Let winners run - SuperTrend trailing stops capture large trends
Related Nodes
ADX (Average Directional Index)
Use ADX to filter SuperTrend signals. Only take trades when ADX confirms trend strength.
RSI (Relative Strength Index)
RSI provides momentum confirmation for SuperTrend signals. Stronger when both align.
EMA (Exponential Moving Average)
Combine EMA with SuperTrend for double confirmation of trend direction and strength.
MACD
MACD shows momentum changes, SuperTrend confirms trend. Powerful combination for entries.