Support Board
Date/Time: Sun, 02 Nov 2025 21:49:08 +0000
[Programming Help] - Referencing prior bars in Studies
View Count: 2070
| [2018-06-29 14:48:57] |
| User360283 - Posts: 524 |
|
I want to reference prior data [-N] in studies such as Study Subgraph Add, Subtract, Multiply, etc. Using a negative displacement on the resulting plot only visually displays the plot as desired, but the correct data cannot be used to generate a signal without having the ability to reference prior data in the studies. Help please Thanks |
| [2018-07-11 11:17:21] |
| User360283 - Posts: 524 |
|
Waiting for an answer
|
| [2018-07-11 22:44:57] |
| |
|
This is possible and is explained here: Study/Chart Alerts And Scanning: Referencing Data Other Than on the Last Bar/Column In the Chart 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 |
| [2018-07-16 10:23:36] |
| User360283 - Posts: 524 |
|
I want to reference prior data [-N] in studies such as Study Subgraph Add, Subtract, Multiply, etc. Please see enclosed snip. In the Study Subgraph Multiple I was trying to code the Input Data to be S5-Avg1[-1] This data is then used in additional formulas and is different from negative displacements. Thanks |
| |
To post a message in this thread, you need to log in with your Sierra Chart account:
