Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

Standard deviation of 30 day range Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
HHA
Posted : Tuesday, July 4, 2017 2:11:43 PM
Registered User
Joined: 8/10/2014
Posts: 10

Hi I would like to calculate, the standard deviation of the thru range of the last 30 days.

STDDEV(H-L,30) doesn't seem to give the right number, any suggestions?

Thx in advance

 

Bruce_L
Posted : Wednesday, July 5, 2017 10:09:01 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

Please try the following if you want a 30 period standard deviation of range.

SQR(ABS(SUM((H - L) ^ 2, 30) - 30 * AVG(H - L, 30) ^ 2) / 30)

And the following if you want a 30 period standard deviation of true range.

SQR(ABS(SUM(ATR ^ 2, 30) - 30 * AVG(ATR, 30) ^ 2) / 30)

Standard Deviation



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
HHA
Posted : Wednesday, July 5, 2017 5:14:37 PM
Registered User
Joined: 8/10/2014
Posts: 10

Thats it! Thanks a lot!

stochastics
Posted : Friday, November 9, 2018 2:50:30 PM
Registered User
Joined: 3/3/2013
Posts: 57

What is the difference betw/ Standard Deviation & Average True Range? 

Is one more reliable than the other?  Is the correlation strong (very strong)? 

 

StockGuy
Posted : Friday, November 9, 2018 3:00:57 PM

Administration

Joined: 9/30/2004
Posts: 9,187

This is from an article in Stocks & Commodities magazine:

"These indicators are constructed very differently and aren't really interchangeable. The common perception is that the ATR is a better measure of volatility because it captures more information, while the STDEV only measures the volatility of the closes (in its most common usage). STDEV can be applied to the highs, lows, or any series that the trader likes. In this sense, STDEV is the more flexible of the two."

 

http://traders.com/documentation/feedbk_docs/2001/06/Abstracts_new/gustafson/gustafson.html

Users browsing this topic
Guest-1

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.