Login Page - Create Account

Support Board


Date/Time: Fri, 24 Jan 2025 05:15:04 +0000



Post From: how to interact with spreadsheets from ACSIL

[2018-12-19 16:18:26]
User145885 - Posts: 15
Hi. I am trying to work with a simple example on how to interact with spreadsheets using acsil code and I get the warning that I posted at the bottom. Is there anything I can do about it? have the function changed? thanks in advance.

SCSFExport scsf_SpreadsheetInteractionExample(SCStudyInterfaceRef sc)
{
  SCSubgraphRef FormulaResultSubgraph = sc.Subgraph[0];

  if (sc.SetDefaults)
  {
    // Set the configuration and defaults

    sc.GraphName = "Spreadsheet Interaction Example";

    sc.StudyDescription
      = "This is an example study for demonstrating how to interact with spreadsheets from ACSIL. ";

    sc.AutoLoop = 1;

    FormulaResultSubgraph.Name = "Formula Result";
    FormulaResultSubgraph.DrawZeros = true;

    return;
  }
const char* SheetCollectionName = "ACSILInteractionExample";

  const char* SheetName = "Sheet1";

  const n_ACSIL::s_SpreadsheetSheetHandle SheetHandle
    = sc.GetSpreadsheetSheetHandleByName(SheetCollectionName, SheetName);

Warning: This Custom DLL study may cause Sierra Chart to be unstable until you remove the study from your chart and restart Sierra Chart. | 2018-12-19 09:02:17 *