Login Page - Create Account

Support Board


Date/Time: Wed, 27 Nov 2024 02:38:45 +0000



Minor bug in scsf_TimeAndSalesIterationExample in studies5.cpp

View Count: 242

[2023-09-28 22:54:46]
User719512 - Posts: 264
Add this line the to code in scsf_TimeAndSalesIterationExample in studies5.cpp
LastProcessedSequence = TimeSales[TSIndex].Sequence;

Code Snippet


  // Loop through the Time and Sales.
  for (int TSIndex = 0; TSIndex < TimeSales.Size(); ++TSIndex)
  {
    //do not reprocess previously processed sequence numbers.
    if (TimeSales[TSIndex].Sequence <= LastProcessedSequence)
      continue;
      
    LastProcessedSequence = TimeSales[TSIndex].Sequence;
    
    //only interested in trade records

[2023-09-29 14:31:51]
Sierra_Chart Engineering - Posts: 17190
Thank you we will look this over.
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, use the Teton service:
Sierra Chart Teton Futures Order Routing

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

Login

Login Page - Create Account