LuxAlgo

Trendlines with Breaks [LuxAlgo]

LuxAlgo Wizard Mis à jour   
The trendlines with breaks indicator return pivot point based trendlines with highlighted breakouts. Users can control the steepness of the trendlines as well as their slope calculation method.

Trendline breakouts occur in real-time and are not subject to backpainting. Trendlines can however be subject to repainting unless turned off from the user settings.

The indicator includes integrated alerts for trendline breakouts.

🔶 USAGE


Any valid trendlines methodology can be used with the indicator, users can identify breakouts in order to infer future price movements.

The calculation method of the slope greatly affects the trendline's behaviors. By default, an average true range is used, returning a more constant slope amongst trendlines. Other methods might return trendlines with significantly different slopes.

Stdev makes use of the standard deviation for the slope calculation, while Linreg makes use of the slope of a linear regression.


The above chart shows the indicator using "Stdev" as a slope calculation method. The chart below makes use of the "Linreg" method.


By default trendlines are subject to backpainting, and as such are offset by length bars in the past. Disabling backpainting will not offset the trendlines.


🔶 SETTINGS

  • Length: Pivot points period
  • Slope: Slope steepness, values greater than 1 return a steeper slope. Using a slope of 0 would be equivalent to obtaining levels.
  • Slope Calculation Method: Determines how the slope is calculated.
  • Backpaint: Determine whether trendlines are backpainted, that is offset to past.
Notes de version:
Minor changes.
Notes de version:
We have adjusted the "b" signals to be fully real-time. There is an option within the settings to disable backpainting for the trendlines, in which this does not affect the signal labels as they are 100% non-repaint or backpainting.

To update to the latest version, please refresh TradingView & then remove/re-add the Trendlines with Breaks indicator to your chart.

Get access to our exclusive tools: luxalgo.com

Join our 150k+ community: discord.gg/lux

All content provided by LuxAlgo is for informational & educational purposes only. Past performance does not guarantee future results.
Script open-source

Dans le véritable esprit de 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 le règlement. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

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 ?