Login Page - Create Account

Support Board


Date/Time: Sun, 19 May 2024 12:36:04 +0000



Studies not available despite placing it in Data folder

View Count: 864

[2018-12-21 17:35:55]
aliaostage5 - Posts: 6
Hi all,

I've been trying to implement a custom study, and after placing the dll file in the Data folder, I go to Study Settings to activate it and it does not show up. Any idea how I can get this to work? I am using SierraChart 64 on a Mac with Parallels.

Thanks!
[2018-12-21 17:48:29]
Sierra Chart Engineering - Posts: 104368
We recommend using the Remote Build method to build the DLL and not some other external development tool. Refer to:
Advanced Custom Study Interface and Language (ACSIL): Step-By-Step Instructions to Create an Advanced Custom Study Function
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
[2018-12-21 17:54:55]
aliaostage5 - Posts: 6
Hi,

this was built using Remote Build, just wondering why it's not being recognized when being placed in the Data folder.
[2018-12-21 18:12:13]
Sierra Chart Engineering - Posts: 104368
When you go to the Add Custom Study window through Analysis >> Studies, is there any error text shown with the DLL name? Or is the DLL name just not displayed at all?
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
Date Time Of Last Edit: 2018-12-21 18:12:30
[2018-12-21 18:19:13]
aliaostage5 - Posts: 6
No error text is shown; the DLL name is just not displayed at all.
[2018-12-21 21:33:21]
Sierra Chart Engineering - Posts: 104368
Could you attach the DLL here and we will have a look at it.
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
[2018-12-24 14:13:33]
Richard Chinn - Posts: 28
I have had the same issue of my DLL not showing up in the dialog box.

I am on a windows computer and I am using VS2017, so I don't know if this will point you in the right direction but the info might help!

I was able to get my DLL to show and be accessible by:

Opening the Project Properties window
Selecting Configuration Manager
and changing the Project Platform from Windows32 to x64


I don't know why it does not show if the platform is Windows32 because the file is built without issues and is placed in the data folder (confirmed with File Explorer)
I hope this is helpful.
[2018-12-26 16:10:02]
aliaostage5 - Posts: 6
Thanks y'all. It's saying now that it's likely missing a dependency file. DLL is attached.
Private File
[2018-12-26 18:37:34]
Sierra Chart Engineering - Posts: 104368
Was this built with Visual C++? If so make sure that you statically link to the runtime libraries. Refer to step 11 here:
https://www.sierrachart.com/index.php?page=doc/UsingVisualCPlusPlus.php#ConfigureProject
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
Date Time Of Last Edit: 2018-12-26 18:37:52
[2018-12-26 19:57:22]
Richard Chinn - Posts: 28
Yes this was built with Visual C++.
I walked through the complete setup several times because of it being different for VS2017 but I did not have any trouble understanding it.
The Runtime Library setting I am using is Multi-Threaded Debug (/MTd)

My code runs fine using the x64 platform so it hasn't been an issue for me.
I just saw this was a somewhat similar problem and offered this because it worked for me.

I've tried to see if it would work when I change back to the Windows32 platform but it does not.
My code does compile just fine and a DLL is created in the data directory but it does not show up in the Add Custom Study dialog.
[2019-01-22 16:32:20]
aliaostage5 - Posts: 6
Hey Richard,

Thanks for your responses... where are you seeing Project Properties/Configuration Manager?

Here's the full error message by the way too. Again I'm running Windows on Parallels on Mac, which I think might be the issue. Doesn't work in either 32 bit or 64 bit Sierra.

"CreateStudyDLLModuleFunctionObjectError loading C:\SierraChart\Data\RP_SmoothedProfileNew.dll. Windows error code 126: The specified module could not be found. Likely missing dependency file."


Thanks!
[2019-01-22 19:39:07]
Sierra Chart Engineering - Posts: 104368
Is that a DLL file that you built yourself?
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
[2019-01-23 16:12:57]
aliaostage5 - Posts: 6
Hi, yes.
[2019-01-23 23:03:42]
Sierra Chart Engineering - Posts: 104368
Just make sure the DLL is statically linking to the Visual C++ runtime libraries. Otherwise, we are not sure what the problem is.
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
Date Time Of Last Edit: 2019-01-23 23:03:51

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

Login

Login Page - Create Account