Login Page - Create Account

Support Board


Date/Time: Thu, 31 Oct 2024 23:30:25 +0000



[Programming Help] - Referring a custom study from another custom study

View Count: 654

[2020-04-26 11:11:31]
backinblack - Posts: 33
Hi,

ACSIL question:

I have a custom study which calculates certain data points. I want to reuse these data points across other custom studies. I have been using SCInputRef for referring to existing standard studies (stoch/rsi etc) in my custom studies. Is the mechanism for referring to another custom study and its arrays the same? Reason I ask is the order of study calcualtion. In my usual custom studies (where am referring to stoch/rsi et al) I have this:


sc.CalculationPrecedence = LOW_PREC_LEVEL;
  

Which makes sense as the custom study needs the stoch/rsi to be updated first and then invoked. But what happens in case of a custom study referring to another custom study? Will SC resolve on its own that there is a dependency and invoke them in an order or do I have to manually set an order of invocation?

Many Thanks

-J
Date Time Of Last Edit: 2020-04-26 11:13:46
[2020-04-27 20:00:48]
Sierra Chart Engineering - Posts: 104368
Yes the method would be the same even for custom studies. Also refer to:
Chart Studies: Study Calculation Precedence And Related Issues
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

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

Login

Login Page - Create Account