Login Page - Create Account

Support Board


Date/Time: Fri, 07 Feb 2025 01:51:34 +0000



[User Discussion] - Study Percent Change Sice Open Zero Line

View Count: 1192

[2020-04-28 17:21:47]
CMG - Posts: 179
Hi There,

In the study Percent Change Since Open the zero line is being adjusted by the "Input Data for CURRENT PRICE" when the Start Time input is set to First Bar in Chart.

Shouldn't the zero line be at the corresponding value for "Input Data for Opening Bar"? and therefore adjust according to the different inputs and corresponding values of the "input data for opening bar" which is the starting point for the calculation of the study?

Thanks
[2020-04-28 19:13:55]
Sierra Chart Engineering - Posts: 104368
The zero line is 0. It does not change.
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: 2020-04-28 19:14:12
[2020-04-28 19:40:12]
CMG - Posts: 179
Ok if you want to look at it that way let me then put it in terms of the study SYMBOL'S graph:

In the study Percent Change Since Open the SYMBOL'S GRAPH START POINT is being adjusted IN RELATION TO THE POSITION TO THE ZERO LINE by the "Input Data for CURRENT PRICE" when the Start Time input is set to First Bar in Chart.

Shouldn't the SYMBOLS GRAPH (showing the percent change since open to current price) BEGIN AT THE ZERO LINE if the start time is set to first bar in chart and and the input data for opening bar is set to OPEN (Meaning first price for first for first bar) and input data for current price is set to LAST?

If you plot a graph using this study with this settings the chart does not start at zero line which is the starting point for the calculations of the study.

Thanks
[2020-05-03 05:56:54]
CMG - Posts: 179
Hello
Can any one from sierra support take a look at my post and answer back analyzing the situation described?
Thank You
[2020-05-03 09:57:08]
Sierra Chart Engineering - Posts: 104368
It should not be zero if the Input Data for Opening Bar and the Input Data for Current Price are different. It will only be zero when these Inputs are the same.

Refer to the information here for how this is calculated:
Percent Change Since Open

We cannot provide further help.
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
[2020-05-20 00:25:08]
CMG - Posts: 179
Hello,

I was making a comment in regards of the result provided by the study and what its name and description intent to provide. I understand how the study is calculated.

The study returns different results for the same period of time if it is observed in different timeframes. The percent change since open at a certain point should not be different if observed in different time frames.

The study plots the graph only to begin at 0% if the input data for opening bar and current bar are the same (e.g. open, last, etc) thus creating the following problem:
In an 1 minute intraday chart for a regular stock session (9:30 to 16:00), if you want to get the exact % change since open during the session (as the study name suggests it is intended to do) you would need the open (open = fist price in the first bar) and the last of the current bar for the correct calculation. With these settings the chart does not begin at 0% (but returns the correct % change since open). The only way to have the chart begin at 0% is to either set opening bar to last and current bar to last, which would return an incorrect result as the calculation would be performed with the 9:30:59 price instead of the 9:30:00 price, or to set the opening bar to open and current price to open which would also return and incorrect calculation as the last price used would be the opening price of the last bar and not the last. The discrepancies are even larger when a longer time frame is set. So the study actually changes results for "% change since open" with different time frames when the underlying stock has the same opening price and last price! For a more precise description, the study is really "% change since last price of opening bar" (or “% change since open to open of last bar”)

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

Login

Login Page - Create Account