[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Re: Trying to plot historical volatility with AFL



PureBytes Links

Trading Reference Links


I'm not familiar with ivolatility.com, but I would guess they are calculating an implied volatility based on closing SP option prices using an option pricing model like Black-Scholes.

Regards,

David


--- In amibroker@xxxxxxxxxxxxxxx, Potato Soup <potatosoupz@xxx> wrote:
>
> I'm trying to plot the 30 day historical volatility of the S&P 500, using the following AFL on a daily chart with around 2 years of end of day prices for the S&P 500:
> 
> Plot(StDev(Close, 30),"Historical Volatility", colorOrange,styleLine);
> 
> However when I look at the values, they appear to be a bit off to what I see when I look online here:
> 
> http://www.ivolatility.com/options.j?ticker=SPX:CBOE&R=1&period=12&chart=2&vct=
> 
> For today they have 18.99, where as my chart shows 19.348. All my other values going back further don't match their chart either. Any ideas, are they calculating it differently than just a simple standard deviation?
>



------------------------------------

**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to 
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    amibroker-digest@xxxxxxxxxxxxxxx 
    amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/