Support Board
Date/Time: Tue, 26 Nov 2024 16:28:50 +0000
[Programming Help] - DailyOHLC example from Studies8 is giving a compile error?
View Count: 225
[2023-11-07 09:25:54] |
User92573 - Posts: 530 |
Dear Support Any thoughts as to why I am receiving a compile error with a direct copy of the code from "SCSFExport scsf_DailyOHLC(SCStudyInterfaceRef sc)"?
#include "sierrachart.h"
#include "scconstants.h" SCDLLName("DailyOHLC_1") Error message: DailyOHLC_1.cpp.cpp(line): error C3861: 'CalculateDailyOHLC': identifier not found
Checking ... #include "scstudyfunctions.h" /***************************************************************************** User note: The functions in this file are intermediate level functions you can copy and call from your primary scsf_ functions. These functions are not complete study functions. They are used by primary study functions to perform calculations. Where you see _S at the end, this means that the function is a single step function, and only fills in the array element at the index specified by the Index parameter. *****************************************************************************/ This function is being called by the SC example study "DailyOHLC" which comprises the code found in Studies8.cpp "SCSFExport scsf_DailyOHLC(SCStudyInterfaceRef sc)". Including the header file ... #include "scstudyfunctions.h" gives more compile errors.
So, absolutely no idea why the example code fails. Help appreciated. Many thanks Date Time Of Last Edit: 2023-11-09 16:54:45
|
To post a message in this thread, you need to log in with your Sierra Chart account: