Login Page - Create Account

Support Board


Date/Time: Fri, 31 Jan 2025 00:19:16 +0000



Measure the average size of a bar for a time period

View Count: 2144

[2019-04-03 13:48:49]
User123891 - Posts: 20
I am trying to calculate the average range of the 60 minute bar for a given time period. For example, the opening bar of the day session for the S&P Futures. I would like to know what that has been for the last 12 days. I have tried compiling a 60 minute chart from 8:30-9:29:59 and then running ATR and ROC indicators with their moving averages. I am not getting accurate numbers. The ATR on that chart calculates the moves from one day to the next and the ROC gives me the averages up or down. I just want the ranges of the bars. Can you help me? Thanks
[2019-04-03 16:07:09]
User13668 - Posts: 294
Keep what you have done with the 60 minute chart with the session time for the hour stated.

But then apply the Bar Difference study to the Main Price graph and plot it in Region 2. This will give you the Range of each 60 minute bar. Then apply a SMA (12) to Region 2 (Bar Difference). You will now have the average range for that one hour back for 12 days. You will need to load about 25 days of data to have a true average for each of the days back for 12 days as otherwise loading only 12 days of data will give you an accurate average only for the current days SMA (12).
[2019-04-03 16:32:47]
Sierra Chart Engineering - Posts: 104368
Have a look at using the Relative Volume study:
Relative Volume: Basing Relative Volume Study on Another Study for Non-Volume Comparisons

You can base it on the Bar Difference study which can calculate the range of a bar :
Bar Difference
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2019-04-03 16:33:11

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account