Weighted Linear RegressionTrading Indicator: Weighted Linear Regression Created by: Christian Rendel on April 5, 2010. The development of this Technical Analysis function needed 30 lines. The function is called 'LinearReg_Wt' and it is created using CSharp programming language. It allows 3 inputs. The different parameters are: Yvalue (Type: Number - Default Value: close): Array of values to calculate the Regression Weight (Type: Number - Default Value: volume): Array of weights for the specified values period (Type: Number - Default Value: 14): Period Example: p = LinearReg_Wt(close, volume, 14); Formula to draw the trading indicator on a chart: Plot(LinearReg_Wt(close, volume, 14), "Weighted Linear Regression", colorRed); Future and Past Bars: The indicator has no look-ahead bias. It requires zero past bars. Click on this link to download Weighted Linear Regression Search terms used to find this trading item include weighted linear regression, weighted linear regression trading, trading moving linear regression, trading linear regression, software for linear regression The trading object is saved under the following categories: Technical Analysis Trading Indicators: Directional Trend Index Percent Bollinger Bands Relative Volatility Index Haurlan Index Dave's New System - DNS Dynamic Momentum Index Darvas Box Indicator Z-Score (Standard Score) Damping index Mahesh Moving Average Chaikin Volume Accumulation Oscillator Guppy Multiple Moving Average Oscillator GMMA - Guppy Multiple Moving Average Tom Demark -TD- Range Projections DeMark Range Expansion Index Market trading rules Moving Average: Rule-based Chande's & Kroll's R2 Indicator Chande's TrendScore News Sentiment Indicator |
|