OPEN-SOURCE SCRIPT
Volatility Tsunami Regime

Volatility Tsunami Regime
This indicator identifies periods of extreme volatility compression to help anticipate upcoming market expansions. It detects when volatility is unusually quiet, which historically precedes violent price moves.
The script pulls data from the CBOE VIX and VVIX indices regardless of the chart you are viewing. It calculates the standard deviation of both indices over a user-defined lookback period (default is 20). If the standard deviation drops below specific thresholds, the script flags the market regime as compressed.
The background color changes based on the severity of the compression. A red background signals a Double Compression, meaning both the VIX and VVIX are below their volatility thresholds. An orange background signals a Single Compression, meaning only one of the two indices has dropped below its threshold.
Use this tool to spot the "calm before the storm." When the background is red, volatility is statistically suppressed, making it a prime time to look for breakouts or buy options while premiums are cheap. Conversely, it serves as a warning to tighten stops if you are short volatility.
This indicator identifies periods of extreme volatility compression to help anticipate upcoming market expansions. It detects when volatility is unusually quiet, which historically precedes violent price moves.
The script pulls data from the CBOE VIX and VVIX indices regardless of the chart you are viewing. It calculates the standard deviation of both indices over a user-defined lookback period (default is 20). If the standard deviation drops below specific thresholds, the script flags the market regime as compressed.
The background color changes based on the severity of the compression. A red background signals a Double Compression, meaning both the VIX and VVIX are below their volatility thresholds. An orange background signals a Single Compression, meaning only one of the two indices has dropped below its threshold.
Use this tool to spot the "calm before the storm." When the background is red, volatility is statistically suppressed, making it a prime time to look for breakouts or buy options while premiums are cheap. Conversely, it serves as a warning to tighten stops if you are short volatility.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.