Login Page - Create Account

Support Board


Date/Time: Thu, 25 Apr 2024 03:54:12 +0000



Studies not loaded/reloaded in v2034

View Count: 514

[2020-01-13 15:25:50]
nosast - Posts: 290
I upgraded to v2034 and a few custom studies only load after I hide and unhide them in the studies window.

Also I have a Pull Stack study which get's reloaded and starts with no data after e.g. changing some settings in another study in the same chartbook (maximum colouring in depth on MDH study) caused the PSL to reset.

Went back to v2031 and everything is fine there so I think both issues are related.
[2020-01-13 15:32:33]
nosast - Posts: 290
Just tested on my remote machine via RDS which is on v2033 without any issues. So the problem started with v2034.
[2020-01-13 17:49:22]
Sierra Chart Engineering - Posts: 104368
As these are Custom Studies, you will need to ask the developer of the studies about these issues. We cannot know from our side what the problem is.
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
[2020-01-13 17:52:08]
nosast - Posts: 290
Will do that and stick with v2033 for time being. Also I will wait for a final update and not use prerelease.

Thx
[2020-01-13 21:17:04]
@sstfrederik - Posts: 403
SC

I investigated this and it seems the in the pre-release v2034 a persistent variable is set back to zero after a study reload.

I know .... I couldn't believe it myself either.

This is very bad in many ways. I know you likely deny it, but it is still happening. Utterly simple code below.

Please fix this ASAP. I always tell my users not to use pre-release maybe you should too (at least for this one).


Thanks,

Frederik


SCSFExport scsf_TestStudy(SCStudyInterfaceRef sc)
{
if (sc.SetDefaults)
{
    sc.GraphName = "Test Name";
    
    sc.FreeDLL = 0;

    sc.AutoLoop = 1;

  
return;
}
// Data processing code  
  
  int& ArrayIndex = sc.GetPersistentInt(1);
  //
  SCString aap;
  if(sc.Index == 0){
    
    aap.Format("ArrayIndex = %d",ArrayIndex);
    sc.AddMessageToLog(aap,1);
  }
  //
  ArrayIndex = 10;
}

[2020-01-13 21:57:51]
Sierra Chart Engineering - Posts: 104368
Ok we will check on this. It is not something we would deny. We will simply look and see what the problem is. Although if we do not see the problem, we will let you know.
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
[2020-01-13 22:43:08]
Sierra Chart Engineering - Posts: 104368
Ok we see the problem, we are looking to see why it is happening.
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: 2020-01-13 22:43:25

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

Login

Login Page - Create Account