VIX指数是芝加哥期权交易所市场波动率指数的交易代码,常见于衡量标准普尔500指数期权的隐含波动性。通常被称为“恐慌指数”或“恐慌指标”,它是了解市场对未来30天市场波动性预期的一种衡量方法。
波动性指数的概念,以及基于此种指数的金融工具最早是由梅纳赫姆•布伦纳教授和丹•盖莱教授于1986年提出的。布伦纳教授和盖莱教授写道:“我们的波动性指数——西格玛指数,将会时常更新并且会被用作期货和期权的标的资产…波动性指数所扮演的角色与市场指数对期货和期权所扮演的角色相同。”
VIX指数用年化百分比表示,并且大致反映出标准普尔500指数在未来30天的期望走向。例如,假设VIX指数为15,表示未来30天预期的年化波动率为15%,因此可以推断指数期权市场预期未来30天标准普尔500指数向上或向下波动15%/√12 = 4.33% 。也就是,指数期权的定价假设是:标准普尔500指数未来30天的波动率在正负4.33%以内的几率为68%。
只是 VIX指数是以标准普尔500指数为计算基准,对于其他商品并不适用, Larry Williams 针对于此重新设计了一个类似的指标 Williams VIX Fix (WVF)
WVF = (Highest(Close,22)- Low)/Highest(Close,22) *100 ;
从指标图来看相似度有 75%以上。
VIX策略交易系统设计(仅适用于multicharts平台)
{系统参数与变数}input:EntryType(4),ExitType(2);inputs:NBarL(5),NBarS(5),TradeProfit(0.02),TradeStopLoss(0.02),ATRs_L(12.7),ATRs_S(6.4);vars: IsBalanceDay(False),MP(0),PF(0),PL(0);inputs:BarLen(22),AvgLen(5),HighBar(12),LowBar(15);Vars:WVF(0),AvgWVF(0);MP = MarketPosition ;if DAYofMonth(Date) > 14 and DAYofMonth(Date) < 22 and DAYofWeek(Date)= 3 then isBalanceDay = True else isBalanceDay =False ;PF = AvgPrice*TradeProfit ;PL = AvgPrice*TradeStopLoss ;{计算 WVF }if Highest(Close,BarLen) <> 0 thenWVF = (Highest(Close,BarLen)- Low)/Highest(Close,BarLen) *100 ;AvgWVF = XAverage(WVF,AvgLen) ;{ 我使用 WVF 与均线交叉的想法 }if EntryType = 3 then Beginif MP <> 1 and WVF Cross over AvgWVF then buy next bar at Highest(High,NBarS) stop ;if MP <> -1 and WVF Cross under AvgWVF then sell next bar at Lowest(Low,NBarL) stop;end;if EntryType = 4 then Beginif MP <> 1 and WVF Cross under AvgWVF then buy next bar at Highest(High,NBarS) stop ;if MP <> -1 and WVF Cross over AvgWVF then sell next bar at Lowest(Low,NBarL) stop;end;{ 出场规则 }if ExitType = 1 then SetStopLoss(PL * BigPointValue) ;if ExitType = 2 then BeginSetStopLoss(PL * BigPointValue) ;setProfitTarget(PF * BigPointValue) ;end;if ExitType = 3 then Beginif MP > 0 and BarsSinceEntry = NBarL then ExitLong next bar at Market ;if MP < 0 and BarsSinceEntry = NBarS then ExitShort next bar at Market ;end;if ExitType = 4 then BeginSetStopLoss(PL * BigPointValue) ;setProfitTarget(PF * BigPointValue) ;if MP > 0 and BarsSinceEntry = NBarL then {Sell } ExitLong next bar at Market ;if MP < 0 and BarsSinceEntry = NBarS then {Buy} ExitShort next bar at Market ;end;if ExitType = 6 then SetStopLoss(PF * BigPointValue) ;if IsBalanceDay or date = 1150224 then setExitonClose ;
关注微信:
关注公众号:每天经典策略不错过!
通过下面方式支持我们:
1、关注管理员微信。
2、想用multicharts平台做程序化可以联系我们购买它们年度会员或绑定实盘进行程序化,我们有最具性价比的手续费政策和年度会员购买优惠折扣政策。
3、使用我们自研平台“鼎元C++全自动化”平台进行期货量化交易,执行期货公司特惠佣金费率,享受免平台费服务,【执行无平台费,不加手续费政策】,众多策略模板范例可供参考、优化与升级。我们还提供更多的教程服务与视频培训,欢迎咨询。
4、通过我们开立证券股票账户,执行人性化佣金政策,欢迎咨询。
5、我们的工作与研究离不开大家的支持。感谢大家!

