OPEN-SOURCE SCRIPT

Pivot Lines

Mis à jour
This indicator provides possible short, medium, and long-term support and resistance levels based on recent highs and lows. The furthest the level is, the thicker its line is, making it easy to spot stronger levels where 2 lines overlap. It can be configured to use open/close values instead of high/low for tighter levels.

Default settings:
- Short Period: 20
- Medium Period: 50
- Long Period: 100

This script also provides alerts for when the price crosses over/under a given level or pulls back.

Note: It sometimes displays supports above the price and resistances below it, I still have to figure out why (and fix it if possible), but it's still useful.
Notes de version
Changes:
  • Change default periods to 5, 20, 50
  • More reliable levels by checking their position
  • Code refactoring
Notes de version
Update to Pine Script v5
levelspivotPivot PointsSupport and Resistance

Script open-source

Dans le plus pur esprit TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par nos Règles. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?

Clause de non-responsabilité