Login Page - Create Account

Support Board


Date/Time: Sat, 30 Nov 2024 01:47:48 +0000



Third Level Reference In Studies

View Count: 388

[2023-01-02 13:19:16]
User286186 - Posts: 22
Hello,

I am coding a study (ID 6).
I would like to access a subgraph contained in another study (ID 16), which in turn accesses another study (ID 12).

So the path should be 6 --> 16 --> 12, where "-->" means "accessing to subgraphs of".

I show you a screenshot of the path below.

The problem is that the condition ID16.SG1 = 1 (which means that the study 16 is indeed triggered by the study 12), is never activated, even when the study 12 triggers it). I need the condition mentioned above in order to use it in my study 6.

in other words, I would like to modularize my code by grouping some conditions in intermediate studies (here, study 16), but I can't.
So I end up writing a monstrous code in study 6, which is very annoying.

Thanks in advance for your help.
Attachment Deleted.
images.png / V - Attached On 2023-01-02 13:18:42 UTC - Size: 29.26 KB - 90 views
[2023-01-02 14:49:34]
User431178 - Posts: 545
Chart Studies: Study Calculation Precedence And Related Issues

Take a look at the information linked above, not 100% that is the cause, as cannot see your alert formula.
ID6 should be below the other studies that it's based on, as ID6 and ID16 have the same precedence level.
[2023-01-02 22:49:03]
Sierra_Chart Engineering - Posts: 17266
Yes you want to check the calculation order of the studies and make sure they are as intended.

In the list of Studies to Graph in Analysis >> Studies you will see "CalcOrder: (where 1 is the first calculated study)". This will tell you what the calculation order is.
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, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2023-01-03 08:05:09]
User286186 - Posts: 22
Thank you !

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

Login

Login Page - Create Account