OPEN-SOURCE SCRIPT
Vix_Fix Enhanced MTF [Cometreon]

The VIX Fix Enhanced [Cometreon] is designed to detect market bottoms and spikes in volatility, helping traders anticipate major reversals with precision. Unlike standard VIX Fix tools, this version allows you to control the standard deviation logic, switch between chart styles, customize visual outputs, and set up advanced alerts โ all with no repainting.
๐ง Logic and Calculation
This indicator is based on Larry Williams' VIX Fix and integrates features derived from community requests/advice, such as inverse VIX logic.
It calculates volatility spikes using a customizable standard deviation of the lows and compares it to a moving high to identify potential reversal points.
All moving average logic is based on Cometreon's proprietary library, ensuring accurate and optimized calculations on all 15 moving average types.
๐ท New Features and Improvements
๐ฉ Custom Visual Styles
Choose how you want your VIX data displayed:
You can also flip the orientation (bottom-up or top-down), change the source ticker, and tailor the display to match your charting preferences.

๐ฉ Multi-MA Standard Deviation Calculation
Customize the standard deviation formula by selecting from 15 different moving averages:
This gives you fine control over how volatility is measured and allows tuning the sensitivity for different market conditions.
๐ฉ Full Control Over Percentile and Deviation Conditions
You can enable or disable lines for standard deviation and percentile conditions, and define whether you want to trigger on over or under levels โ adapting the indicator to your exact logic and style.

๐ฉ Chart Type Selection
You're no longer limited to candlestick charts! Now you can use Vix_Fix with different chart formats, including:
๐ฉ Multi-Timeframe Compatibility Without Repainting
Use a different timeframe from your chart with confidence. Signals remain stable and do not repaint. Perfect for spotting long-term reversal setups on lower timeframes.
๐ฉ Alert System Ready
Configure alerts directly from the indicatorโs panel when conditions for over/under signals are met. Stay informed without needing to monitor the chart constantly.

๐ท Technical Details and Customizable Inputs
This indicator includes full control over the logic and appearance:
1๏ธโฃ Length Deviation High - Adjusts the lookback period used to calculate the high deviation level of the VIX logic. Shorter values make it more reactive; longer values smooth out the signal.
2๏ธโฃ Ticker - Choose a different chart type for the calculation, including Heikin Ashi, Renko, Kagi, Line Break, and Point & Figure.
3๏ธโฃ Style VIX - Change the visual style (Line, Histogram, Column, etc.), adjust line width, and optionally invert the display (bottom-to-top).
๐ Fill zones for deviation and percentile are active only in Line and Step Line modes
4๏ธโฃ Use Standard Deviation Up / Down - Enable the overbought and oversold zone logic based on upper and lower standard deviation bands.
5๏ธโฃ Different Type MA (for StdDev) - Choose from 15 different moving averages to define the calculation method for standard deviation (SMA, EMA, HMA, JMA, etc.), with dedicated parameters like Phase, Sigma, and Offset for optimized responsiveness.

