OPEN-SOURCE SCRIPT
Risk VXN Yurix

Interface Structure and Settings:Mode
Selection: Implemented via a dropdown list with strict normal numbering in the select button.Default Mode: Option 1 is the rise and fall tracking algorithm.
Element Size: All graphical shapes are drawn in small size to avoid obstructing the main chart.Logic and Visualization:Underlying Asset: VXN index (inversely correlated to the tech sector) with a toggle to VIX.Static Levels: Hardcoded horizontal lines at 25, 30, 40, and 50 to track extremes.Color Inversion:Red: Market panic (volatility spike).Green: Market euphoria (volatility drop).Algorithmic Base: 13 mathematical models, including Z-Score, Heikin Ashi, MACD, EMA crossovers, and volatility spike detectors.Custom Point Signals:Red Circle: Critical volatility spike.
Yellow Square: Divergence. Appears when the VXN indicator is in the red zone (fear signal) and the traded underlying asset closes positive (green candle).Insufficient data regarding the formulas for the remaining algorithms.
Selection: Implemented via a dropdown list with strict normal numbering in the select button.Default Mode: Option 1 is the rise and fall tracking algorithm.
Element Size: All graphical shapes are drawn in small size to avoid obstructing the main chart.Logic and Visualization:Underlying Asset: VXN index (inversely correlated to the tech sector) with a toggle to VIX.Static Levels: Hardcoded horizontal lines at 25, 30, 40, and 50 to track extremes.Color Inversion:Red: Market panic (volatility spike).Green: Market euphoria (volatility drop).Algorithmic Base: 13 mathematical models, including Z-Score, Heikin Ashi, MACD, EMA crossovers, and volatility spike detectors.Custom Point Signals:Red Circle: Critical volatility spike.
Yellow Square: Divergence. Appears when the VXN indicator is in the red zone (fear signal) and the traded underlying asset closes positive (green candle).Insufficient data regarding the formulas for the remaining algorithms.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.