The Supertrend indicator is a trend-following tool that plots a dynamic support/resistance line on the chart, flipping above or below price to indicate the current trend direction. Unlike simple moving averages, Supertrend incorporates volatility through the Average True Range (ATR), making the trend line wider during volatile periods and narrower during calm ones. This adaptive behavior makes it particularly well-suited to cryptocurrency's variable volatility profile.
Supertrend is popular among automated crypto traders because it produces a binary signal (bullish or bearish) that is straightforward to code and execute — when Supertrend flips from above price to below, go long; when it flips from below to above, go short or exit. The clean signal logic makes it an excellent strategy for bot automation without complex multi-indicator combinations. That said, filtering Supertrend signals with additional confirmation layers significantly improves signal quality — this guide covers those filters.
How Supertrend Is Calculated
Supertrend is built on two components:
- ATR (Average True Range) — Measures current volatility over a lookback period (default 10). Higher ATR means wider Supertrend bands; lower ATR means narrower bands.
- Multiplier — A factor applied to ATR to determine the distance of the Supertrend line from price (default 3.0).
Calculation:
Basic Upper Band = (High + Low) / 2 + Multiplier × ATR Basic Lower Band = (High + Low) / 2 - Multiplier × ATR
The final Supertrend line then follows rules to avoid excessive flipping:
- When in an uptrend: Supertrend line = max(current lower band, previous Supertrend value) — the line only moves upward
- When in a downtrend: Supertrend line = min(current upper band, previous Supertrend value) — the line only moves downward
The trend direction flips when price crosses the Supertrend line — a close above the downtrend Supertrend triggers a bullish flip; a close below the uptrend Supertrend triggers a bearish flip.
Signal Logic for Bot Trading
The Supertrend strategy in DennTech works as follows:
- Long entry signal: Supertrend flips bullish (price closes above Supertrend line, Supertrend turns green/below price)
- Long exit / Short signal: Supertrend flips bearish (price closes below Supertrend line, Supertrend turns red/above price)
- Stop-loss: The Supertrend line itself serves as a dynamic trailing stop — place stop-loss at the current Supertrend value. As price moves up and Supertrend follows (for uptrends), the stop trails upward automatically.
This trailing stop behavior is one of Supertrend's most valuable features for automated systems — the stop is always at a volatility-adjusted level that reflects current market conditions, not a static percentage from entry.
Parameter Settings
- Conservative (ATR 14, Multiplier 4.0): Fewer flips, stays in trends longer, wider initial stop. Good for daily charts and position trading on BTC/USD.
- Standard (ATR 10, Multiplier 3.0): Default. Balanced signal frequency. Works well on 4H charts for swing trading on BTC and ETH.
- Aggressive (ATR 7, Multiplier 2.0): More flips, faster signals, narrower stop. Better for 1H charts and active altcoin trading. Higher false signal rate.
Adding Confirmation Filters
Pure Supertrend signals perform poorly in choppy, low-ADX markets — the indicator flips back and forth repeatedly, generating a series of small losses. Filters that improve signal quality:
- ADX filter (ADX > 20): Only take Supertrend signals when ADX confirms the market is actually trending. Eliminates the majority of sideways-market whipsaws.
- EMA alignment gate: Only take long Supertrend signals when price is above EMA(200). Prevents long entries during major downtrends. See our EMA guide.
- RSI confirmation: Only take long Supertrend flip signals when RSI is not overbought (below 70). This prevents entering longs when price has already extended significantly. See our RSI guide.
- Volume confirmation: Require the flip candle to have above-average volume, indicating institutional participation in the trend change.
Supertrend vs. MACD: Complementary Trend Tools
Supertrend and MACD are both trend-following tools but measure trend differently. Supertrend measures volatility-adjusted price direction; MACD measures momentum divergence between two EMAs. Combining them:
- Enter long when Supertrend flips bullish AND MACD histogram is rising (momentum confirming the trend)
- Exit when Supertrend flips bearish OR MACD histogram turns strongly negative
This dual-confirmation approach filters out many of the weakest Supertrend signals. See our MACD guide for the MACD configuration within this combined setup.
Configuring Supertrend in DennTech
- Navigate to the Strategy tab in DennTech and select Supertrend Strategy
- Set ATR Period (default 10) and Multiplier (default 3.0)
- Select Signal Type: Flip-based entry or continuation entry (enter on any candle while Supertrend is bullish)
- Enable Stop-Loss at Supertrend value (dynamic trailing stop — recommended)
- Optionally enable ADX filter (set threshold at 20–25)
- Select exchange, pair, timeframe
- Run paper trading for 3–4 weeks minimum before going live
Full documentation in the DennTech docs. All 25 strategies including Supertrend are listed at the strategies page. View live Supertrend performance at the live demo.
Frequently Asked Questions
- Is Supertrend better than MACD for trend following?
- Neither is universally better. Supertrend provides a cleaner, single-line signal with built-in ATR trailing stop functionality. MACD provides momentum confirmation through histogram analysis. Many professional traders use both together — Supertrend as the primary trend signal, MACD as a confirmation filter — to get the benefits of both approaches with fewer false signals.
- What happens to the Supertrend stop during a volatility spike?
- During a volatility spike, ATR increases, which widens the Supertrend band. This means the Supertrend trailing stop will be placed further from price — providing more room for the position to survive the spike without being stopped out. This adaptive behavior is one of Supertrend's key advantages over fixed-percentage stops in crypto's spike-prone market environment.
- Can I combine Supertrend with the grid bot strategy?
- Yes — use Supertrend as a directional gate for grid deployment. Deploy a grid only when Supertrend is bullish (indicating an upward-biased market), which reduces the risk of deploying a symmetric grid into a downtrend. When Supertrend turns bearish, pause or close the grid. See our grid guide for this setup, and compare editions at the pricing page.
Supertrend Strategy Summary
Supertrend is one of the most effective single-indicator trend systems for automated crypto trading — its binary signal (above/below price) is clean to implement, its ATR-based band adapts to changing volatility, and its combination with RSI or ADX produces a robust dual-confirmation strategy. Start with ATR(10) and Multiplier 3.0, backtest on your primary pair, and adjust based on signal frequency requirements. Compare DennTech editions at the pricing page. Read related guides: Parabolic SAR, ATR, EMA crossover. See all strategies at the strategies overview.