Support Board
Date/Time: Wed, 15 Oct 2025 04:38:42 +0000
Post From: sc.AddLineUntilFutureIntersection
[2025-09-19 07:13:40] |
User781731 - Posts: 73 |
I'm talking about this function in the context of the Swing High and Low study. I want the lines extending from lows to continue until a future candle's low is < line value; and lines extending from highs to continue until a future candle's high is > line value. Currently, it appears the "sc.AddLineUntilFutureIntersection" only requires that a future low = line value or future high = line value. For example, if the line is at 6545 and price has come from above, if the candle low is 6545 it will stop extending the line. What I want is this: intersection requires low < 6545 NOT = 6545, or vice versa if price is coming from below to above. Is this possible? I understand you can use "sc.AddLineUntilFutureIntersectionEx" and "PerformCloseCrossoverComparison" if you want the line to extend until a candle closes above/below the line but I don't want to require closure, merely that it trades beyond it. |