Support Board
Date/Time: Sun, 22 Dec 2024 05:40:55 +0000
sc.DeleteACSChartDrawing Problems
View Count: 867
[2015-02-28 08:25:28] |
CustomIndicators - Posts: 126 |
I'm working on an advanced custom study, and have come across a problem that I'm having trouble fixing. This part of the code, is intended to delete a chart drawing using an else statement. My else code: else { sc.DeleteACSChartDrawing(0, TOOL_DELETE_CHARTDRAWING, 854654); sc.DeleteACSChartDrawing(0, TOOL_DELETE_CHARTDRAWING, 485691); } My error from the compiler: C:\SierraChart\ACS_Source\Custom_Code_Testing.cpp: In function 'void scsf_Custom(SCStudyInterfaceRef)': C:\SierraChart\ACS_Source\Custom_Code_Testing.cpp:295:9: error: 'struct s_sc' has no member named 'DeleteACSChartDrawing' sc.DeleteACSChartDrawing(0, TOOL_DELETE_CHARTDRAWING, 789456); ^ C:\SierraChart\ACS_Source\Custom_Code_Testing.cpp:296:9: error: 'struct s_sc' has no member named 'DeleteACSChartDrawing' sc.DeleteACSChartDrawing(0, TOOL_DELETE_CHARTDRAWING, 123456); ^ -- End of Build -- 01:12:07 Is sc.DeleteACSChartDrawing() still supported? If so, what exactly am I doing wrong? Should I be using some other method of deleting the drawing? The goal, is to have these two lines flicking on and off, based on if they are true or not at the moment. Fluctuations are caused by bar 0 (sc.Index). |
[2015-02-28 13:52:08] |
Sierra Chart Engineering - Posts: 104368 |
The function: sc.DeleteACSChartDrawing(int ChartNumber, int Tool, int LineNumber) Is in the latest Sierra Chart versions. You need to update. 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 |
To post a message in this thread, you need to log in with your Sierra Chart account: