LuxAlgo

Linear Regression Fan [LuxAlgo]

LuxAlgo Wizard Aktualisiert   
This indicator displays a fan using a linear regression fit to the price as a base. All lines are equidistant and are drawn from the first point of the linear regression to the most recent point of the linear regression plus the root-mean-square deviation (RMSD) multiplied by a certain factor.

Settings
  • Length: Lookback period for the linear regression.
  • Mult: Multiplier for the RMSD, allows returning wider fans.
  • Lines Per Side: Number of lines on each side of the fan.
  • Src: Input source of the indicator.

Usage

Traders often use the lines of fans to determine significant points of support or resistance at which they might expect price variations to reverse.

The length can be adjusted so that the starting point of the linear regression is located at a pivot high/low.


Some technical analysts use the measure rule of broadening wedges with fans when price breaks one of the extremities. This allows setting precise take-profits/stop-losses.


To learn more about the measure rule see:

Versionshinweise:
Minor changes.
Versionshinweise:
Switched to version 5 and made calculation of the indicator based on the user-selected anchor points, thus preventing repainting.

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.
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?