Login Page - Create Account

Support Board


Date/Time: Mon, 24 Feb 2025 12:59:44 +0000



Study Subgraph Offset??

View Count: 932

[2021-03-14 18:14:08]
RonW - Posts: 105
What I would like to do is easily offset a study.... for example, today I might want to see RSI as of the close yesterday (like "Reference 1 periods back".

Seems to be one possibility is a "Study Subgraph Offset" study. Alternatively, you can add a "Reference n periods back" input to the Study Subgraph Reference study.

I know I can do this with the Spreadsheet Study if my other suggestions are not feasible.

Thanks!
[2021-03-14 18:16:33]
RonW - Posts: 105
Above... I meant, "I know I can do this with Spreadsheet Formula if my other suggestions are not feasible. Sorry.
[2021-03-15 16:04:51]
John - SC Support - Posts: 38116
Since you are actually looking for a specific period of time (Day, Session, etc.) then to really see the previous period the specific study would have to have the option to do so. The RSI study, for instance, does NOT have this option. It is something that you could add to the study if you want to code it. Refer to the following:
How to Build an Advanced Custom Study from Source Code

The Subgraph Displacement will not really work, as it just moves the study information by the number of bars of the offset. So as new bars are added, it keeps moving forward with the new bars. Refer to the following:
Chart Studies: Subgraphs Tab >> Displacement

As you stated, using the Spreadsheet or Spreadsheet Formula and specifying a Date/Time for the data you want and then projecting that forward is another option. Refer to the following for Spreadsheet Formula:
Spreadsheet Formula
For the most reliable, advanced, and zero cost futures order routing, use 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