Volatility Covenant Ribbon
May 9, 2026

The Volatility Covenant Ribbon indicator is a comprehensive volatility-state overlay that measures market expansion, compression, and directional persistence using ATR percentile behavior and directional range separation. It aims to provide traders with a clear visual structure of market volatility, distinguishing between neutral turbulence and directional expansion.
Usage
The Usage section describes how the script can be used to identify different market regimes. Traders can utilize the indicator to determine if the market is in a state of compression (potential breakout setup) or expansion (active trend).
- Volatility States: Users should first check the ATR percentile. High percentiles (typically >80) indicate expansion, while low percentiles (typically <25) suggest compression.
- Directional Imbalance: The script separates bullish and bearish candle ranges. By reading this imbalance, users can distinguish whether an expansion phase is driven by buying or selling pressure.
- Layered Ribbon Context: The inner, middle, and outer ribbons act as dynamic volatility boundaries. Price extending beyond these layers during high-volatility states suggests extreme extensions.
- Expansion Scaffold: When a fresh expansion confirms, the tool can project an informational TP/SL scaffold. This serves as a planning aid for risk-to-reward ratios based on current market volatility.
Details
The script integrates several quantitative concepts to provide a multi-layered view of volatility:
- ATR Percentile Engine: Instead of looking at raw ATR, the script compares current ATR against a rolling history (Percentile Lookback). This contextualizes whether current volatility is high or low relative to recent market behavior.
- Directional Range Separation: By smoothing bullish and bearish ranges separately, the script calculates a "Directional Imbalance." This allows the tool to color-code expansion states based on which side of the market is dominating the range.
- Event-Driven Visuals: The indicator uses forward-projecting "State Boxes" to mark where expansion or compression began, creating a persistent record of volatility regimes on the chart.
- Volatility Score: A proprietary calculation combining ATR percentile, directional imbalance, and price location relative to the basis to determine the overall "state" (e.g., Firm, Heavy, Expansion).
Settings
Volatility Engine
- ATR Length: Sets the lookback period for the Average True Range calculation.
- Percentile Lookback: Determines the window of time used to calculate the ATR's relative rank.
- Ribbon Basis Length: Defines the length of the central EMA that acts as the ribbon's anchor.
- Directional Range Length: The period used to smooth bullish and bearish candle ranges for imbalance calculations.
- Inner/Outer Multiplier: Adjusts the width of the volatility ribbon layers.
- State Threshold: The sensitivity level required to trigger directional expansion states.
State Zones
- Show Expansion/Compression Boxes: Toggles the visibility of the event-driven forward boxes.
- Stored State Boxes: Limits the number of historical boxes displayed on the chart.
- Zone Transparency: Controls the opacity of the expansion and compression zones.
Volatility Scaffold
- Show Expansion Scaffold: Enables the projection of TP/SL levels upon new expansion signals.
- Stop ATR Multiplier: Defines the distance of the stop-loss line based on ATR.
- TP 1/2/3 R: Sets the target levels as multiples of the initial risk distance.
Visual Design
- Show Ribbon/Basis: Toggles the various components of the ribbon overlay.
- Color Candles: When enabled, candles are colored based on the current volatility bias.
- Show Dashboard: Displays a top-right panel containing real-time volatility metrics and scores.
FAQ
How do I interpret the Expansion Boxes? Expansion boxes appear when volatility spikes and the script confirms a directional bias. A green box indicates bullish expansion, while a red box indicates bearish expansion, suggesting a period of high-momentum movement.
What does the Compression state indicate? Compression occurs when the ATR percentile is very low. This typically represents a "coiling" market where price is consolidating, often preceding a significant breakout or expansion phase.
How can I access the Volatility Covenant Ribbon? You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
Unlock Unlimited Access to the LuxAlgo Library
Upgrade your plan to get all indicators, strategies, charts, and full access to Quant, our AI agent.
Trading & investing are risky and many will lose money in connection with trading and investing activities. All content on this site is not intended to, and should not be, construed as financial advice. Decisions to buy, sell, hold or trade in securities, commodities and other investments involve risk and are best made based on the advice of qualified financial professionals. Past performance does not guarantee future results.
Hypothetical or Simulated performance results have certain limitations. Unlike an actual performance record, simulated results do not represent actual trading. Also, since the trades have not been executed, the results may have under-or-over compensated for the impact, if any, of certain market factors, including, but not limited to, lack of liquidity. Simulated trading programs in general are designed with the benefit of hindsight, and are based on historical information. No representation is being made that any account will or is likely to achieve profit or losses similar to those shown.
Testimonials appearing on this website may not be representative of other clients or customers and is not a guarantee of future performance or success.
As a provider of technical analysis tools and strategies, we do not have access to the personal trading accounts or brokerage statements of our customers. As a result, we have no reason to believe our customers perform better or worse than traders as a whole based on any content, tool, or platform feature we provide.
Charts used on this site are by TradingView in which the majority of our technical indicators are built on. TradingView® is a registered trademark of TradingView, Inc. www.TradingView.com TradingView® has no affiliation with the owner, developer, or provider of the Services described herein.
Market data is provided by CBOE, CME Group, BarChart, Massive, CoinAPI. Select U.S. equities data is provided through Massive. CBOE BZX real-time U.S. equities data is licensed from CBOE and provided through BarChart. Real-time futures data is licensed from CME Group and provided through BarChart. Select cryptocurrency data, including major coins, is provided through CoinAPI. All data is provided “as is” and should be verified independently for trading purposes.
This does not represent our full Disclaimer. Please read our full disclaimer.
© 2026 LuxAlgo Global, LLC.

