Trendlines 2x +

Dilihat 1669 kali
1669 11
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


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
Oct 27
Catatan Pelepasan: Added Support / Resistance Zones

Modified Menus / Inputs for ease of use
Nov 25
Catatan Pelepasan: Added Alerts for Support / Resistance thanks to pune3tghai
Nov 25
Catatan Pelepasan: Fixed S/R Alert condition
Keluarkan daripada Skrip Pilihan Tambah kepada Skrip Pilihan
Also an idea, lol
If it uses only multiplier for other trendlines timeframe...
Why not use 2 adjustable intervals that remain fixed regardkess ot the current time t4sme on the chart.

Say I set 1h and 1D in settings but and i need to switch over to 15min for entry. I still want to see those 1h and 1D trendlines.

Thanks for considering
Oh yeah!
That's What it's been missing. A multi-timeframe view!
Excellent idea and implementation!
Thank you
Trendbeat Trendbeat
Oh yeah, and I think Andres has implemented alerts
for breaks very well in his trendline strategy script.

A retest alert would also be very interesting for us breakout/retest traders
Lij_MC Trendbeat
@Trendbeat, Thanks :)
Great Idea, If anybody knows how to code a retest alert let me know

Maybe just "close below the trend line in next ?5 candles, ?1-5 pips away from crossing back over"
nice work mate, can you add alerts with following conditions.


buy = (high>= support) and (open<support) and (low<support) and (close<support)
sell = (low>=resistance) and (open>resistance) and (high<support) and (close>support)

considering that the Red Line is Support and Green Line is the resistance????
Lij_MC pune3tghai
@pune3tghai, Hi Thanks, Yeah the red is support and green is resistance however the color can be inverted in the menu.
Thanks I will look into the alerts as soon as I get some free time.
@Lij_MC, in the original script, the alerts are present so its not really a biggy, I have given you the sample conditions for Long/Short positions, if you can make alerts then I'll give you the code for rest of the conditions, because these support and resistance levels are way too good and one can easily dream of going 100x with these levels.
Lij_MC pune3tghai
@pune3tghai, Sounds great, should be able to program them in by this week end
Best trend indicator on tradingview, Excellent work mate
+1 Balas
Laman Utama Penyaring Saham Penyaring Forex Penyaring Kripto Kalendar Ekonomi Rancangan Bagaimana ia berfungsi Ciri-ciri Carta Harga Peraturan Dalaman Moderator Laman web dan Penyelesaian Broker Widget Penyelesaian Pencartaan Perpustakaan Pencartaan yang Ringan Pusat Bantuan Rujuk rakan Permintaan Ciri Blog & Berita Soalan Lazim Wiki Twitter
Profil Tetapan Profil Akaun dan Pengebilan Rujuk rakan Tiket Sokongan Saya Pusat Bantuan Idea yang diterbitkan Pengikut Mengikut Mesej Peribadi Sembang Daftar Keluar