# Trend-quality Composites

Also known as: RAVI.
A Trend concept (Trend strength & direction) in the LuxAlgo Library, with 1 indicator implementation.

## What are Trend-quality Composites?

Trend-quality composites are indicators that reduce several trend measurements (direction, strength, smoothness, volatility context) into a single score of how clean and tradeable the current trend is. Rather than asking only whether price is trending, they ask how efficiently it is trending: a market grinding steadily higher scores well, while one covering the same distance through violent whipsaw scores poorly. Common ingredients include moving-average spreads, noise measures like the [Kaufman Efficiency Ratio](https://www.luxalgo.com/library/concept/kaufman-efficiency-ratio/), and volatility normalization.

A well-known member of the family is RAVI, Tushar Chande's Range Action Verification Index, which expresses the absolute gap between a short and a long simple moving average (7 and 65 periods are the usual pair) as a percentage of the long one; widening readings argue for trending conditions, narrow or shrinking readings for range trade. Other composites blend trend and volatility quality terms in their own ways, so exact formulas vary by implementation and should be read before use.

The volatility-quality branch works from bar anatomy instead of average spreads. The Volatility Quality Index, circulated from the MetaTrader community and ported by LazyBear, accumulates a signed fraction of each bar's range according to how much of it closed with the move, so directional bars build the line steadily while whipsaw bars cancel themselves; a smoothly rising or falling VQI is the signature of a quality trend, and loxx's zero-line variant recenters the same construction into an oscillator. chikaharu's Trend Volatility Index blends trend and volatility terms into a related score. Across the branch the formulas differ enough that reading the source is not optional.

Composite design has its own honesty rules. Every ingredient derives from the same price series, so double counting is the default risk: a moving-average spread and an efficiency ratio agree most of the time because they share an input, and stacking them inflates confidence without adding information. Ingredients therefore need normalizing before blending, thresholds need calibrating per instrument from the score's own history, and the graded score is usually worth more than any binary cut of it, sizing and confidence scaling by quality rather than gating on a magic number. A [ribbon's](https://www.luxalgo.com/library/concept/ma-ribbon/) alignment and spacing is the same idea done visually, which is a fine sanity check on what the number claims.

## How to identify a trend-quality composite's construction

The family is defined by recipe rather than formula, so identification means reading the recipe.

1. Inventory the ingredients: moving-average spreads, efficiency or noise ratios, volatility normalizers, and whatever else the score blends.
2. Check normalization: each ingredient should be scaled to comparable units before weighting, or the largest-magnitude term silently runs the score.
3. Establish the output scale and its threshold conventions: bounded or unbounded, centered or one-sided, and what reading is supposed to mean trending.
4. Validate by eye against obvious history: a clean grinding trend should score high, a violent whipsaw covering the same distance should score low; a composite that cannot pass this test measures something else.
5. Calibrate thresholds per instrument from the score's own distribution, and re-check them across regimes before letting them gate live signals.

## How traders use it

- As a regime gate: trend-following entries are enabled only above a quality threshold, complementing binary [trend/range classifiers](https://www.luxalgo.com/library/concept/trend-range-classifiers/) with a graded score.
- As a strategy switch: high scores route signals to breakout and pullback logic, low scores to mean-reversion logic or to standing aside.
- As a weighting input: position size or signal confidence is scaled by trend quality instead of treating every trend as equal.
- For backtest segmentation: bucketing historical trades by the quality score at entry shows where a [crossover](https://www.luxalgo.com/library/concept/moving-average-crossovers/) or breakout system actually earns its returns, which is routinely a narrow high-quality slice of all signals.
- As alert hygiene: routing only above-threshold signals to notifications cuts the noise of range-generated triggers, so attention arrives when conditions actually resemble the ones the system was built for.

## Trend-quality composites vs related measures

- **ADX/DMI System** (https://www.luxalgo.com/library/concept/adx-dmi-system/): ADX is one fixed construction, trend strength from directional movement, with decades of shared convention behind its thresholds. Composites are open recipes that can blend strength with smoothness and volatility context. ADX is the standard instrument; composites are custom rigs that must justify their extra parts.
- **Kaufman Efficiency Ratio** (https://www.luxalgo.com/library/concept/kaufman-efficiency-ratio/): The efficiency ratio is a single elegant ingredient: net travel over total travel. Composites are recipes that may include it among several terms. The ratio's virtue is interpretability, the recipe's is coverage; blending buys breadth at the price of opacity and double-counting risk.
- **Trend/Range Classifiers** (https://www.luxalgo.com/library/concept/trend-range-classifiers/): Classifiers emit a label, trend or range, usually by thresholding something; composites emit the graded score itself. The score preserves information the label discards, which matters most near the boundary, exactly where binary classifiers thrash and graded sizing degrades gracefully.

## FAQ

### What is the RAVI indicator?

RAVI (Range Action Verification Index) is Tushar Chande's trend-quality measure: the absolute difference between a short and a long simple moving average, expressed as a percentage of the long average, commonly with 7 and 65 periods. Rising or elevated readings are read as trending conditions, flat low readings as a range. It measures trend presence, not direction.

### How do trend-quality composites differ from ADX?

The [ADX](https://www.luxalgo.com/library/concept/adx-dmi-system/) is one specific strength calculation built from directional movement. Trend-quality composites are a broader family that may combine efficiency ratios, moving-average spreads, and volatility terms into one score. Both are typically used for the same job, regime filtering, so the difference lies in construction and inputs rather than purpose.

### What is the Volatility Quality Index?

A cumulative line that credits each bar according to how much of its range closed in the direction of movement, so clean directional bars advance it steadily while whipsaw bars net out. Smooth, sustained slopes mark quality trends; a jagged flat line marks noise. It circulated from the MetaTrader community, reached the platform through LazyBear's port, and exists in variants, including a zero-centered version, whose formulas differ enough to warrant reading the source.

### What RAVI threshold marks a trend?

Chande's construction leaves the cut to the user, and no universal number survives contact with different markets: a quiet FX pair and a volatile crypto trade at permanently different RAVI levels. The workable procedure is distributional, examining the indicator's own history on the instrument and taking a rising reading above its typical range as the trend flag, with the rise mattering as much as the level.

### Why not just use ADX instead of a composite?

Often you should; it is the well-understood baseline, and a composite has to beat it to justify its parts. The case for composites is customization: penalizing whipsaw explicitly, normalizing across volatility regimes, or emphasizing smoothness for a strategy that suffers in jagged trends. The case against is double counting and overfit, since every ingredient shares the same price input and every weight is a fitting decision.

### How should the quality threshold be chosen?

From the score's own distribution on the instrument and timeframe traded: percentile cuts, a floor the score rarely exceeds in ranges, validated on data the choice never saw. Regime shifts move distributions, so thresholds decay and deserve periodic re-checks. Where possible, prefer the graded alternative, scaling size or confidence continuously with the score, which removes the cliff a single threshold builds into the system.

## Implementations in the Library

- Trend-quality Composites (LuxAlgo): https://www.luxalgo.com/library/indicator/trend-quality-composites/

## Related concepts

- Trend Regime Label: https://www.luxalgo.com/library/concept/trend-regime-label/
- ADX / DMI System: https://www.luxalgo.com/library/concept/adx-dmi-system/
- Aroon: https://www.luxalgo.com/library/concept/aroon/
- Vortex: https://www.luxalgo.com/library/concept/vortex/
- Vertical Horizontal Filter: https://www.luxalgo.com/library/concept/vertical-horizontal-filter/
- Trend Intensity Index: https://www.luxalgo.com/library/concept/trend-intensity-index/
- R-squared Trend Fit: https://www.luxalgo.com/library/concept/r-squared-trend-fit/
- Kaufman Efficiency Ratio: https://www.luxalgo.com/library/concept/kaufman-efficiency-ratio/
- Correlation Trend Indicator: https://www.luxalgo.com/library/concept/correlation-trend-indicator/
- Random Walk Index: https://www.luxalgo.com/library/concept/random-walk-index/

---

Source: https://www.luxalgo.com/library/concept/trend-quality-composites/ (LuxAlgo Library, the encyclopedia of trading & technical analysis). Free to use with attribution: https://www.luxalgo.com/library/license/