OPEN-SOURCE SCRIPT

Long Trend Line

104
long trend lines How to Use:
Open TradingView and go to the chart you want to add the trendline to.
In the top menu, click on Pine Editor.
Copy and paste the script into the editor.
Click Add to Chart.
This will display a long trend line between your specified points.

Feel free to modify this script for your needs, and let me know if you'd like more advanced features!



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.