OPEN-SOURCE SCRIPT
업데이트됨

Linear Regression Fan [LuxAlgo]

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:

Broadening Wedges - Advanced Analysis
릴리즈 노트
Minor changes.
릴리즈 노트
Switched to version 5 and made calculation of the indicator based on the user-selected anchor points, thus preventing repainting.

면책사항

이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.