Login Page - Create Account

Support Board


Date/Time: Wed, 19 Mar 2025 23:55:09 +0000



Post From: ACSIL: sc.AddLineUntilFutureIntersection() delete lines

[2022-10-30 17:54:07]
User183724 - Posts: 194
this is from the documentation


The sc.DeleteLineUntilFutureIntersection function deletes a line added by the sc.AddLineUntilFutureIntersection function.

Parameters
StartBarIndex: This is the array index of the chart bar which was previously specified to the sc.AddLineUntilFutureIntersection() function, for the line to delete.
LineIDForBar: This is the identifier of the extension line for the chart bar which was previously specified by the sc.AddLineUntilFutureIntersection() function, for the line to delete.

when you set up the line orginally, you used the StartBarIndex and the LineIDForBar. I'm assuming this function would use those same index/id to delete the line that the sc.AddLineUntilFutureIntersection function used to draw it. remember, new guy here so the details are sketchy... i used to program in c++ back when dinosaurs walked the earth but am just now getting into acsil.. good luck