OPEN-SOURCE SCRIPT

Local Limits

Mis à jour
Displays recent higher highs, lower highs, lower lows, and higher lows as a collection of local limit indicators.

In its simplicity is a lot more powerful than might appear at first glance.

  • Does not rely on volatility calculation.
  • Can be linked together to create an objective view of recent support and resistance levels.
  • Makes current trends more visible.
  • Excellent for use as a trailing stop algorithm.


Parameters

  • Single Bar Sensitivity: True (default) reacts to individual bars. False only responds to the alignment of 2 bars.
  • Margin (1-5): Adds extra distance from higher lows and lower highs to reduce the sensitivity of broken trends.


Single indicators with configurable sources:
Local Limit Higher
Local Limit Lower
Notes de version
Eliminated buggy bar sensitivity option as the indicators work as intended without it.
Notes de version
Added trend change values for more reliable alerts.

ALERTING:
Simply select one of the the various "Change" values and alert on "Greater Than" or "Less Than" zero depending on which direction you want to detect.
Notes de version
Eliminated bar_index to avoid repainting.
Notes de version
Allow for % margin values.
Notes de version
Allow for specifying a fixed time-frame.
Breadth IndicatorshigherhighhigherlowlimitlimitslowerhighlowerlowsupportSupport and ResistanceTrend Analysis

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é