logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
garykong  
#1 Posted : Sunday, July 17, 2005 7:39:39 AM(UTC)
garykong

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 4/30/2005(UTC)
Posts: 112

What is the formula to plot Historical Volatility? Attached with the formula. Gary
wabbit  
#2 Posted : Sunday, July 17, 2005 8:36:17 AM(UTC)
wabbit

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 10/28/2004(UTC)
Posts: 3,111
Location: Perth, Western Australia

Was thanked: 16 time(s) in 16 post(s)
Quote:
To calculate the historical volatility study, you must first identify the mean and then calculate the standard deviation
Luck, chance or good fortune? Have a read of this, http://forum.equis.com/viewtopic.php?t=933 and then have a look in the manual for moving averages and standard deviation. wabbit :D
henry1224  
#3 Posted : Monday, July 18, 2005 12:59:35 AM(UTC)
henry1224

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 10/29/2004(UTC)
Posts: 1,394
Location: Glastonbury, CT

Was thanked: 2 time(s) in 2 post(s)
garykong  
#4 Posted : Tuesday, July 19, 2005 8:23:16 AM(UTC)
garykong

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 4/30/2005(UTC)
Posts: 112

Referring to Henry's link provided, I use Jose Silva's formula to plot HS Index daily chart (EMA period = 20, choose 4 close & 2 volatility), giving 13.5937 for 18 July. However, I use my excel file, see attached, which gives 12.017%. Can anyone me modifying the formula to show my set of figures? Also, could you add a 5 day moving average in the indicator of HV as well, similar to my excel file? Gary Jose's formula {Volatility-adjusted, dynamic-period EMA v2.0} {©Copyright 2003 Jose Silva} {josesilva22@yahoo.com} pds:=Input("EMA periods",1,2520,21); x:=Input("use Open=1 High=2 Low=3 Close=4 Volume=5",1,5,4); plot:=Input("plot: EMA=1 volatility=2 dynamic EMA periods=3",1,3,1); x:=If(x=1,O,If(x=2,H,If(x=3,L,If(x=5,V,C)))); Vt:=Stdev(C,5)/Mov(Stdev(C,5),10,S); pds:=pds*.75/(Vt+.1); pds:=If(Cum(1)-13<pds,Cum(1)-13,pds); pds:=If(pds<1,1,pds); DyEma:=x*2/(pds+1)+PREV*(1-2/(pds+1)); If(plot=2,Vt*10,If(plot=3,pds,DyEma))
Users browsing this topic
Guest (Hidden)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.