← Back to Blog
STRATEGY

Supertrend Strategy: ATR-Based Trend Following on Crypto Perpetuals

May 26, 2026 · 6 min read · LMEX.AI

The Supertrend indicator is one of the cleanest trend-following tools available. Unlike moving averages that lag, Supertrend dynamically adapts to volatility using Average True Range.


How Supertrend Works


Supertrend calculates upper and lower bands around price using ATR. When price closes above the upper band, the trend is bullish. When price closes below the lower band, it flips bearish.


The flip is the signal. Everything in between is staying in the trade.


Choosing Parameters


**Period (10)** — the ATR lookback. Lower means more sensitive with more signals.


**Multiplier (3)** — scales the band width. Higher means wider bands and fewer whipsaws.


The default (10, 3) works well on BTC 1h and 4h charts.


Implementation in Python


def supertrend(df, period=10, multiplier=3):

hl2 = (df['high'] + df['low']) / 2

atr = df['high'].sub(df['low']).abs().ewm(span=period).mean()

upper = hl2 + multiplier * atr

lower = hl2 - multiplier * atr

direction = [1 if df['close'].iloc[i] > upper.iloc[i-1] else -1

for i in range(1, len(df))]

return direction


Frequently Asked Questions


Q: What are the best Supertrend parameters for crypto perpetuals on LMEX?

The default (10, 3) works well on BTC-PERP and ETH-PERP 1h and 4h charts. For more volatile altcoin perpetuals, increase the multiplier to 3.5-4 to reduce whipsaws. For scalping on 15m charts, try (7, 2).


Q: How does Supertrend differ from moving average crossover strategies?

Supertrend dynamically adjusts its bands based on ATR (Average True Range), so it widens in volatile conditions and tightens in calm markets. Moving average crossovers use fixed periods regardless of volatility, leading to more false signals during ranging periods.


Q: Can I combine Supertrend with other indicators on LMEX?

Yes. Supertrend combined with RSI for momentum confirmation and volume filters significantly improves signal quality. Only take Supertrend long signals when RSI is above 50 and volume is above average.


Q: Does Supertrend work on commodity perpetuals like Oil and Gold on LMEX?

Yes, Supertrend works well on any trending market. Oil and Gold perpetuals on LMEX often exhibit sustained trends, making them good candidates for ATR-based trend following strategies.


Related Articles


→ EMA Crossover Strategy: Complete Implementation Guide for LMEX
→ MACD Strategy for Crypto Perpetuals
→ Bollinger Band Trading Strategy: Mean Reversion on LMEX Perpetuals
← All ArticlesBuild a Bot →