# Structural SVM Ranker

Structural SVM Ranker is an indicator on [Vela](https://vela.luxalgo.com/chart), our next-generation charting platform, written in Pine Script®.

Scores every break of structure and change of character from 0 to 100 using a linear SVM-inspired model that weighs relative volume, RSI momentum, and ATR-normalized break distance. Instead of treating all structure breaks alike, it shows which ones carry real conviction: a quality filter for charts crowded with BOS and CHoCH labels.

- Indicator in the LuxAlgo Library, by LuxAlgo, published Mar 10, 2026.
- Access: free.
- Concepts: [Support Vector Machines](https://www.luxalgo.com/library/concept/support-vector-machines/) (primary), [S/R Zone](https://www.luxalgo.com/library/concept/s-r-zone/)
- Open on Vela: https://vela.luxalgo.com/chart?pineScriptCodeId=cmpwn5zwv008gvhsgd33ys8vl
- Page: https://www.luxalgo.com/library/indicator/structural-svm-ranker/

The **Structural SVM Ranker** puts a number on market structure. Every break of structure (BOS) and change of character (CHoCH) it detects from pivot highs and lows is scored 0–100 by a model inspired by linear [support vector machines](https://www.luxalgo.com/library/concept/support-vector-machines/): relative volume against its 20-period average, RSI distance from the 50 midpoint, and the ATR-normalized distance price closed beyond the pivot are weighted, combined, and passed through a sigmoid. The score separates meaningful structural shifts from breaks that merely look the part.

## How to Trade the Structural SVM Ranker?

- **Solid BOS lines**: structure broke in the direction of the prevailing trend. Continuation candidates, more dependable with scores of roughly 60–70 and above.
- **Dashed CHoCH lines**: structure broke against the trend; a CHoCH scoring above 70 flags a reversal backed by volume and momentum.
- **Scores below 30**: weak participation. Treat the break as a possible false breakout or liquidity sweep rather than a signal.
- **Dashboard**: a real-time table summarizes recent structural breaks and their scores without inspecting each label.

As one of the [machine-learning tools](https://www.luxalgo.com/library/family/machine-learning/) in the library, its role is filtering: rather than reacting to every BOS or CHoCH, you act where volume, momentum, and expansion agree.

## Structural SVM Ranker Settings

- **Pivot Lookback**: bars required to confirm a pivot; larger values map broader swings, smaller ones catch intraday shifts.
- **Show BOS / Show CHoCH**: listed in the settings, but BOS and CHoCH lines and labels are currently always drawn.
- **Relative Volume Weight / RSI Momentum Weight / Break Distance Weight**: how much each feature influences the final score.
- **ATR Length**: period of the ATR used to normalize break distance.
- **Dashboard / Position / Size**: the on-chart ranking table and its placement.

## Frequently Asked Questions

### Does a high score guarantee follow-through?

No. The score measures the quality of participation behind a break (volume, momentum, expansion), not certainty. It is a ranking filter meant to concentrate attention on the strongest setups alongside your own levels and risk plan.

### How is this different from a plain structure indicator?

A conventional tool such as [Market Structure CHoCH/BOS (Fractal)](https://www.luxalgo.com/library/indicator/market-structure-choch-bos-fractal/) marks every qualifying break equally. This one adds a second dimension (how strong the break was) so two identical-looking labels can carry very different weight.

### How do I get access to the Structural SVM Ranker?

Access is free for everyone via the LuxAlgo Library, no subscription involved. Grab it from this page and pair it with your existing structure workflow. You can also copy the source code from this page and run it anywhere Pine Script® runs.

## Related indicators

- [Birdies](https://www.luxalgo.com/library/indicator/birdies/) (S/R Zone): markdown at https://www.luxalgo.com/library/indicator/birdies.md
- [Predictive Channels](https://www.luxalgo.com/library/indicator/predictive-channels/) (S/R Zone): markdown at https://www.luxalgo.com/library/indicator/predictive-channels.md
- [Nadaraya-Watson Envelope](https://www.luxalgo.com/library/indicator/nadaraya-watson-envelope/) (Kernel Regression): markdown at https://www.luxalgo.com/library/indicator/nadaraya-watson-envelope.md
- [Nadaraya-Watson Smoothers](https://www.luxalgo.com/library/indicator/nadaraya-watson-smoothers/) (Kernel Regression): markdown at https://www.luxalgo.com/library/indicator/nadaraya-watson-smoothers.md
- [Gaussian Volume Profile](https://www.luxalgo.com/library/indicator/gaussian-volume-profile/) (Kernel Density Estimation): markdown at https://www.luxalgo.com/library/indicator/gaussian-volume-profile.md
- [KDE Value Clouds](https://www.luxalgo.com/library/indicator/kde-value-clouds/) (Kernel Density Estimation): markdown at https://www.luxalgo.com/library/indicator/kde-value-clouds.md
- [Machine Learning: Gaussian Process Regression](https://www.luxalgo.com/library/indicator/machine-learning-gaussian-process-regression/) (Kernel Regression): markdown at https://www.luxalgo.com/library/indicator/machine-learning-gaussian-process-regression.md
- [Decision Trees](https://www.luxalgo.com/library/indicator/decision-trees/) (Machine Learning): markdown at https://www.luxalgo.com/library/indicator/decision-trees.md

---

Source: https://www.luxalgo.com/library/indicator/structural-svm-ranker/ (LuxAlgo Library). Free to use with attribution: https://www.luxalgo.com/library/license/
