OPEN-SOURCE SCRIPT

Trendlines 2x +

Updated
Copy of "Trendlines - JD" script by Duyck, which draws Trendlines from the pivot points in the price chart.

I have simply Doubled the amount of Trendlines, so now there are;

A Primary set of Trendlines at a higher lookback length and Thicker Line Width

and

A Secondary set of Trendlines at a Lower lookback length and Thinner Line Width
The default values work well when comparing multiple time frames at 3x time difference, play around with these values for other x time variations

I have also simplyfied the Trendline Extension Function to make it more user friendly

Please use the Alerts with caution as the Trendline Break function still needs to be optimised

Also included are Trend Candles to color the bars according to momentum, Trencandles script is a copy of UCS_Trend by ucsgears
Release Notes
Added Support / Resistance Zones

Modified Menus / Inputs for ease of use
Release Notes
Added Alerts for Support / Resistance thanks to pune3tghai
Release Notes
Fixed S/R Alert condition
Release Notes
Added option to change trendline line type - Dotted, Dashed, Solid
Release Notes
Added Timeframe customisation to Support / Resistance Zones & Added an Extra set of Support / Resistance Zones
autotrendlinesupportTrend Analysis

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 publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer