How to create VIX and TRIN
Author: ayc868
Creation Date: 7/22/2008 1:19 AM
profile picture

ayc868

#1

I have following codes
CODE:
Please log in to see this code.
profile picture

Eugene

#2
1. SetPrimarySeries = SetContext

2. SMASeries = SMA.Series

3. SubtractSeries = "-" e.g. Close - maVIX

4. DivideSeries = "/" e.g. DeltaVIX / ...

5. StdDevSeries = StdDev.Series

6. RestorePrimarySeries = RestoreContext
profile picture

Eugene

#3
In other words:

CODE:
Please log in to see this code.


Another way to calculate VIX:

CODE:
Please log in to see this code.
profile picture

Eugene

#4
More things VIX:

1. CBOE static data provider - various Volatility indices (VIX) for WLP/D customers, no subscription required
2. Free COT data provider - VIX Futures

Trading Strategies using the VIX data:

TASC 2012-12 | Using VIX To Forecast The S&P 500 (Gardner)
ActiveTrader 2010-10 | Market-neutral VIX-based pair strategy
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).