Registered User Joined: 5/26/2017 Posts: 25
|
Hi Trainer,
I'm trying to get the Historical Volatility over 3 years in a monthly Timeframe, but not sure whether the following formula ist correct. The Output should be a simple decimal value:
SQR(ABS((SUM(LOG(C / C1) ^ 2,36) - LOG(C / C36) ^ 2/36) / 36))
Thanks!!
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
To get the historical volatility, you need to multiply what you have by 100 and the square root of the number of periods in a year.
100 * SQR(12) * ABS((SUM(LOG(C / C1) ^ 2, 36) - LOG(C / Cx) ^ 2 / 36) / 36) ^ .5
The 1600 at the beginning of the regular historical volatility formula is a result of using 256 as the number of trading days in a year (mostly because the square root is a nice even 16).
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
Registered User Joined: 5/26/2017 Posts: 25
|
Thanks!
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|