OPEN-SOURCE SCRIPT
Updated Trendlines 2x +

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
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 ZonesModified Menus / Inputs for ease of use
Release Notes
Added Alerts for Support / Resistance thanks to pune3tghaiRelease Notes
Fixed S/R Alert conditionRelease Notes
Added option to change trendline line type - Dotted, Dashed, SolidRelease Notes
Added Timeframe customisation to Support / Resistance Zones & Added an Extra set of Support / Resistance ZonesOpen-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
For quick access on a chart, add this script to your favorites — learn more here.
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
For quick access on a chart, add this script to your favorites — learn more here.
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.