J-Streak

(JS)S&P 500 Volatility Oscillator For Options 2.0

I am going to start taking requests to open source my indicators and they will also be updated to Version 4 of Pinescript.

I added some features to the original code such the ability to smooth the oscillator and select the look back periods for the historical volatility.

Link to original:
Original post:

"The idea for this started here: www.tradingview.com/...a9b8054d5246de0c0d5/ with the user @dime



This should only be used on SPX or SPY (though you could use it on other things for correlation I suppose) given that the instrument used to create this calculation is derived from the S&P 500 (thank you VIX ). There's a lot of moving parts here though, so allow me to explain...

First: The main signal is when Implied Volatility (from VIX ) drops beneath Historical Volatility - which is what you want to see so you aren't purchasing a ton of premium on long options. Green and above 0 means that IV% has dropped lower than Historical Volatility . (this signal, for example, would suggest using a Long Call or Put depending on your sentiment)

Second: The green line running underneath zero is the bottom portion of the "Average True Range" derived from the values used to create the oscillator. the closer the bottom histogram is to the green line, the more "normal" IV% is. Obviously, if this gets far away from the line then it could be setting up nicely to short options and sell the IV premium to someone else. (this signal, for example, would suggest using something like a Bull Put Spread)

Third: The red background along with the white line that drops down below zero signals when (and how far) the IV% from 3 months out (from VIX3M ) is less than the current IV%. This would signal the current environment has IV way too high, a signal to short options once again (and don't take any long option positions!).

Tried to make this simple, yet effective. If you trade options on SPX , SPY , even ES1! futures - this is a tool tailored specifically for you! As I said before, if you want you can use it for correlation on other securities. Any other ideas or suggestions surrounding this, please let me know! Enjoy!

Feb 17, 2019
Release Notes: Cosmetic update for a much cleaner look:

-Replaced the "HIGH IV" with a simlple "H"
-Now the white line is constantly showing you the relationship between VIX and VIX3M - when VIX is greater than VIX3M the background still goes red
-However, now when VIX drops below Historical Volatility, the background is bright green
-When both above are true - it's dark green
-The Average True Range on the bottom is now a series of crosses"
نص برمجي مفتوح المصدر

قام مؤلف هذا النص البرمجي بنشره وجعله مفتوح المصدر، بحيث يمكن للمتداولين فهمه والتحقق منه، وهو الأمر الذي يدخل ضمن قيم TradingView. تحياتنا للمؤلف! يمكنك استخدامه مجانًا، ولكن إعادة استخدام هذا الكود في منشور تحكمه قواعد الموقع. يمكنك جعله مفضلاً لاستخدامه على الرسم البياني.

إخلاء المسؤولية

لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.

هل تريد استخدام هذا النص البرمجي على الرسم البياني؟