OPEN-SOURCE SCRIPT
Click Draw TrendLine [UhoKang] v2

This is an indicator that directly draws a trend line by clicking on the candle.
Click to Create Trend lines !!
Create a trend line by connecting A, B, and C with three vertices.
1. Draw Bear Trend line
Click [A] pivot high : First pivothigh of the downtrend line
Click [B] pivot low : pivotlow of the downtrend line
Click [C] pivot high : Second pivothigh of the downtrend line
2. Draw Bull Trend line
Click [A] pivot low : First pivotlow of the uptrend line
Click [B] pivot high : pivothigh of the uptrend line
Click [C] pivot low : Second pivotlow of the uptrend line
Modefiy Trendlines
1. Edit Bear Trend line
Drag Red[A],[B],[C]
2. Edit Bull Trend line
Drag Green[A],[B],[C]
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.