codypd

SPYIX EMA

Variation on idea at url below using SPYIX from BATS instead of VIX
from marketsci.wordpress....is-very-predictable/

Aids in identifying changes in volatility direction.

EDIT: just noticed that URL is now password protected. The concept from the author is simple: use EMA and SMA smoothing of the VIX as two signal lines. When they cross you have a change in VIX direction. I simply coded that for SPYIX which is a slightly different (but theoretically similar) index vs VIX. SPYIX provides intraday updates without a subscription so this indicator can be used for intraday tracking.

สคริปต์โอเพนซอร์ซ

ด้วยจิตวิญญาณของ TradingView อย่างแท้จริง ผู้เขียนสคริปต์นี้ได้เผยแพร่เป็นโอเพนซอร์ส เพื่อให้ผู้ค้าสามารถเข้าใจและตรวจสอบได้ ไชโยให้กับผู้เขียน! คุณสามารถใช้ได้ฟรี แต่การใช้รหัสนี้ซ้ำในสิ่งพิมพ์อยู่ภายใต้กฎระเบียบการใช้งาน คุณสามารถตั้งเป็นรายการโปรดเพื่อใช้บนชาร์ตได้

คำจำกัดสิทธิ์ความรับผิดชอบ

ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ เงื่อนไขการใช้บริการ

ต้องการที่จะใช้สคริปต์นี้บนชาร์ตใช่ไหม?
study("SPYIX EMA", overlay=false)
VIX = security("SPYIX",period, close)

// variation on idea found here using SPYIX from BATS instead of VIX
// from https://marketsci.wordpress.com/2008/07/28/the-vix-is-very-predictable/
// published example here -> https://www.tradingview.com/v/LrCG2SpT/ 
// it is a start but doesn't find bottoms / tops.

length = input(11, minval=1)
vixema = ema(VIX, length)
vixsma = sma(VIX, length)

bgcolor(vixema >= vixsma ? black : white, transp=80)
plot(vixsma, color=white)
plot(vixema,color=red)
plot(VIX,color=yellow)