OPEN-SOURCE SCRIPT

Linear Regression Volume Profile

업데이트됨
Linear Regression Volume Profile plots the volume profile fixated on the linear regression of the lookback period rather than statically across y = 0. This helps identify potential support and resistance inside of the price channel.

Settings
Linear Regression
  • Linear Regression Source: the price source in which to sample when calculating the linear regression
  • Length: the number of bars to sample when calculating the linear regression
  • Deviation: the number of standard deviations away from the linear regression line to draw the upper and lower bounds

Linear Regression
  • Rows: the number of rows to divide the linear regression channel into when calculating the volume profile
  • Show Point of Control: toggle whether or not to plot the level with highest amount of volume


Usage
Similar to the traditional Linear Regression and Volume Profile this indicator is mainly to determine levels of support and resistance. One may interpret a level with high volume (i.e. point of control) to be a potential reversal point.

Details
This indicator first calculates the linear regression of the specified lookback period and, subsequently, the upper and lower bound of the linear regression channel. It then divides this channel by the specified number of rows and sums the volume that occurs in each row. The volume profile is scaled to the min and max volume.
릴리즈 노트
  • fixed bug regarding linear regression length being longer than bar_index
  • updated chart
릴리즈 노트
  • Fixed custom Point of Control color
Bands and ChannelslinearPOCpointofcontrolprofileregressionregressionsVolume

오픈 소스 스크립트

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

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

면책사항