Login Page - Create Account

Support Board


Date/Time: Wed, 01 May 2024 13:45:15 +0000



Post From: Automated Strategy/Study - Processing Each Tick Considerations

[2018-06-15 17:33:07]
Sierra Chart Engineering - Posts: 104368
then the Study can step through from the Prior Array Size to the Current Array Size and perform calculations for each piece of market data. Is this correct?
The page we linked to covers this subject in its entirety. You just need to read the documentation. We will not say anything here about this. Reference:

Working with ACSIL Arrays and Understanding Looping


If the above is correct, the question then becomes what happens if the Study cannot step/loop through all of the captured market data (performing calculations for each value) before it's next called in 200ms (due to a lack of processing power)? It sounds like the Study might start to lag behind until the market data rate drops enough for it to catch up...

The study function is not going to get called again until it finishes the calculations and the next chart update interval occurs. This is never a problem. If a chart update needs to be skipped because of the time to calculate a study it will be skipped.

Also never use sc.OnExternalDataImmediateStudyCall . We should remove that.
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
Date Time Of Last Edit: 2018-06-15 17:48:29