LuxAlgo

Trendlines with Breaks [LuxAlgo]

To complete our previous work on breakouts with pivot point-based levels, we introduce an indicator returning pivot point based trendlines with highlighted breakouts. Users can control the steepness of the trendlines as well as their slope calculation method.

The indicator also includes integrated alerts for trendlines breakouts.

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 this lope is calculated.
  • Show Only Confirmed Breakouts: Only shows confirmed breakouts when enabled.

Usage

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


Break labels highlight breakouts and are delayed by length bars (with the exception of breakouts with the dashed trendlines which are not delayed). By default the indicator shows any breakouts, toggling on "Show Only Confirmed Breakouts" will allow showing only significant ones. Note that this will not affect breakouts with the dashed trendlines .

The calculation method of the slope greatly affects the trendline's behaviors. By default, an average true range is used, returning a consistent 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.

Versionshinweise:
Minor changes.

Get Access to LuxAlgo indicators: luxalgo.com

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

All scripts & content provided by LuxAlgo are for informational & educational purposes only. Past performance does not guarantee future results.
Open-source Skript

Ganz im Spirit von TradingView hat der Autor dieses Skripts es als Open-Source veröffentlicht, damit Trader es besser verstehen und überprüfen können. Herzlichen Glückwunsch an den Autor! Sie können es kostenlos verwenden, aber die Wiederverwendung dieses Codes in einer Veröffentlichung unterliegt den Hausregeln. Sie können es als Favoriten auswählen, um es in einem Chart zu verwenden.

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.

Möchten Sie dieses Skript auf einem Chart verwenden?