Login Page - Create Account

Support Board


Date/Time: Mon, 24 Feb 2025 22:18:08 +0000



Post From: Request for VS2019 template- either Project or Solution for SC X64 dlls to put my custom

[2021-03-18 00:41:20]
Flipper_2 - Posts: 57
Just to have another set of eyes on it give us a screen shot of the VS property pages, General, C/C++ General and Precompiled Headers as well as all the code as text like this,

#include "C:\SierraChart\ACS_Source\sierrachart.h"
SCDLLName("HelloWorld Study DLL")

SCSFExport scsf_UniqueFunctionName(SCStudyInterfaceRef sc)
{
if (sc.SetDefaults)
{
// Set the defaults
sc.GraphName = "My New Study Function";

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

sc.AutoLoop = 1;

// Enter any additional configuration code here
return;
}

// Perform your data processing here.

// Multiply the Last price at the current bar being processed, by 10.
sc.Subgraph[0][sc.Index] = sc.Close[sc.Index] * 10;

return;
}