6๏ธโฃ BB Length & Multiplier - Adjust the period and multiplier for the standard deviation bands, similar to how Bollinger Bands work.
7๏ธโฃ Show StdDev Up / Down Line - Enable or disable the visibility of upper and lower standard deviation boundaries.
8๏ธโฃ Use Percentile & Length High - Activate the percentile-based logic to detect extreme values in historical volatility using a customizable lookback length.
9๏ธโฃ Highest % / Lowest % - Set the high and low percentile thresholds (e.g., 85 for high, 99 for low) that will be used to trigger over/under signals.
๐ Show High / Low Percentile Line - Toggle the visual display of the percentile boundaries directly on the chart for clearer signal reference.
1๏ธโฃ1๏ธโฃ Ticker Settings โ Customize parameters for special chart types such as Renko, Heikin Ashi, Kagi, Line Break, and Point & Figure, adjusting reversal, number of lines, ATR length, etc.
1๏ธโฃ2๏ธโฃ Timeframe โ Enables using SuperTrend on a higher timeframe.
1๏ธโฃ3๏ธโฃ Wait for Timeframe Closes -
โ Enabled โ Displays Vix_Fix smoothly with interruptions.
โ Disabled โ Displays Vix_Fix smoothly without interruptions.
โ๏ธ If you find this indicator useful, leave a Boost to support its development!
Every feedback helps to continuously improve the tool, offering an even more effective trading experience. Share your thoughts in the comments! ๐๐ฅ
๐ง Logic and Calculation
This indicator is based on Larry Williams' VIX Fix and integrates features derived from community requests/advice, such as inverse VIX logic.
It calculates volatility spikes using a customizable standard deviation of the lows and compares it to a moving high to identify potential reversal points.
All moving average logic is based on Cometreon's proprietary library, ensuring accurate and optimized calculations on all 15 moving average types.
๐ท New Features and Improvements
๐ฉ Custom Visual Styles
Choose how you want your VIX data displayed:
- Line
- Step Line
- Histogram
- Area
- Column
You can also flip the orientation (bottom-up or top-down), change the source ticker, and tailor the display to match your charting preferences.
๐ฉ Multi-MA Standard Deviation Calculation
Customize the standard deviation formula by selecting from 15 different moving averages:
- SMA (Simple Moving Average)
- EMA (Exponential Moving Average)
- WMA (Weighted Moving Average)
- RMA (Smoothed Moving Average)
- HMA (Hull Moving Average)
- JMA (Jurik Moving Average)
- DEMA (Double Exponential Moving Average)
- TEMA (Triple Exponential Moving Average)
- LSMA (Least Squares Moving Average)
- VWMA (Volume-Weighted Moving Average)
- SMMA (Smoothed Moving Average)
- KAMA (Kaufmanโs Adaptive Moving Average)
- ALMA (Arnaud Legoux Moving Average)
- FRAMA (Fractal Adaptive Moving Average)
- VIDYA (Variable Index Dynamic Average)
This gives you fine control over how volatility is measured and allows tuning the sensitivity for different market conditions.
๐ฉ Full Control Over Percentile and Deviation Conditions
You can enable or disable lines for standard deviation and percentile conditions, and define whether you want to trigger on over or under levels โ adapting the indicator to your exact logic and style.
๐ฉ Chart Type Selection
You're no longer limited to candlestick charts! Now you can use Vix_Fix with different chart formats, including:
- Candlestick
- Heikin Ashi
- Renko
- Kagi
- Line Break
- Point & Figure
๐ฉ Multi-Timeframe Compatibility Without Repainting
Use a different timeframe from your chart with confidence. Signals remain stable and do not repaint. Perfect for spotting long-term reversal setups on lower timeframes.
๐ฉ Alert System Ready
Configure alerts directly from the indicatorโs panel when conditions for over/under signals are met. Stay informed without needing to monitor the chart constantly.
๐ท Technical Details and Customizable Inputs
This indicator includes full control over the logic and appearance:
1๏ธโฃ Length Deviation High - Adjusts the lookback period used to calculate the high deviation level of the VIX logic. Shorter values make it more reactive; longer values smooth out the signal.
2๏ธโฃ Ticker - Choose a different chart type for the calculation, including Heikin Ashi, Renko, Kagi, Line Break, and Point & Figure.
3๏ธโฃ Style VIX - Change the visual style (Line, Histogram, Column, etc.), adjust line width, and optionally invert the display (bottom-to-top).
๐ Fill zones for deviation and percentile are active only in Line and Step Line modes
4๏ธโฃ Use Standard Deviation Up / Down - Enable the overbought and oversold zone logic based on upper and lower standard deviation bands.
5๏ธโฃ Different Type MA (for StdDev) - Choose from 15 different moving averages to define the calculation method for standard deviation (SMA, EMA, HMA, JMA, etc.), with dedicated parameters like Phase, Sigma, and Offset for optimized responsiveness.
6๏ธโฃ BB Length & Multiplier - Adjust the period and multiplier for the standard deviation bands, similar to how Bollinger Bands work.
7๏ธโฃ Show StdDev Up / Down Line - Enable or disable the visibility of upper and lower standard deviation boundaries.
8๏ธโฃ Use Percentile & Length High - Activate the percentile-based logic to detect extreme values in historical volatility using a customizable lookback length.
9๏ธโฃ Highest % / Lowest % - Set the high and low percentile thresholds (e.g., 85 for high, 99 for low) that will be used to trigger over/under signals.
๐ Show High / Low Percentile Line - Toggle the visual display of the percentile boundaries directly on the chart for clearer signal reference.
1๏ธโฃ1๏ธโฃ Ticker Settings โ Customize parameters for special chart types such as Renko, Heikin Ashi, Kagi, Line Break, and Point & Figure, adjusting reversal, number of lines, ATR length, etc.
1๏ธโฃ2๏ธโฃ Timeframe โ Enables using SuperTrend on a higher timeframe.
1๏ธโฃ3๏ธโฃ Wait for Timeframe Closes -
โ Enabled โ Displays Vix_Fix smoothly with interruptions.
โ Disabled โ Displays Vix_Fix smoothly without interruptions.
โ๏ธ If you find this indicator useful, leave a Boost to support its development!
Every feedback helps to continuously improve the tool, offering an even more effective trading experience. Share your thoughts in the comments! ๐๐ฅ
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalitร . Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice รจ soggetta al nostro Regolamento.
Advanced trading tools that simplify complex analysis into actionable insights. Save time and trade smarter with precision indicators.
Declinazione di responsabilitร
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalitร . Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice รจ soggetta al nostro Regolamento.
Advanced trading tools that simplify complex analysis into actionable insights. Save time and trade smarter with precision indicators.
Declinazione di responsabilitร
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.