Patternsmart

Auto Trendline, Upper Descending Trend line detector with alert

Patternsmart Updated   
This is a custom Tradingview indicator that automatically plots descending trend lines above price bars. It will alert when the price closes above the trend line.

The concept is straightforward: the trend line is formed by two adjacent peaks when the price is in a downtrend. It will save a lot of time for people (just like me) who uses trendline often.

By deploying this indicator, should the condition meet, you don't need to draw the trend lines by hand anymore. You can also consider it as a trend line reminder.

It's also very easy to use, just load it on chart and set your desired inputs.

Features:

Adjust the strength of the 2 peaks that form the trend line.
Set price difference between two peaks in two variables: amount or percentage.
Turn on/off the cross above alert.
It works on all symbols and all timeframes.
never paint

A detailed instruction will show you how to properly adjust each input.

Release Notes:
This update shorten the name label on the right side.
Release Notes:
This update shorten the name label on the right side.
Release Notes:
Add a new alert type when trendline is formed
Release Notes:
Updated the algorithm.
Release Notes:
Fixed a bug of alert, thanks Troels for pointing it out.

Invite-only script

Access to this script is restricted to users authorized by the author and usually requires payment. You can add it to your favorites, but you will only be able to use it after requesting permission and obtaining it from its author. Contact Patternsmart for more information, or follow the author's instructions below.

TradingView does not suggest paying for a script and using it unless you 100% trust its author and understand how the script works. In many cases you can find a good open-source alternative for free in our Community Scripts.

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?

Warning: please read before requesting access.