LuxAlgo

Trendlines with Breaks [LuxAlgo]

LuxAlgo Wizard Actualizado   
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.
Notas de prensa:
Minor changes.
Notas de prensa:
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 de código abierto

Siguiendo el verdadero espíritu de TradingView, el autor de este script lo ha publicado en código abierto, para que los traders puedan entenderlo y verificarlo. ¡Un hurra por el autor! Puede utilizarlo de forma gratuita, aunque si vuelve a utilizar este código en una publicación, debe cumplir con lo establecido en las Normas internas. Puede añadir este script a sus favoritos y usarlo en un gráfico.

Exención de responsabilidad

La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.

¿Quiere utilizar este script en un gráfico?