Login Page - Create Account

Support Board


Date/Time: Mon, 25 Nov 2024 03:54:47 +0000



Post From: drawing a marker, issues with repeated drawing

[2024-04-15 12:58:32]
User431178 - Posts: 541
Delete the drawing if the condition changes from true to false intrabar.

Using Drawing Tools From an Advanced Custom Study: sc.DeleteACSChartDrawing()




if(condition)
{
// code as before
}
else if (r_LineNumber != -1)
{
sc.DeleteACSChartDrawing(sc.ChartNumber, TOOL_DELETE_CHARTDRAWING, r_LineNumber);
r_LineNumber = -1;
}