에디터즈 픽
OPEN-SOURCE SCRIPT

LOWESS (Locally Weighted Scatterplot Smoothing) [ChartPrime]

업데이트됨
LOWESS (Locally Weighted Scatterplot Smoothing) [ChartPrime]

⯁ OVERVIEW
The LOWESS (Locally Weighted Scatterplot Smoothing) [ChartPrime] indicator is an advanced technical analysis tool that combines LOWESS smoothing with a Modified Adaptive Gaussian Moving Average. This indicator provides traders with a sophisticated method for trend analysis, pivot point identification, and breakout detection.

◆ KEY FEATURES
  • LOWESS Smoothing: Implements Locally Weighted Scatterplot Smoothing for trend analysis.
  • Modified Adaptive Gaussian Moving Average: Incorporates a volatility-adapted Gaussian MA for enhanced trend detection.
  • Pivot Point Identification: Detects and visualizes significant pivot highs and lows.
  • Breakout Detection: Tracks and optionally displays the count of consecutive breakouts.
  • Gaussian Scatterplot: Offers a unique visualization of price movements using randomly colored points.
  • Customizable Parameters: Allows users to adjust calculation length, pivot detection, and visualization options.


◆ FUNCTIONALITY DETAILS

⬥ LOWESS Calculation:
  • Utilizes a weighted local regression to smooth price data.
  • Adapts to local trends, reducing noise while preserving important price movements.


⬥ Modified Adaptive Gaussian Moving Average:
  • Combines Gaussian weighting with volatility adaptation using ATR and standard deviation.
  • Smooths the Gaussian MA using LOWESS for enhanced trend visualization.


⬥ Pivot Point Detection and Visualization:
  • Identifies pivot highs and lows using customizable left and right bar counts.
  • Draws lines and labels to mark broke pivot points on the chart.


⬥ Breakout Tracking:
  • Monitors price crossovers of pivot lines to detect breakouts.
  • Optionally displays and updates the count of consecutive breakouts.


◆ USAGE
  • Trend Analysis: Use the color and direction of the smoothed Gaussian MA line to identify overall trend direction.
  • Breakout Trading: Monitor breakouts from pivot levels and their persistence using the breakout count feature.
  • Volatility Assessment: The spread of the Gaussian scatterplot can provide insights into market volatility.


⯁ USER INPUTS
  • Length: Sets the lookback period for LOWESS and Gaussian MA calculations (default: 30).
  • Pivot Length: Determines the number of bars to the left for pivot calculation (default: 5).
  • Count Breaks: Toggle to show the count of consecutive breakouts (default: false).
  • Gaussian Scatterplot: Toggle to display the Gaussian MA as a scatterplot (default: true).


⯁ TECHNICAL NOTES
  • Implements a custom LOWESS function for efficient local regression smoothing.
  • Uses a modified Gaussian MA calculation that adapts to market volatility.
  • Employs Pine Script's line and label drawing capabilities for clear pivot point visualization.
  • Utilizes random color generation for the Gaussian scatterplot to enhance visual distinction between different time periods.


The LOWESS (Locally Weighted Scatterplot Smoothing) [ChartPrime] indicator offers traders a sophisticated tool for trend analysis and breakout detection. By combining advanced smoothing techniques with pivot point analysis, it provides a comprehensive view of market dynamics. The indicator's adaptability to different market conditions and its customizable nature make it suitable for various trading styles and timeframes.
릴리즈 노트
Patched functionality on stocks
BOSbreaksgaussianlowessMoving AveragestrendTrend Analysis

오픈 소스 스크립트

진정한 TradingView 정신에 따라, 이 스크립트의 저자는 트레이더들이 이해하고 검증할 수 있도록 오픈 소스로 공개했습니다. 저자에게 박수를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰에 의해 관리됩니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.

차트에 이 스크립트를 사용하시겠습니까?


또한 다음에서도:

면책사항