Structural SVM Ranker
By LuxAlgoMar 10, 2026
Structural SVM Ranker is an indicator on Vela, our next-generation charting platform, written in Pine Script®.
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: 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 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
Free to use
Run it on Vela. Go further with a paid plan.
- Up to 500 strategy alerts, with webhook automation
- Up to 10× the chart history of Free
- Orderflow lookback up to full history
- More Quant usage to customize it, plus extra usage when you need it
- Futures data alongside crypto, stocks, forex and commodities
Also works on
Related indicators
Run it on Vela. Make it yours with Quant.
Open this indicator free on Vela, our next-generation charting platform. Then ask Quant, our coding agent built into Vela, to retune it or turn it into a backtested strategy of your own.





