Login Page - Create Account

Support Board


Date/Time: Sun, 19 May 2024 01:11:24 +0000



Post From: Constant CPU Exceptions When Clicking "Add Custom Study" Button

[2016-10-05 18:02:19]
Sierra Chart Engineering - Posts: 104368
The problem is not within Sierra Chart. We have verified that.

Your code apparently does have some problem with it if it is causing an exception.

This is not going to solve the underlying problem but this block of code needs a return statement at the end:
if (sc.SetDefaults)
{
sc.FreeDLL = 1; //CHANGE THIS!


sc.GraphName = "FXNews";
sc.GraphRegion = 0;
sc.HideStudy = 1;

sc.AutoLoop = 1;

Symbol.Name = "Chart Symbol?";
Symbol.SetCustomInputStrings("ACa;ACh;AJ;AN;AU;CaCh;CaJ;ChJ;EA;ECa;ECh;EG;EJ;EN;EU;GA;GCa;GCh;GJ;GN;GU;NCa;NCh;NJ;NU;UCa;UCh;UJ");
Symbol.SetCustomInputIndex(0);
DebugDaysMedian.Name = "Debug getting days HL median?";
DebugDaysMedian.SetYesNo(0);
Debug5MinChanges.Name = "Debug 5 minute changes?";
Debug5MinChanges.SetYesNo(0);

return;//this is needed

}

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: 2016-10-05 18:03:36