An Asyn Linear Regression line.
Namespace:
RightEdge.Common.ChartObjectsAssembly: Common (in Common.dll)
Version: 2008.1.0.0 (2008.1.0.0)
Syntax
| C# |
|---|
[SerializableAttribute] public class ChartAsynChannelLRegression : ChartRegressionBase |
| Visual Basic (Declaration) |
|---|
<SerializableAttribute> _ Public Class ChartAsynChannelLRegression _ Inherits ChartRegressionBase |
| Visual C++ |
|---|
[SerializableAttribute] public ref class ChartAsynChannelLRegression : public ChartRegressionBase |
Remarks
A classic statistical problem is to try to determine the relationship between two random
variables. The Linear Regression line displays the statistically predicted price value.
Examples
Create an asyn linear regression line programmatically (C#)
CopyC#
// Setup our X coordinates. DateTime leftPoint = DateTime.Now.AddDays(-21); DateTime rightPoint = DateTime.Now; // Create the asyn linear regression object with the default color. // Note, the price (Y) portion of the ChartPoint is not used. ChartAsynChannelLRegression lrAsynLine = new ChartAsynChannelLRegression(new ChartPoint(leftPoint, 20.00), new ChartPoint(rightPoint, 20.00)); // Add this object to the chart. "symbol" would equal the current symbol object in the system. ChartObjects.Add(symbol, lrAsynLine);
Inheritance Hierarchy
System..::.Object
RightEdge.Common.ChartObjects..::.ChartObjectBase
RightEdge.Common.ChartObjects..::.ChartRegressionBase
RightEdge.Common.ChartObjects..::.ChartAsynChannelLRegression
RightEdge.Common.ChartObjects..::.ChartObjectBase
RightEdge.Common.ChartObjects..::.ChartRegressionBase
RightEdge.Common.ChartObjects..::.ChartAsynChannelLRegression