Login Page - Create Account

Support Board


Date/Time: Sun, 28 Apr 2024 23:54:32 +0000



[Programming Help] - Study calculation time gets longer and longer

View Count: 652

[2018-08-02 22:03:56]
User53601 - Posts: 105
Hello,

I have programmed more than 15 studies for my trading so far.

Now I have got an issue with one of them.

Always when I do recalculation of all studies via
Analysis/Studies/ OK or APPLY button

the calculation time of one of the studies gets ever longer.

It looks like this:
first calculation takes 40 ms
then I make recalculation by APPLY button, calculation takes 80 ms.
another use of Apply button takes 150 ms, then 200 ms, and so on.

I do not have a clue what is wrong with the code.
Could you give me a hint where should I focus to search for the reason of this behaviour?

Thank you
[2018-08-04 00:58:15]
Sierra Chart Engineering - Posts: 104368
You really just have to examine the code and see where you have loops of processing and seeing if those iterations are just getting greater and greater. It is hard for us really to say. This is just one suggestion.
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
[2018-08-06 06:58:04]
@sstfrederik - Posts: 403
In my experience this can sometimes happen on studies when you have sc.FreeDLL set to 1.

Frederik
simplesystemtrading.com

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

Login

Login Page - Create Account