XXUANTIFYInvite a friend

Composite Trend Oscillator Under the Microscope

What if a whole moving-average ribbon could be read as one line? That is the question ChartPrime's Composite Trend Oscillator answers: it ranks a fan of filters against each other and turns the result into a score between roughly −100 and +100. We found a faithful, non-repainting tool whose colour states last for weeks on the daily chart and side with the 200-day trend about two times in three, while on the hourly chart it turns into a much busier, near-coin-flip companion.

A fan of glowing moving-average lines above candlesticks, with an oscillator line and a smoother signal line swinging between two bands beneath it
A ribbon of filters above, the single score it collapses into below.

Key takeaways

Calm on daily: about 10.5 colour switches a year on BTC, a median state of 25 days

Trend-aware on daily: the colour matches the 200-day trend about 69% of the time on BTC, 67% on ETH

No clear edge after its daily switches; on ETH hourly the bearish switch leaned the wrong way

Reproduced 1:1 on all four charts, with no repainting

Scorecard

Faithful

Reproduced 1:1: every plotted value matched its author's code exactly on BTC and ETH, daily and hourly.

Repainting

None found: no look-ahead, no higher-timeframe requests, no rewritten history.

Calm

BTC daily: about 10.5 switches a year, median state 25 bars; ETH daily 12.8 a year, median 17.5 bars.

Edge

No clear difference after its switches on three of four charts; on ETH hourly the bearish switch was clearly worse than any bar.

What the author built

ChartPrime describes the script as an oscillator built on the idea of a moving-average ribbon. In their telling, it uses up to 32 filters of steadily longer periods to judge both the direction and the strength of a trend, with a second mode that reads the spacing between the ribbon's strands as volatility. The author also presents it as a "duel" between smoothing methods: the ribbon can be built from their own PhiSmoother or from EMA, DEMA, TEMA, WMA or SMA, so a trader can compare how each filter behaves. They suggest that a rising score above zero marks a bullish phase, that the signal line crossing the score hints at a shift, and that readings near the extremes make a later reversal more likely.

The code does this: with default settings it builds 32 PhiSmoother lines with periods from 3 to 96 bars in steps of 3, and adds price itself. On every bar it compares each line with every other one and awards points when shorter lines sit above longer ones. The net of those points is scaled into the score, so +100 would mean a perfectly ordered bullish ribbon. A 20-bar PhiSmoother of that score is the signal line, and the colour fill follows the score's state.

What we measured

We tested the original script with its author's default settings on BTC and ETH perpetuals: daily charts from autumn 2019 to mid-October 2026, hourly charts from January 2025 to mid-October 2026.

Behaviour. On BTC daily the indicator changed state about 10.5 times a year, and a typical state lasted 25 days; the longest held for 197 days. Only about 9% of states were very short-lived flip-flops. ETH daily was a little livelier, at 12.8 switches a year and a median of 17.5 days, with about 17% short states. The score and its signal line cross far more often, about 44 times a year on both daily charts, so the colour state is the calmer thing to watch.

On the daily charts the colour sided with the 200-day trend about 69% of the time on BTC and 67% on ETH, where chance would be about 51% and 50%. On the hourly charts that agreement drops to about 52%, close to chance.

Horizontal bars: the colour agrees with the 200-day trend about 69% of the time on BTC daily, 67% on ETH daily and 52% on both hourly charts
Look at the gap between the daily bars and the hourly bars: the trend link lives on the daily chart.

Reliability. The score resembles a smoothed 30-bar stochastic (correlation about 0.89 on BTC daily) but is not the same thing; it is its own line, not a classic in disguise.

Performance. After a switch, price did not move clearly differently from any random bar on BTC daily, ETH daily or BTC hourly, at five or ten bars. On BTC daily that rests on 38 bullish and 37 bearish switches, a modest sample. On ETH hourly, after 318 bearish switches, price was lower ten hours later only 41% of the time, against 48% after any bar: a clear difference, in the wrong direction for a sell signal. On BTC daily a bullish switch typically arrived about ten days after the turn, with roughly 45% of the move still ahead.

Where it shines, and where it is quieter

Where it shines

On the daily charts, as a calm trend backdrop: about 10.5 switches a year on BTC with 25-day median states, and agreement with the 200-day trend of about 69% (BTC) and 67% (ETH). Exact reproduction and no repainting on every chart, so what you see in history is what you would have seen live.

Where it is quieter

On the hourly charts it switches about 333 (BTC) and 356 (ETH) times a year, and its trend agreement sinks to about 52%. Its switches carried no clear timing edge on the daily charts, and on ETH hourly the bearish switch was clearly worse than any bar, so it reads better as context than as an entry trigger.

Make it better

No measured change passed our test for this script, so these are hints for using it well, not tested improvements. First, leave room for a stop: on BTC daily, nine in ten bullish switches moved no more than about 11% against the entry within ten days, so a stop just beyond that leaves most positions room to breathe. Second, act on a closed bar; the colour is only final when the candle closes. Third, treat the daily colour as a filter for other entries rather than as the entry itself, which matches where its trend agreement is strongest.

The bottom line

ChartPrime's Composite Trend Oscillator is a neat way to read a whole ribbon of filters at a glance. On the daily chart it is calm, faithful and in step with the larger trend; on the hourly chart it is busy and close to chance. It suits the role of a daily trend backdrop. The author could build on this with ready-made alerts for the colour switch and a settings note that the daily chart is where the colour tracks the trend best. For another of ChartPrime's ideas, read our look at the Parabolic RSI, or browse the newest measurements on /latest/.

All of this was measured with the author's default settings on BTC and ETH, daily and hourly; 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