Login Page - Create Account

Support Board


Date/Time: Mon, 03 Aug 2026 06:25:34 +0000



Post From: custom studies crashes when trying to add a custom study i built

[2026-06-15 15:57:39]
User793675 - Posts: 12
ere is the exact blank test code that crashes Add Custom Study after compiling:

#include "sierrachart.h"

SCDLLName("SC_SAFE_LOAD_TEST_01")

SCSFExport scsf_SC_SAFE_LOAD_TEST_01(SCStudyInterfaceRef sc)
{
if (sc.SetDefaults)
{
sc.GraphName = "SC SAFE LOAD TEST 01";
sc.StudyDescription = "Absolute safe-load test.";
sc.GraphRegion = 0;
sc.AutoLoop = 0;
sc.UpdateAlways = 0;
sc.CalculationPrecedence = LOW_PREC_LEVEL;
sc.ValueFormat = VALUEFORMAT_INHERITED;
return;
}

return;
}

There is no divide by zero, no formulas, no arrays, no inputs, and no external study references.

When the compiled DLL exists, opening Analysis >> Studies >> Add Custom Study crashes Sierra Chart. When I delete the compiled DLL, Add Custom Study works again.

Existing older custom DLLs load correctly.