What it does
Regime SuperTrend runs three SuperTrends at once — a calm factor (2), a normal factor (3) and a wild factor (4) on the same ATR length — and shows the one that matches today's volatility. The ATR is ranked against the last Volatility Ranking Window bars: below the calm percentile the tight line is active, above the wild percentile the wide line, otherwise the normal one. The trend flips only when the close crosses the active line and at least two of the three lines agree on direction, which removes most of the single-SuperTrend whipsaws. Each flip gets a BUY / SELL balloon graded A to C from line consensus, the higher-timeframe EMA trend and the volatility regime, the area between the active line and price is shaded, and a flip-to-flip trade tracker in R multiples feeds the info table.
How to add it
Click Indicators (ƒx) in the header.
Search “Regime SuperTrend” and click the result.
Hover its legend row and click the gear to open settings.
How traders use it
- Trade the flip of the active line only when the balloon grades A or B: the volatility regime has picked the right factor and at least two of the three SuperTrends agree.
- Use the active line as the trailing stop for the whole trade; the study's own tracker closes a trade exactly there, so its R figures are what you would have made.
- Watch the regime label: in a wild regime the stop is four ATRs away, so cut position size rather than tighten the line by hand.
- Turn on "Show All Three Lines" during news events on BANKNIFTY: when the calm line has already flipped but the wide one has not, the move is young and a pullback entry is still possible.
- Keep the daily higher-timeframe EMA on intraday charts so C-grade counter-trend flips are visible but easy to skip.
- Compare the info table's win rate and average R against a plain Supertrend on the same symbol before switching.
Inputs
| Input | Type | Default | Range / Options |
|---|---|---|---|
| ATR Length | number | 10 | ≥ 2 |
| Factor: Calm Market | number | 2 | ≥ 0.5, step 0.1 |
| Factor: Normal Market | number | 3 | ≥ 0.5, step 0.1 |
| Factor: Wild Market | number | 4 | ≥ 0.5, step 0.1 |
| Volatility Ranking Window (bars) | number | 100 | ≥ 20 |
| Calm Below Percentile | number | 33 | 5–50 |
| Wild Above Percentile | number | 67 | 50–95 |
| Show Higher Timeframe Trend | boolean | true | on / off |
| Higher Timeframe | select | 1 day | Chart, 1 minute, 5 minutes, 15 minutes, 30 minutes, 1 hour, 1 day, 1 week, 1 month |
| Higher Timeframe Trend EMA Length | number | 50 | ≥ 2 |
| Show All Three Lines | boolean | false | on / off |
| Shade Trend | boolean | true | on / off |
| Show Info Table | boolean | true | on / off |
Plots & styling
| Plot | Style | Default color |
|---|---|---|
| Active SuperTrend | line (width 2), coloured by trend | #4CAF50 up · #F23645 down |
| Trend shading | fill between the active line and price | active colour, translucent |
| Calm line | thin line (hidden unless "Show All Three Lines") | #00BCD4 (40% tint) |
| Normal line | thin line (hidden unless "Show All Three Lines") | #FFEB3B (40% tint) |
| Wild line | thin line (hidden unless "Show All Three Lines") | #9C27B0 (40% tint) |
| BUY / SELL balloons | label | #4CAF50 / #F23645 |
| Info table | table | #311B92 header, #787B86 text |
Every plot's color, line width and visibility can be changed on the Style tab. Precision, price-scale labels and status-line values are configurable at the bottom of the Style tab.
Tips
- Use Add to favorites in the legend menu; starred studies surface at the top of the picker.
- Reference levels (where the study has them) are editable — tune them to the instrument you're trading.
- Hide the study from the legend eye instead of removing it when you only want it out of the way temporarily.
Watch out for
- A regime change swaps the active line to a different factor, so the stop can jump by an ATR or more between two bars without price doing anything.
- The percentile rank needs the full ranking window of history; on a freshly listed stock or a short intraday history every regime reads as normal.
- The consensus rule delays flips in fast reversals: the calm line may have turned two bars before the signal, so the first R of a V-shaped move is usually missed.