Support Board
Date/Time: Mon, 25 Nov 2024 06:32:53 +0000
[Programming Help] - Unable to import CandleStickPattern
View Count: 205
[2024-03-20 01:33:01] |
thefilmguy - Posts: 8 |
I get this error below. Do I have this wrong? #include "sierrachart.h"
#include "Studies4.cpp" #include "CandleStickPatternNames.h" #include "CandleStickPatternNames.cpp" SCDLLName("CandleFinder") In file included from CandleFinder.cpp:3: CandleStickPatternNames.h:5:11: error: redefinition of 'const int NUM_CANDLESTICK_PATTERN_NAMES' 5 | const int NUM_CANDLESTICK_PATTERN_NAMES = (sizeof(CandleStickPatternNames)/sizeof(char*))/2 ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from Studies4.cpp:2, from CandleFinder.cpp:2: CandleStickPatternNames.h:5:11: note: 'const int NUM_CANDLESTICK_PATTERN_NAMES' previously defined here 5 | const int NUM_CANDLESTICK_PATTERN_NAMES = (sizeof(CandleStickPatternNames)/sizeof(char*))/2 ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
[2024-03-20 01:54:24] |
thefilmguy - Posts: 8 |
Resolved
|
To post a message in this thread, you need to log in with your Sierra Chart account: