Login Page - Create Account

Support Board


Date/Time: Sat, 15 Mar 2025 23:02:31 +0000



[User Discussion] - ACSIL Study Call Frequency

View Count: 1474

[2015-02-13 22:32:33]
QnReally - Posts: 188
I recently noticed that my studies are getting called even when new trades haven't occurred. I am assuming that it is as designed because some studies may want to know when bids/offers change. I limit the number of times a study (for some of my studies) is calculated by keeping track of the last call time.

My SC instance used to run at 15+% CPU utilization. I have a lot of studies added to multiple charts so it basically maxes out one CPU core in my computer. By adjusting "Chart Update Interval" in individual charts, I am under the impression that I was able to bring the CPU utilization down to 14% or so.

I was wondering if SC would be interested in bringing some additional efficiency related tweaks to ACSIL core so that the ACSIL developers can be relieved of this task. I understand you guys are very busy and you have competing priorities. Please let me know if this cannot be considered in the foreseeable future. In that case, I shall bring it up later.

I am thinking of the following:

1) Studies getting called at customized update speeds based on
a) the number of milliseconds elapsed since the last call,
b) the number of price changes since the last call,
c) every trade,
d) every trade and/or bid/offer change, or
e) update always

2) A way to generate a performance report on which studies in which charts are taking up the most time per execution and for all executions together.

Thanks.
[2015-02-13 23:05:42]
Sierra Chart Engineering - Posts: 104368
The only thing that we are able to say and offer is that you can set a custom Chart Update Interval within the chart itself. There is a setting for this in Chart >> Chart Settings.

Otherwise, no changes or additions are planned.
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
[2015-02-14 23:55:05]
Kiwi - Posts: 375
You can do the things you want by adding code at the beginning of a dll function to check if your desired condition has changed.

Thats much more efficient than SCE doing it (and impacting every single study with unneeded checks). For example a lot of my studies only need to change every new bar so if they're intensive I add something like this at the beginning to short circuit evaluation:

    if(sc.Subgraph[9][99] == sc.ArraySize) return;
    sc.Subgraph[9][99] = sc.ArraySize;

[2022-07-28 17:09:20]
QnReally - Posts: 188
Thanks Kiwi. I can leverage that.

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

Login

Login Page - Create Account