Login Page - Create Account

Support Board


Date/Time: Thu, 16 May 2024 10:21:52 +0000



Post From: Referring a custom study from another custom study

[2020-04-26 11:11:31]
backinblack - Posts: 29
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