Login Page - Create Account

Support Board


Date/Time: Thu, 25 Apr 2024 08:13:29 +0000



CustomInput keeps resetting to YesNo Input

View Count: 442

[2018-11-27 22:17:55]
Usermb - Posts: 126
Using 1847, but also happened using 1846, CustomInputs keep resetting to YesNo input types.


SCInputRef in_type = sc.Input[0];
...
in_type.Name = "Data type";
in_type.SetCustomInputStrings("Type1;Type2;Type3;Type4");
in_type.SetCustomInputIndex(0);

For completeness:
- the study doesn't have any other inputs
- the data of this study bases on the data of another study

After a restart all is good and as expected, a CustomInput is with the proper values is being displayed. The problems happens randomly after opening the Studies Window and closing it, even if there is no change made to the studies.

A couple of times I also saw issues with StudySubgraphValues input types, the referenced Subgraph ID appeared corrupted, it diplayed ID followed by a very large number.
imageCapture2.PNG / V - Attached On 2018-11-27 22:11:10 UTC - Size: 5.27 KB - 198 views
[2018-11-27 23:03:06]
Sierra Chart Engineering - Posts: 104368
We do not believe this is a problem on the Sierra Chart side. More than likely your study is causing a memory corruption. Do you see this issue with any of the built-in Sierra Chart studies?
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-11-27 23:20:34]
Usermb - Posts: 126
Will keep an eye on this, the truth is this study involves some really complex stuff, memory-mapped files, dynamic allocation etc.
Could very well be something awry going on with my code. Thanks for the tip.
Date Time Of Last Edit: 2018-11-27 23:21:05

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

Login

Login Page - Create Account