Login Page - Create Account

Support Board


Date/Time: Mon, 07 Jul 2025 07:59:53 +0000



52 Week High/Low Study - WRONG Values

View Count: 1339

[2019-04-15 06:19:00]
HAB-User115006 - Posts: 38
I am trying to plot 2 lines to show 52 Week H/L of ESM19 continuous contract(Date Rule Rollover)
I am using the built-in 'Period OHLC-Variable Period' study
I am getting wrong values for 52 week High, and may have something to do with parameters I am using
If this is not the appropriate study do this please suggest any other simpler method

Settings are as follows:
I have hidden Open and Close values

Time period Type = Weeks
Time Period length = 52
Use current period = Yes
Number of days to calculate = 500

The correct value is the High value for 9/21/18, but the value is the High of 4/12/19
Screen shot of the chart is attached

http://www.sierrachart.com/image.php?Image=1555308970820.png
[2019-04-15 07:46:21]
User907968 - Posts: 840
Hi,
Not used that particular study personally, but instead I use the one linked below, maybe this can help you?

Highest High/Lowest Low Over N Bars
[2019-04-15 07:56:32]
Sierra Chart Engineering - Posts: 104368
You need to use 1 Year for the Time Period Type and Length instead of 52 weeks.
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

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

Login

Login Page - Create Account