INVITE-ONLY SCRIPT

CandelaCharts - Contango Slope Index

48
๐Ÿ“ Overview

The Contango Slope Index (CSI) is a volatility term structure analysis tool designed to quantify the slope of the VIX futures curve over time.

By measuring the rate of change in implied volatility across multiple tenorsโ€”such as VIX1D, VIX (1M), VIX3M, VIX6M, and VIX1Yโ€”the CSI provides traders and analysts with real-time insights into market sentiment, risk appetite, and potential turning points in equity markets.

Developed by CandelaCharts, the CSI draws from established financial research on volatility term structures, particularly focusing on how contango (upward-sloping curve) and backwardation (downward-sloping curve) regimes correlate with future market behavior.

The index computes a normalized slope using linear regression across available VIX futures, offering a dynamic view of evolving market expectations. The core output a slope value expressed in annualized percentage points per year (%/yr)โ€”represents the steepness of the volatility curve:
  • Positive slope: Contango regime, typically associated with market stability and complacency.
  • Negative slope: Backwardation, historically linked to fear, near-term uncertainty, and often preceding market rallies.
  • Slope crossing zero or key thresholds: Generates regime shifts and alert conditions.


๐Ÿ“ฆ Features
The Contango Slope Index offers a comprehensive set of features for analyzing volatility dynamics:
  • Multi-Tenor Volatility Input: Users can select which VIX futures contracts to include in the slope calculation: VIX, VIX1D, etc
  • Dynamic Slope Calculation: The indicator calculates the slope of the VIX term structure using linear regression on time-to-maturity (TTM) vs. volatility levels.
  • Moving Average Overlay: A configurable moving average (SMA, EMA, RMA, WMA, VWMA) is applied to the smoothed slope to identify trend direction and momentum shifts.
  • Regime Classification: Based on the slope value and its relationship to the moving average, the CSI classifies current market conditions into distinct regimes.
  • Visual Enhancements: Color-coded slope line, background shading, etc
  • Real-Time Label & Tooltip: On the last bar, a dynamic label displays: Current regime, Slope value and direction, etc


โš™๏ธ Settings
  • VIX: Toggles use of spot VIX index (CBOE_DLY:VIX).
  • VIX1D: Toggles use of 1-day VIX futures (CBOE_DLY:VIX1D).
  • VIX3M: Toggles use of 3-month VIX futures (CBOE_DLY:VIX3M).
  • VIX6M: Toggles use of 6-month VIX futures (CBOE_DLY:VIX6M).
  • VIX1Y: Toggles use of 1-year VIX futures (CBOE_DLY:VIX1Y).
  • MA: Enables moving average filter; options include type (SMA, etc.) and period length.
  • Slope: Defines slope calculation line thickness and colors.
  • Bg: Enables background shading with customizable colors.


โšก๏ธ Showcase

Slope Line
syot kilat
Customizable Moving Average
syot kilat
Regime Shift Zones
syot kilat

๐Ÿ“’ Usage

The CSI is plotted as a standalone oscillator beneath the price chart (non-overlay mode). Key interpretation guidelines:

Slope Direction
  • Slope < 0 - Backwardation: Indicates near-term volatility is higher than long-term expectations. Historically, this has preceded equity market rallies, as panic subsides and fear peaks.
  • Slope > 0 - Contango: Reflects normal market conditions where longer-dated volatility is priced higher. Persistent high contango may signal complacency.


Magnitude of Slope
  • Slope > 0.0232 (%/yr) - Elevated complacency: The term structure is steeper than historical averageโ€”caution advised ahead of potential corrections.
  • Slope near 0 - Neutral or transitioning regime: Markets may be at inflection points.


Slope vs. MA Crossover
  • Slope crosses above MA: Improving confidence, potential upside acceleration
  • Slope crosses below MA: Deteriorating structure, rising stress


๐Ÿšจ Alerts

Six pre-configured alerts are available for integration into trading systems:
  • ๐Ÿšจ Backwardation Detected โ€“ Slope turns negative
  • ๐Ÿ”š Exit Backwardation โ€“ Slope crosses above zero
  • โš ๏ธ Elevated Complacency โ€“ Slope exceeds 2.32%/yr
  • ๐Ÿ“ˆ Potential Bullish Setup โ€“ Slope crosses below zero
  • โœ… Slope Crosses Above MA โ€“ Momentum improves
  • โš ๏ธ Slope Crosses Below MA โ€“ Momentum deteriorates


โš ๏ธ Disclaimer

These tools are exclusively available on the TradingView platform.

Our charting tools are intended solely for informational and educational purposes and should not be regarded as financial, investment, or trading advice. They are not designed to predict market movements or offer specific recommendations. Users should be aware that past performance is not indicative of future results and should not rely on these tools for financial decisions. By using these charting tools, the purchaser agrees that the seller and creator hold no responsibility for any decisions made based on information provided by the tools. The purchaser assumes full responsibility and liability for any actions taken and their consequences, including potential financial losses or investment outcomes that may result from the use of these products.

By purchasing, the customer acknowledges and accepts that neither the seller nor the creator is liable for any undesired outcomes stemming from the development, sale, or use of these products. Additionally, the purchaser agrees to indemnify the seller from any liability. If invited through the Friends and Family Program, the purchaser understands that any provided discount code applies only to the initial purchase of Candela's subscription. The purchaser is responsible for canceling or requesting cancellation of their subscription if they choose not to continue at the full retail price. In the event the purchaser no longer wishes to use the products, they must unsubscribe from the membership service, if applicable.

We do not offer reimbursements, refunds, or chargebacks. Once these Terms are accepted at the time of purchase, no reimbursements, refunds, or chargebacks will be issued under any circumstances.

By continuing to use these charting tools, the user confirms their understanding and acceptance of these Terms as outlined in this disclaimer.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.