Click here to Login

Weighted Linear Regression, Slope

This item is a Trading Indicator. Weighted Linear Regression, Slope was implemented by Christian Rendel on April 5, 2010.
The development of this Technical Analysis indicator necessitated 30 lines.
The trading indicator name is 'LinearReg_Wt_Slope' and it is coded using CSharp programming language.
It gets 3 arguments. The different arguments 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

p = LinearReg_Wt_Slope(close, volume, 14);

To draw the function on a chart:
Plot(LinearReg_Wt_Slope(close, volume, 14), "Weighted Linear Regression, Slope", colorRed);

Future and Past Bars:
The method do not access future bars. It uses 0 previous bars.

Click on this link to download Weighted Linear Regression, Slope

Search terms used to find this trading item include weighted linear regression, linear regression slope, Linear Regression Slope trading, slope trading, weighted linear regression example

The trading object is saved under the following categories: Technical Analysis

Trading Indicators:
Weighted Linear Regression
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

Join now
and get instant access for free to the trading software, the Sharing server and the Social network website.
Click here to download the trading software

Related objects


Number of reviews
Click to add a review
Average rate
Click to rate this item
Number of times this object was downloaded
Number of rates the current object received
Report an object
if you can't run it for example or if it contains errors
Click to report this object

Create an account
Affiliate Program
Contact Us
Trading Forum
How-to Lessons
About Us
Terms of Use

Copyright 2024
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
Follow us on Google+
RSS Trading Items

Trading financial instruments, including foreign exchange on margin, carries a high level of risk and is not suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to invest in financial instruments or foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with trading and seek advice from an independent financial advisor if you have any doubts.