Support Board
Date/Time: Sun, 19 Jan 2025 12:38:49 +0000
Post From: drawing rectangles until further intersection
[2018-04-02 14:42:06] |
MD236 - Posts: 28 |
Hi, I searched for a solution but can't find any, so here's my problem: I want to draw rectangles into an range bar chart but only as long if later in time the price reaches this price level, at this point the rectangel should end. I draw the rectangles with the sc.UseTool and using a persistent integer via sc.GetPersistentInt(1) but I end up with a chart full of rectangles. I then tried to use the function sc.AddLineUntilFutureIntersection but it draws only lines. My question is, how can I realize this "until further intersection" with rectangles or how can I stop drawing "old" rectangles? Thanks for any tips Mario |