Login Page - Create Account

Support Board


Date/Time: Mon, 25 Nov 2024 14:30:44 +0000



[Programming Help] - Put custom studies in a folder

View Count: 297

[2024-01-29 01:20:02]
User081362 - Posts: 7
Hello, I have a group of custom studies I built that I would like to put in a folder to be able to see them all together instead of having to search through the add custom studies menu. I noticed that the user contributed studies and sierra chart custom studies and examples are in a folder so I was wonder how I can do this with my studies?
[2024-01-29 04:02:01]
User719512 - Posts: 264
Put them all in the same DLL.
[2024-02-28 04:11:30]
User081362 - Posts: 7
Hello, I'm finally getting back around to this. I did some research and am a bit confused on how to do this. Can you elaborate?
[2024-02-28 04:58:12]
User719512 - Posts: 264
Easiest explanation is to put all your study functions in a single file. You can have multiple source files and just specify the SCDLLNAME in just one file.


#include "sierrachart.h"
SCDLLName("My Awesome Studies")

SCSFExport scsf_Study1(SCStudyInterfaceRef sc)
{
...
}

SCSFExport scsf_Study2(SCStudyInterfaceRef sc)
{
...
}

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account