If you have traded the standard Supertrend, you already know the frustration. It whipsaws you to death in a range, flipping long then short every few candles, and then it lags right when a real trend finally kicks off. We hit that wall enough times that we built our own fix. This is the Adaptive Supertrend, a supertrend indicator that adjusts itself to the market instead of trusting one fixed setting, and it is free and open-source on TradingView.

Key Takeaways

  • A free, open-source Supertrend indicator for TradingView that adapts its sensitivity to current volatility
  • Tightens the trail when the market is calm (earlier entries) and widens it when volatility spikes (fewer false flips)
  • Built to fix the two classic Supertrend problems: whipsaws in a range and lag at the start of a trend
  • Shows a live trend and volatility panel, gradient trail, Buy and Sell labels, and alerts
Adaptive Supertrend indicator on a TradingView EURUSD chart with the teal and pink trend trail and buy and sell labels
The Adaptive Supertrend trail turns teal in an uptrend and pink in a downtrend, with a Buy or Sell label on each flip.

What the Adaptive Supertrend indicator does

A normal Supertrend draws a trailing line using the ATR, and the distance of that line from price is set by one number, the factor. Set it low and you get early signals but constant whipsaws. Set it high and you avoid the chop but you are late to every move. There is no single setting that works in both a quiet range and a fast trend, which is the whole problem.

The Adaptive Supertrend fixes that by changing the factor for you, bar by bar. When volatility is low it uses a small factor so the trail sits close to price and you get in earlier. When volatility is high it widens the factor so a normal pullback does not flip the trend. Same indicator, but it is reading the market instead of ignoring it.

Why the standard Supertrend whipsaws, and what we changed

The fixed factor is the culprit. A factor of 3 might be perfect on trending gold, then that exact setting shreds your account on a rangebound pair the same afternoon. We got tired of re-tuning it per pair and per session, so we made the factor react to volatility on its own.

Here is the mechanic. The indicator ranks the current ATR against its own recent range, which gives a 0 to 100 volatility score. That score is mapped onto a factor between your Min and Max. Low score, small factor, tighter trail. High score, larger factor, wider trail. You still set the floor and the ceiling, but the indicator picks the right spot between them on every candle. That is the difference between a supertrend that fights the market and one that moves with it.

Adaptive Supertrend settings on TradingView showing ATR length, min factor, max factor and volatility lookback
The inputs that matter: ATR Length, the Min and Max factor the indicator adapts between, and the volatility lookback.

How to add the Adaptive Supertrend on TradingView

  1. Open the script page: Adaptive Supertrend [ForexCracked].
  2. Click the star to add it to your favourite indicators.
  3. On your chart, open the Indicators menu, go to Favourites, and click Adaptive Supertrend [ForexCracked].
  4. Open the settings to adjust the factor range and colours.
Recommended Brokers Compare All
XM Editor's Pick
Best for low-deposit beginners
$5 min deposit1:1000 leverageMicro accountsMT4/MT5
Plexytrade Allow USA Traders
Best for high-leverage trading
$50 min deposit1:2000 leverageSmall accountsMT4/MT5
Prop Trading Firms Compare All
Moneta Funded Editor's Pick
Instant funding · 1-step evaluation
Instant Funding1 Step EvaluationMT5 SupportUSA Traders
Join Now

Settings that matter

You only really touch four things:

  • ATR Length (default 10): the lookback for the trailing band. Leave it unless you know why you are changing it.
  • Min Factor (default 1.5): how tight the trail gets in calm conditions. Lower means earlier signals and a bit more noise.
  • Max Factor (default 5): how wide the trail gets when volatility spikes. Higher means fewer false flips and later exits.
  • Volatility Lookback (default 100): how many bars are used to judge whether the market is calm or wild right now.

If you want fewer, cleaner signals, raise the Min Factor. If you want to catch turns earlier and you can stomach some noise, lower it. That is most of the tuning you will ever do.

How to trade with it

Treat the trail as your bias and your trailing stop, not a full system. Stay long while the line is teal and below price, stay short while it is pink and above price. Take the flip as a heads-up, not a guarantee, and confirm it with structure or a level before you commit. It works best on trending instruments and higher timeframes like H1 and above, and it struggles in a dead, low-volatility drift like any trend tool does. Always use a stop.

Built by the team that reviews everything else

We build these because we spend our days testing other people’s tools and we know what is missing. If you trade MetaTrader too, grab our free ApexSignalPro SMC confluence indicator (also on TradingView), or browse the full free forex indicators library. New to adding scripts? Here is how to install indicators.

Frequently Asked Questions

Yes. It is free and open-source on TradingView.
The standard Supertrend lags because its fixed factor stays wide even when the market calms down. The Adaptive Supertrend reduces that by tightening the factor in low volatility, so it turns earlier, while still widening in high volatility to avoid whipsaws.
It ranks current volatility (ATR) against its recent range to get a 0 to 100 score, then maps that score onto a factor between your Min and Max. Low volatility uses a smaller factor (tighter trail), high volatility uses a larger one (wider trail).
A good baseline is ATR Length 10, Min Factor 1.5, Max Factor 5, Volatility Lookback 100. Raise the Min Factor for fewer, cleaner signals, lower it to catch turns earlier.
Open the script, click the star to favourite it, then add it from the Indicators menu under Favourites.
The trend flips on the bar’s close. Like any trailing indicator the live bar can still move, but a printed flip on a closed bar stays.

Add the Adaptive Supertrend on TradingView

It is free and open-source. Add it to your charts here: Adaptive Supertrend [ForexCracked] on TradingView

Risk disclaimer: The Adaptive Supertrend is an analytical tool. It does not predict price and no indicator wins every trade. Results depend on market conditions, your settings, and your own risk management. This is educational and not financial advice.

Is This Still Working?

Help the community — report if this tool is working for you