JamesRkaye

Free Trend Lines Tool/Indicator

JamesRkaye Updated   
I don't trade much with trend lines, but I was bored so made this hopefully someone will make use of it or program a strategy with it or something like that. It finds the highs and lows, works out the distance in time and price, then uses that to calculate the angle of the trend which can be used to pain the trend line. If you have any questions on how to implement it into a strategy feel free to ask. It is written in quite a messy wayt so sorry about that.
Release Notes:
Tradingview changed pinescript so this version works. If the check value is too high it won't work for some reason, I'll fix it when I work out why
Release Notes:
(just changing the confusing chart)
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

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.

Want to use this script on a chart?