OPEN-SOURCE SCRIPT
Börsenampel

The “VIX/VVIX Traffic Light (Panel)” visualizes the current market risk as a simple traffic light (green / yellow / red) in the top‑right corner of the chart, based on the VIX and VVIX indices.
How it works
The script loads the VIX and VVIX indices via request.security and evaluates them using user‑defined threshold levels.
Green: VIX and VVIX are below their “green” thresholds, indicating a calm market environment and more risk‑on conditions.
Red: VIX and VVIX are above their “red” thresholds, signalling stress or panic phases with elevated risk.
Yellow: Transitional zone between the two extremes.
Chart display
A small panel with the title “Traffic Light” is shown in the upper‑right corner of the chart.
The central box displays the current status (“GREEN”, “YELLOW”, “RED”) with a matching background color.
Optionally, the current VIX and VVIX values are shown below the status.
Inputs and usage
Symbols for VIX and VVIX can be freely chosen (default: CBOE:VIX and CBOE:VVIX).
The green/red thresholds can be adjusted to fit personal volatility rules or different markets.
How it works
The script loads the VIX and VVIX indices via request.security and evaluates them using user‑defined threshold levels.
Green: VIX and VVIX are below their “green” thresholds, indicating a calm market environment and more risk‑on conditions.
Red: VIX and VVIX are above their “red” thresholds, signalling stress or panic phases with elevated risk.
Yellow: Transitional zone between the two extremes.
Chart display
A small panel with the title “Traffic Light” is shown in the upper‑right corner of the chart.
The central box displays the current status (“GREEN”, “YELLOW”, “RED”) with a matching background color.
Optionally, the current VIX and VVIX values are shown below the status.
Inputs and usage
Symbols for VIX and VVIX can be freely chosen (default: CBOE:VIX and CBOE:VVIX).
The green/red thresholds can be adjusted to fit personal volatility rules or different markets.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que la republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como asesoramiento o recomendaciones financieras, de inversión, de trading o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que la republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como asesoramiento o recomendaciones financieras, de inversión, de trading o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.