Mliv1979

Trend Lines

Mliv1979 Uppdaterad   
Hello Everyone.

This is my first script on TV, hope you find it useful.

How it works?

- On each bar it finds last x (depending on your settings) higher and lower Pivot Points ( PP ).
- It searches for possible trend line from oldest PP to newest, once found it stops and draws the line.
- The higher the time frame the lower the number of PP needed. Play around with the number of PP and left/right bars needed to confirm a PP and you get different results.

For suggestions don't hesitate to contact me
Versionsinformation:
Added line width
Versionsinformation:
Updated how lines are found, now there should always be an uptrend line and a downtrend line
Versionsinformation:
Added the option to display the lines as zones/channels.
Added alert conditions for entering, rejecting or breaking the zone (untested).
Versionsinformation:
Wrong chart added in previous update
Skyddat skript
Detta skript publiceras med stängd källkod och du kan använda det fritt. Du kan ange den som favorit för att använda den i ett diagram. Du kan inte visa eller ändra dess källkod.
Frånsägelse av ansvar

Informationen och publikationerna är inte avsedda att vara, och utgör inte heller finansiella, investerings-, handels- eller andra typer av råd eller rekommendationer som tillhandahålls eller stöds av TradingView. Läs mer i Användarvillkoren.

Vill du använda det här skriptet i ett diagram?