Free: indicator teardowns, a repaint checker and open-source scripts. No buy/sell signals, ever.

Taught to TradeSystems over signals.

Explainers / Supertrend

What Supertrend actually computes

Supertrend takes two settings, an ATR length (commonly 10) and a multiplier (commonly 3), and from those every line and every colour change on the chart is fully determined. That makes it unusually honest as indicators go: you can compute it by hand. It also means the settings are the whole story, which is why "best settings" is the question people ask most.

The rule

On every bar:

mid = (high + low) / 2
upper = mid + multiplier x ATR
lower = mid - multiplier x ATR

The bands then ratchet. In the "up" state the lower band can rise but never fall; in the "down" state the upper band can fall but never rise. The state flips when a close crosses the active band.

Put plainly: Supertrend is a volatility-scaled trailing stop that reverses itself when it is hit. It has two states and no neutral one, so it is always saying "up" or "down", whether or not anything is trending.

What the two settings change

Why there is no best setting

A setting that looks good on a chart was usually chosen after looking at that chart. Change the symbol, the timeframe or the year and the "best" pair moves. What you can choose deliberately is how much give-back you accept before the tool changes its mind, measured in ATRs, and that is a risk choice, not a discovery about the market.

Does Supertrend repaint?

Not on closed bars: once a bar has closed, its band and its state are fixed. On the live bar the close is still moving, so a flip can appear mid-bar and be gone at the close. If you act on flips, act on the closed bar. Versions that pull Supertrend from a higher timeframe are a separate case, and whether they change after the fact depends on how the script requests that data.

Where it fails

The Teardown Letter

The monthly Teardown Letter takes one popular indicator apart per issue in the same way: what it computes, what follows from the arithmetic, and where it misleads. Issues so far: RSI, MACD, order blocks, Fibonacci and Supertrend. New subscribers get every past issue.

Also explained: Repaint checker, VWAP, RSI, UT Bot Alerts, Nadaraya-Watson Envelope, Squeeze Momentum, What is repainting on TradingView?, Is TradingView backtesting accurate?, Chandelier Exit, WaveTrend Oscillator, QQE MOD, Pivot highs and lows, Hull Suite, Range Filter, Twin Range Filter, HalfTrend, ZigZag++, SSL Hybrid, CM MacD Ultimate MTF, Volume Profile / Fixed Range, ADX and DI, Support Resistance Channels, Market Structure Break & Order Block, Order Block Finder, Pivot Point SuperTrend, Trendlines with Breaks [LuxAlgo], Divergence for Many Indicators, TradingView script selling terms, Support and Resistance Levels with Break, Liquidity Swings [LuxAlgo], Pine Script errors, Breakout Probability (Expo), Did ChatGPT or Claude write your Pine Sc, Lorentzian Classification, SuperTrend AI (Clustering), Machine Learning Adaptive SuperTrend, Dynamic Swing Anchored VWAP, Support and Resistance Power Channel by , Support and Resistance (High Volume Boxe, Trendline Breakouts With Targets by Char, Breakout Finder by LonesomeTheBlue

Next steps

  • Get a script fixed. Compiles but behaves differently live, or changes after a reload? In a Pine Script Audit, an AI model reads every line and writes a report on what to fix for $49, or also fixes those problems for $149. It cannot prove a script is safe.
  • Check your own script. Paste its source into the free repaint checker. It runs in your browser and flags known patterns.
Subscribe to the Teardown Letter: $19/moBack to Taught to Trade

No TradingView account yet? This affiliate link gives you a $15 coupon toward a paid plan, and we earn a commission if you buy one. The free plan is enough to follow this page.