Login Page - Create Account

Support Board


Date/Time: Sat, 04 Apr 2020 04:31:22 +0000



[Programming Help] - Referencing prior bars in Studies

[2018-06-29 14:48:57]
User360283 - Posts: 314 | Ending Date: 2020-04-30
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: 314 | Ending Date: 2020-04-30
Waiting for an answer
[2018-07-11 22:44:57]
Sierra Chart Engineering - Posts: 83107 | Ending Date: 2020-06-09
This is possible and is explained here:
https://www.sierrachart.com/index.php?page=doc/StudyChartAlertsAndScanning.php#ReferencingDataOtherLastBar
Sierra Chart Support - Engineering Level

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

If your question/request has been answered and you do not have anything further, then it is easiest for us if you do not reply again to say thank you.
[2018-07-16 10:23:36]
User360283 - Posts: 314 | Ending Date: 2020-04-30
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
imagesierra snip.PNG / V - Attached On 2018-07-16 10:23:28 UTC - Size: 200.42 KB - 96 views

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

Login

Login Page - Create Account