Mliv1979

Trend Lines

Mliv1979 Mis à jour   
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
Notes de version:
Added line width
Notes de version:
Updated how lines are found, now there should always be an uptrend line and a downtrend line
Notes de version:
Added the option to display the lines as zones/channels.
Added alert conditions for entering, rejecting or breaking the zone (untested).
Notes de version:
Wrong chart added in previous update
Script protégé
Ce script est publié en code source fermé et vous pouvez l'utiliser librement. Vous pouvez le préférer pour l'utiliser sur un graphique. Vous ne pouvez pas visualiser ou modifier son code source.
Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?