Login Page - Create Account

Support Board


Date/Time: Sun, 29 Dec 2024 10:22:44 +0000



DRAWING_HORIZONTAL_LEVEL - error

View Count: 954

[2016-01-18 21:53:09]
Marek F - Posts: 244
I upgraded SC to current version 1354.
I did not change anything in my cpp code file. If i compile this file, then appears these errors information:


-- Starting build of Custom Studies Source files: VSA-Studies.cpp. -- 22:36:18

"D:\SierraChart\CPPCompiler\bin\g++.exe" "D:\SierraChart\ACS_Source\VSA-Studies.cpp" -march=i686 -mtune=i686 -O2 -shared -static -static-libgcc -static-libstdc++ -s -fno-rtti -fno-exceptions -std=gnu++11 -o "D:\SierraChart\Data\VSA-Studies.dll"

In file included from D:\SierraChart\ACS_Source\VSA-Studies.cpp:36:0:
D:\SierraChart\ACS_Source\drawing.h: In function 'void DrawHLevel_(int, COLORREF, int, int, int, float, SCString, s_UseTool&)':
D:\SierraChart\ACS_Source\drawing.h:205:21: error: 'DRAWING_HORIZONTAL_LEVEL' was not declared in this scope
Tool.DrawingType = DRAWING_HORIZONTAL_LEVEL;
^
D:\SierraChart\ACS_Source\VSA-Studies.cpp: In function 'void scsf_VSAImbalanceDOM(SCStudyInterfaceRef)':
D:\SierraChart\ACS_Source\VSA-Studies.cpp:3641:22: error: 'DRAWING_HORIZONTAL_LEVEL' was not declared in this scope
Tool.DrawingType = DRAWING_HORIZONTAL_LEVEL;
^
D:\SierraChart\ACS_Source\VSA-Studies.cpp:3694:22: error: 'DRAWING_HORIZONTAL_LEVEL' was not declared in this scope
Tool.DrawingType = DRAWING_HORIZONTAL_LEVEL;
^
D:\SierraChart\ACS_Source\VSA-Studies.cpp:3747:22: error: 'DRAWING_HORIZONTAL_LEVEL' was not declared in this scope
Tool.DrawingType = DRAWING_HORIZONTAL_LEVEL;
^
D:\SierraChart\ACS_Source\VSA-Studies.cpp:3800:22: error: 'DRAWING_HORIZONTAL_LEVEL' was not declared in this scope
Tool.DrawingType = DRAWING_HORIZONTAL_LEVEL;
^
D:\SierraChart\ACS_Source\VSA-Studies.cpp:3853:22: error: 'DRAWING_HORIZONTAL_LEVEL' was not declared in this scope
Tool.DrawingType = DRAWING_HORIZONTAL_LEVEL;
^
D:\SierraChart\ACS_Source\VSA-Studies.cpp:4003:22: error: 'DRAWING_HORIZONTAL_LEVEL' was not declared in this scope
Tool.DrawingType = DRAWING_HORIZONTAL_LEVEL;
^
D:\SierraChart\ACS_Source\VSA-Studies.cpp:4054:22: error: 'DRAWING_HORIZONTAL_LEVEL' was not declared in this scope
Tool.DrawingType = DRAWING_HORIZONTAL_LEVEL;
^
D:\SierraChart\ACS_Source\VSA-Studies.cpp:4105:22: error: 'DRAWING_HORIZONTAL_LEVEL' was not declared in this scope
Tool.DrawingType = DRAWING_HORIZONTAL_LEVEL;

I noticed that in the scconstants.h file there is not the DRAWING_HORIZONTAL_LEVEL constant.
[2016-01-18 22:09:59]
Sierra Chart Engineering - Posts: 104368
This has been renamed to:
DRAWING_HORIZONTAL_LINE_NONEXTENDED

In the next release it has been renamed to:
DRAWING_HORIZONTAL_LINE_NON_EXTENDED
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: 2016-01-18 22:10:11

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

Login

Login Page - Create Account