Support Board
Date/Time: Thu, 19 Jun 2025 23:20:34 +0000
[Programming Help] - Sierra Studies8 Function - compilation error.
View Count: 644
[2022-04-22 15:49:44] |
User92573 - Posts: 563 |
Dear Support, Do you have any thoughts why Studies8.cpp, line: 4270 and the associated code for "PivotPointsDaily" SCSFExport scsf_PivotPointsDaily(SCStudyInterfaceRef sc) Won't compile and produces the following error message "error C3861: 'CalculateDailyPivotPoints': identifier not found"? Many thanks. PS I have posted on the Support Board 16 April but no replies and I need to use the function in my study - plus it is solely Sierra's code, with no additions that's producing the error. Help appreciated. Many thanks |
[2022-04-22 16:18:03] |
John - SC Support - Posts: 40526 |
You can not compile the entire Studies8.cpp file, nor can you take out the function for scsf_PivotPointsDaily directly from the file without making some changes to it in order for it to compile on its own. Refer to the following: 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 |
[2022-04-22 18:25:44] |
User92573 - Posts: 563 |
Hi John, No, its the whole of the code related to "PivotPointsDaily" with the addition of headers and the dll reference. What I don't understand is why it won't compile, or more precisely, why the "'CalculateDailyPivotPoints" function is not recognised? I compile a lot of studies now and written a lot of albeit not complex acsil studies, so this is confusing. Hove you tried the code? Many thanks. |
[2022-04-23 19:27:42] |
User99735 - Posts: 234 |
Add #include "scstudyfunctions.h to your cpp file. It has "CalculateDailyPivotPoints" defined.
|
[2022-06-08 08:46:18] |
User92573 - Posts: 563 |
Apologies User99735, I've only just noticed the reply. Many thanks. |
To post a message in this thread, you need to log in with your Sierra Chart account: