OPEN-SOURCE SCRIPT

Börsenampel

96
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.​

Clause de non-responsabilité

Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.