WhitmanTrading

Weighted Moving Average vs Supertrend

The weighted moving average scales each bar in its window by age and draws the result as a line, so it reads as direction. Supertrend sits a multiple of average true range away from price and flips sides when breached, so it holds a state and names an exit.

On a chart these look like the same kind of object: one line, following price, telling you which way things are going. They are not. One is an average of closes and the other is a stop that sizes itself to how violent the market currently is.

What each one is

The weighted moving average scales each bar by its age — newest counts most, oldest counts least — and draws the mean. The weighted moving average covers it.

Supertrend places a band a multiple of average true range from price and flips it to the other side when price closes through. Supertrend covers the rule, and average true range covers the volatility measure it depends on.

So one describes and the other decides. The weighted average reports where price has been going. Supertrend commits to a side and holds it until a specific level is breached, whereas an average commits to nothing at all.

Where they differ

A price series with a linearly weighted average drawn through it.
A weighted mean of closes: always inside the price range. Illustrative chart - not real market data.

Whether volatility is an input. Supertrend’s distance from price is set by average true range, so it widens in violent conditions and tightens in quiet ones without you changing a setting. The weighted average treats a 0.2 bar and a 2.3 bar identically.

A price series with a stepped band holding below price then flipping above.
A band that holds a side until a specific level breaks. Illustrative chart - not real market data.

Whether the tool remembers. Supertrend is long or short and stays that way through pullbacks that never reach the band. The weighted average is recomputed from scratch every bar, so two down bars turn it regardless of what came before.

A stretch of price where a smooth line and a stepped band separate.
The line has rolled over; the band is untouched. Illustrative chart - not real market data.

Whether the line can leave the price range. The weighted average cannot — it is a weighted mean of actual closes, so it always sits among them. Supertrend deliberately sits outside them, because a stop that touches price is not a stop.

How many decisions each produces. The weighted average crosses price often. Supertrend requires a close beyond a volatility-scaled distance, so it ignores most noise by design and pays for that by giving back that distance at every genuine reversal.

Where they agree

A window of trending price bars with both a line and a band following.
In a sustained trend they hold the same side. Illustrative chart - not real market data.

Both lag by construction. Neither anticipates a reversal; both notice one after it has started.

Both fail in a range. Direction runs on this site’s shared series average 2.01 bars with a longest of 11. The weighted line goes flat and crosses repeatedly; supertrend flips and gives back its distance each time.

Both cost a round trip when acted on — 0.0098 here, about 2% of the median bar range of 0.493 — and the line produces the more frequent occasions to pay it.

And neither is an entry timer. Whereas an oscillator claims to say when a move is stretched, neither of these claims anything about where a move ends.

Which one to use

A range-bound stretch of price with repeated flips and crossings.
A range punishes both, in different currencies. Illustrative chart - not real market data.

Run supertrend when the exit is the thing you have not decided. It names a price, sizes that price to current conditions, and holds through pullbacks. If your losses come from exiting arbitrarily, this is the tool that removes the arbitrariness.

A trending stretch of price with a weighted line and a stepped band.
Where a plain direction line is enough. Illustrative chart - not real market data.

Run the weighted average when you only need context. Above or below a smoothed line is a perfectly good filter, and it costs one setting and no interpretation.

Run supertrend when volatility on your instrument swings a lot. A tool scaled by average true range handles a quiet week and a violent one with the same numbers, whereas a fixed line does not know the difference.

And when you find yourself using the weighted average as a stop, switch. Nothing in its construction relates to how far price travels, so a stop placed there is arbitrary in a way supertrend’s is not.

What the volatility scaling actually buys

A candlestick chart annotated with the cost of a round trip.
Every flip acted on costs a round trip. Illustrative chart - not real market data.

On this site’s series, a trailing stop survived a median of 3, 10, 22 and 32 bars at one, two, three and four average true ranges, across 562 trials. Supertrend’s common default is three — the 22-bar figure — and average true range on this series has a median of 0.5994, so that band sits roughly 1.8 away from price.

A section of a price series drawn without volume context.
Thin conditions widen true range and widen the band with it. Illustrative chart - not real market data.

Those numbers also show what a fixed-distance line gives up. A weighted average sits wherever the closes put it, which in a quiet stretch may be a tenth of what the same stop needs in a violent one.

The original data

Of the 24,971 unique videos in the search corpus, no title compares these two directly. Supertrend appears in 134 titles at a median of 21,275 views across 112 channels. The weighted moving average appears in 5, at a median of 4,406 across 5.

A candlestick series with several gaps, the largest of them marked.
A gap past the band is a flip; a gap past a line is one bar. Illustrative chart - not real market data.

Twenty-seven times the videos and five times the audience. The weighted average is close to untaught despite being a standard option everywhere, and supertrend is one of the most covered tools in the whole corpus — a gap that is about which question each answers rather than which is better built.

A stretch of price bars cut short at a decision point.
Price crossed the line but not the band. Exit? Illustrative chart - not real market data.

On the chart above they are not in conflict. The line says recent closes turned. The band says the move has not given back enough to matter. Both readings are correct and they answer different questions.

When it fails

The characteristic failure is entering on a supertrend flip. It is a trailing stop, and a flip means price has travelled the full band distance back from the extreme — roughly 1.8 on this series at the default multiple. Entering there means entering after that give-back has already happened, in the direction the previous move just failed in. As an exit the same distance is exactly the room a position needs; as an entry it is the worst available price in the setup.

A second failure is running both as confirmation. Both are trend followers on the same closes, so they agree in trends and disagree in ranges, which is the least informative pattern available.

A third is using the weighted average as a stop. It is not scaled to anything, and the largest single bar on this series spanned 2.338.

A fourth is tightening supertrend’s multiple after a large give-back. The survival figures above show what that costs, and the give-back was the price of the trend you held.

And a fifth is judging either on a sample with no range in it, which flatters both completely.

The weighted moving average covers linear weighting. Supertrend covers the flip rule and the multiple. And average true range covers the volatility measure that sets the distance.

What I actually do

The weighted average is barely taught and supertrend is everywhere, and the gap is not about quality. Supertrend answers where do I get out, which is the question people actually have in front of a chart. A direction line leaves that to you, and most people have not decided it.

— Michael Whitman

This page is educational, not financial advice. Test every idea on your own charts before risking money.