Login Page - Create Account

Support Board


Date/Time: Thu, 06 Mar 2025 04:30:36 +0000



Sharing a dll file

View Count: 1213

[2022-01-21 19:48:28]
User239109 - Posts: 3
Greetings,
I am trying to load a dll file that is being shared with me. It's of chart settings/studies/indicators. I have downloaded this link into the ACS_Source under analysis. When I try to open the file I get what looks to me to be a coding popup that is on notepad ++ ~~source code file must include this line~~

How do I resolve this issue I am having with a dll file being shared with me.

Thank you
Private File
Attachment Deleted.
[2022-01-22 14:49:13]
ForgivingComputers.com - Posts: 1021
You need to save the DLL in the c:\sierrachart\data folder before you can add it as a custom study.
[2022-01-25 00:53:05]
User239109 - Posts: 3
I have done these steps. I still get the code pop-up, "the top of every source code file must include this line". Please see attachment.
[2022-01-25 12:42:29]
ForgivingComputers.com - Posts: 1021
That message means the CPP is missing the #include statement:

// The top of every source code file must include this line
#include "sierrachart.h"

[2022-01-25 13:59:57]
Sierra Chart Engineering - Posts: 104368
So it looks like you have just been provided the CPP file and not the the DLL file?
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
[2022-01-26 04:02:13]
User239109 - Posts: 3
I don't see a "cpp" on it, it says I have a dll file according to the file name.

Also, I am looking into another broker, thank you, I saw your message.
[2022-01-26 15:41:23]
John - SC Support - Posts: 38425
I don't see a "cpp" on it, it says I have a dll file according to the file name.

You have the original code, not a dll. We can see from your image that the filename ends in .dll.cpp, which is odd, but it is the source code. Therefore, you would need to compile the code to get the actual dll. Refer to the instructions here:
How to Build an Advanced Custom Study from Source Code: Step-By-Step Instructions
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing

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

Login

Login Page - Create Account