Trend Lines v2

Hello Everyone. After working on new and better trend lines script for couple of weeks, finally I am proud to publish Trend Lines v2.

How it works?

- On each bar it finds last 10 higher and lower Pivot Points ( PP ).
- from first bar to 10. PP it search if a trend line is possible
- for each it starts searching from the last PP .
- it check if drawing a trend line possible or not and also it's broken or not
- if it's broken then optionally it shows broken trend lines as dotted
- if it finds a continues trend line and stop searhing more and draw trend line (I did this to make the script faster, otherwise you may get error because of it needs time more than .2sec)
- the script makes this process for each PP

optionally trend lines may be Solid or Dashed

optionally you may get rid of broken trend lines if you think it's crowded

and sometimes you may not see any trend line on the chart. this means you need to adjust the period for Pivot Points accordingly

also I made a video. if you watch this video you can see how the script works.

Important! after you add this tool to the chart you may need zoom-in and zoom-out to see all lines!

I thought a lot to make it free or not then I decided make it free and open source. you should know there is a lot of effort for this script, so if you think this is usefull please consider a donation ;)


Notas de Lançamento: Important Update:
- "CHANGE BAR COLOR" option added. now able to change bar color when trendline was broken up or down.
- Alerts Added (for broken Trendlines)

A screenshot, how bar color changes when trendline was broken:
Remover dos scripts favoritos Adicionar aos scripts favoritos
If you find my works useful, please consider a donation
BTC: 19qDW9AShZhBZsGuXcgRzam5Fbpc3EU8EV
ETH: 0x39c8552371b9b7f4e324197af460ba8bc8e18ef9


thank you
+3 Resposta
@ahmetk072, you are welcome
+2 Resposta
Wow!! LonesomeTheBlue, nice work and helps a lots of people like us who do not know coding.... keep growing the community.
Thanks again...
One question though, is it possible to get the script for the GAAN lines too....
+2 Resposta
@rkayasth, Thank you. currently I don't have plan for it. next month if I have time I am planning to make trend lines script for some indicators ;)
Looks good!! Thanks for sharing!!
+2 Resposta
@johnpccd, you are welcome!
this indicator is so helpful but can you please add "Resoulation" in it
+2 Resposta
@BHUSHANSM, I can add but no possible to run because of it's a bit complicated.
BHUSHANSM LonesomeTheBlue
@LonesomeTheBlue, OK , Thanks for replying
Can we have this for oscillators? I´ll be interested in RSI. Thanks LonesomeTheblue
+2 Resposta
Início Rastreador de Fundamentos Rastreador Forex Rastreador de Criptomoedas Calendário Econômico Como Funciona Recursos gráficos Preços Indique um Amigo Regras da Casa Central de Ajuda Soluções para Sites & Corretoras Widgets Soluções em Gráficos Biblioteca de Gráficos Lightweight Blog & Notícias Twitter
Perfil Configurações de perfil Conta e cobrança Indique um Amigo Meus Tíquetes de Suporte Central de Ajuda Ideias Publicadas Seguidores Seguindo Mensagens Privadas Conversa Deslogar