OPEN-SOURCE SCRIPT
SD-Break

The supply trend line and the demand trend line are used to judge the main trend trend, and the supply and demand trend line is used to judge the local supply and demand intensity. When the supply and demand channel is located under the supply and demand trend channel, it is a strong downward trend; when the supply and demand channel is located above the supply and demand trend channel, it is a strong upward trend.In an uptrend, when the candle chart shows a significant uprush and the closing price has not been able to break through the supply line since then, we think the uptrend will present a red flag.In a downtrend, when the candle chart has a significant downtrend rebound and the closing price has not been able to break the demand line since then, we believe that the downtrend will be reversed.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.