OPEN-SOURCE SCRIPT

Pivot TrendLine

12 977
The simplest version of the indicator automatically draws trendLine on your charts, with build-in functions only.

You can change the looking back length settings to get more proper lines you want.

There is also a switch to turn off the historical trendlines.

You can use this to build more advanced indicators or strategies.

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.