Login Page - Create Account

Support Board


Date/Time: Fri, 29 Nov 2024 00:57:41 +0000



Post From: ACSIL - sc.GraphRegion

[2016-06-01 00:26:27]
Sierra Chart Engineering - Posts: 104368
We tested this and the Chart Region does work properly when always set in the study function. It is set to Chart Region 2 in this particular case:


/*==========================================================================*/
SCSFExport scsf_TestFunction3(SCStudyInterfaceRef sc)
{
  if (sc.SetDefaults)
  {
    // Set the configuration and defaults

    sc.GraphName = "Test Function 3";

    sc.AutoLoop = 1;

    sc.FreeDLL = 0;

    sc.StudyVersion = 1;

    sc.Subgraph[0].Name = "Test";
    sc.Subgraph[0].DrawStyle = DRAWSTYLE_LINE;

    return;
  }

  sc.GraphRegion = 1;

  sc.Subgraph[0].Data[sc.Index] = sc.Close[sc.Index];
}

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