Login Page - Create Account

Support Board


Date/Time: Thu, 25 Apr 2024 23:42:52 +0000



[User Discussion] - Auto updating study input

View Count: 924

[2018-11-12 14:05:56]
nus1 - Posts: 39
Hi,

X study value Y ---> Z study input Y /// basically auto updating setting input relative to constantly calculated value from other study

Is there a way to set this up through alert condition or would it need custom study programming?


Thank you
Date Time Of Last Edit: 2018-11-12 17:14:11
[2018-11-12 22:41:05]
Sawtooth - Posts: 3976
Sometimes problems like this are related to calculation order.
Chart Studies: Study Calculation Precedence And Related Issues

If not, maybe this study will do what you want:
Kiwi Resync Study - Memory leak?
Go to post #7
Date Time Of Last Edit: 2018-11-12 22:42:24
[2018-11-13 00:09:36]
nus1 - Posts: 39
My bad, I did not make myself clear enough.

I want to change Z settings(X study value Y ---> Z study input Y) automatically relative to X output value.
[2018-11-13 01:37:51]
enemyspy - Posts: 304
Are you referring to acsil custom studies?
[2018-11-13 01:52:48]
enemyspy - Posts: 304
If both the studies are publicly available in the Sierrachart/ACS source folder. You could modify the source code to do what you want. You could do this using adding a subgraph input to study Z and use the value from the subgraph input.
Or
This probably what I would do: If your input is an Int for instance. Have the value y update an sc.getPersistentInt() in study x, and use sc.GetPersistentIntFromChartStudy() on study z to update input y when sc.Index == sc.ArraySize-1.
[2018-11-13 10:23:54]
nus1 - Posts: 39
Thank you for your reply enemyspy

I have 0 programming exp so there is a lengthy learning curve. I looked into what you said.

Following SC documentation I can't seem to find studies that I require(bid&ask depth bars & spread sheet formula). However I found and I assume I'm only suppose to find segments of studies and not the whole thing(prob very newbie thing to say).

Particularly what I need is: bid&ask depth bars study -> maximum depth levels to use setting to use value from spread sheet formula study(automate this process).

Any guideline would be most appreciated.
Date Time Of Last Edit: 2018-11-13 10:26:14
[2018-11-13 17:24:10]
enemyspy - Posts: 304
Yeah unfortunately you would pretty much have to reverse engineer the bars using the vap containers to achieve that.It would be costly to get done as well as not nearly as good.

I have a few custom studies that do what you describe via spreadsheets, and use the subgraph as input values, but not the depth bars. You need control of the source code.

You could try the approach of offering Sierra Chart Engineering some extra cash to add this feature to the depth bars.
Date Time Of Last Edit: 2018-11-13 17:29:14
[2018-11-13 19:44:34]
nus1 - Posts: 39
Yeah, that's not something I'll be able to tackle myself. I've come to an arrangement with one of SC programmers @sstfrederik to do it for me.

Thank you for your help.

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

Login

Login Page - Create Account