I found in the forum the information concering the question of a fellow how to remove a certain horizontal line to do with
IHorizontalLine hLine = this.DrawHorizontalLine("line", Close[0], Color.Green);
this.RemoveDrawObject(hLine);
Why to do this way?
When drawing with DrawHorizontalLine (Line1" + Current Bar,.............) one can remove later with RemoveDrawObject("Line1");
No? Thanks for your reply.
Another question in this concern. On the support sites all samples for drawing are with High[0] + y TickSize or Low [0] - y TickSize. I didnt find how to draw the horizontalline in a script at the current price position - eg to draw the horizontal line same time as the entry is realized to see the entry price during the trade (because chart trader can not be enabled with strategies)
Thanks

Tony
Comment