XXUANTIFYInvite a friend

Moving Average Converging Under the Microscope

Can a slow moving average lag less as a trend grows older? LuxAlgo built Moving Average Converging to try: the longer a trend keeps printing new highs or lows, the faster its line closes in on price. We measured it bar by bar. It is a faithful, non-repainting trend line that changes colour about twice a month on the daily chart, though its colour turns read the next move no better than any bar did.

A slow glowing moving-average line curving ever closer to a rising path of candlesticks, with a thin fast line hugging the candles and a soft fill between the two
The idea in one picture: each new high pulls the slow line closer to price.

Key takeaways

Exact copy of the original on all four charts, with no repainting

Calm on daily: 24.3 colour switches a year on BTC, 21.6 on ETH

Median colour run of 8 bars on BTC daily and 9 on ETH daily

No clear edge after its colour turns on any chart, at 5 or 10 bars

Scorecard

Faithful

Reproduced 1:1: every plotted value matched the original on BTC and ETH, daily and hourly.

Repainting

None: no higher-timeframe data, no look-ahead, nothing redrawn after a bar closes.

Calm

BTC daily 24.3 switches a year, median run 8 bars; hourly about 550 to 560 a year.

Edge

Not clear on any chart: after a colour turn, price went its way about as often as after any bar.

What the author built

In LuxAlgo's own description, this is a moving average that converges toward price the more a trend makes new higher highs or lower lows. The author suggests using it like any slow moving average, with the advantage of more timely crosses, and compares the behaviour to the Parabolic SAR.

The code does exactly that, in a compact way. The slow line, called the Converging MA, starts from a 100-bar average and follows price with a smoothing factor. Each time price crosses the line, that factor resets to its slow starting value. While price stays above the line and makes a new 100-bar high, or stays below it and makes a new 100-bar low, the factor steps up by a fixed increment. So an old, healthy trend gets a line that hugs price ever more tightly, much like a trailing stop that accelerates.

A second, fast line follows price closely and leans towards it. The colour of the slow line and the fill between them is teal when the fast line sits above the slow one and red when it sits below. That colour is the signal we measured.

What we measured

BTC daily candles over the last year with the Converging MA in teal and red and the fast line beside it, two colour turns marked on 19 September and 8 October 2026
Watch the slow line bend towards the candles as a move stretches, then reset after a cross.

All figures come from the author's default settings (length 100, increment 10, fast 10), on BTC and ETH perpetuals: daily charts from late 2019 to mid-October 2026, hourly charts from January 2025 to mid-October 2026.

Behaviour. On BTC daily the colour changed 24.3 times a year, with a median run of 8 bars; the longest run lasted 86 bars. ETH daily was calmer still, at 21.6 switches a year and a median run of 9 bars. About one in three runs on BTC daily was short (32%), about one in four on ETH daily (26%). Time was split almost evenly between teal and red. The hourly charts switch far more often in absolute terms, 560 times a year on BTC and 550 on ETH, yet the median run is still 8 to 9 bars.

Timing. On BTC daily, a teal turn arrived a median 7 bars after a swing low (58 swings), with about half the swing still ahead (49%). Red turns came a median 5 bars after a swing high.

Reliability. The line is its own idea: its closest classic on BTC daily is a 55-bar double exponential average, at a correlation of 0.83, not close enough to call it a copy.

After its signals. On BTC daily, after 86 teal turns price was higher ten bars later 55% of the time, against 54% after any bar. None of the four charts showed a clear difference in either direction. On ETH hourly the long side even leaned weaker (47% against 52%, 491 turns), but not clearly so.

Where it shines, and where it is quieter

Where it shines

On the daily charts it is a calm trend map: about two colour changes a month on BTC and ETH, runs of 8 to 9 bars, and an exact match with the original. On BTC daily its teal state agreed with the 200-day trend 54% of the time against 50% by chance, and turns came with about half the swing still ahead.

Where it is quieter

As a timing signal it adds little: no clear edge after its turns on any chart, at 5 or 10 bars. Year by year the daily results swing around on only 10 to 15 turns a year, so single years prove nothing. On the hourly charts it changes colour about one and a half times a day.

Make it better

No measured change passed our test, so these are hints for using it well, not tested improvements.

Give a trade room. On the daily charts, nine in ten of the winning moves after a teal turn stayed within about 11% against the entry over the next ten bars (ETH daily; on BTC daily it was about 6%). A stop just beyond that leaves the winners alone; a tighter stop would have cut many of them.

Act on a closed bar. The colour is settled only when the bar closes, so a decision made mid-bar can see a turn that never happens.

Use it as context. Its strength is a calm, honest picture of trend age, which suits a filter for other entries better than a trigger on its own. That is a general rule of the market more than a finding about this script.

The bottom line

LuxAlgo's Moving Average Converging does what its author describes: a trend line that tightens as a trend matures, reproduced exactly and free of repainting. Read it as a calm map of trend state on the daily chart, not as a forecast. An author building on it could add an alert for the moment the factor resets, so a reader sees when a trend has started over. For related reading, see our look at LuxAlgo's SuperTrend Oscillator and HalfTrend by everget, or browse the latest reports.

These figures were measured with the author's default settings on BTC and ETH, on daily and hourly charts; your own settings or market may behave differently.

This article is education, not investment advice.

Every test here counts trading costs, runs on many markets and compares the result with just holding the same market. A result is a starting point, not a verdict. How we test

Newsletter

New tests, now and then.

Only for this newsletter; we send a mail to confirm first, and every mail has a link to stop. Privacy