Support Board
Date/Time: Fri, 14 Mar 2025 18:11:10 +0000
Function Type Export Problems with Custom Studies
View Count: 355
[2022-06-21 14:08:05] |
ycomp - Posts: 321 |
I have noticed some weird functions listed in my Custom Studies DLL. I can say they occur because of Function Types.. see my code image for example I implemented a workaround, it still lists weird (But different) extra "studies" but my code in the real studies (The ones I actually created with scsf_ in my code) work when the workaround is used. When the workaround is not used (i.e. the code is like in the image), they don't and the DLL lists the good studies with error messages like Custom DLL something or other error when trying to add the study to a chart. The workaround is simple. I moved the function typedefs into another new namespace called "wow", I created this namespace just to test this. The sierra screenshot images are scrolling the dialog to the right.. it is not a perfect capture but shows most of the dll function names. The code is most of my header, it is the important code .. all that is missing is a few includes and a few constants. I use VS2022 and target C++20 if that matters at all. Just to be clear.. in the original namespace, I get these extra "studies" and my good studies in the dll will give the "custom dll" error when adding a study to a chart. moving function types to the "wow" namespace, leaves extra "studies" but my good studies in the dll don't display a custom dll error for the study name, instead they show their original study graphnames and their code runs. I call it a worksaround since it still leaves these weird looking extra studies listed in the dll. |
![]() ![]() ![]() |
To post a message in this thread, you need to log in with your Sierra Chart account: