An object that draws channel lines based on the price values on the chart.
Namespace:
RightEdge.Common.ChartObjectsAssembly: Common (in Common.dll)
Version: 2008.1.0.0 (2008.1.0.0)
Syntax
| C# |
|---|
[SerializableAttribute] public class ChartUpTrendChannel : ChartRegressionBase |
| Visual Basic (Declaration) |
|---|
<SerializableAttribute> _ Public Class ChartUpTrendChannel _ Inherits ChartRegressionBase |
| Visual C++ |
|---|
[SerializableAttribute] public ref class ChartUpTrendChannel : public ChartRegressionBase |
Remarks
This object is not a free form channel. It uses the
price data on the chart to determine the direction of the lines.
The first point is the left point. The second point
specifies the right point of the channels.
Examples
Create an uptrend channel line object programmatically (C#)
CopyC#
// Setup our X coordinates. DateTime leftPoint = DateTime.Now.AddDays(-14); DateTime rightPoint = DateTime.Today; // Create the uptrend channel object ChartUpTrendChannel channel = new ChartUpTrendChannel(new ChartPoint(leftPoint, 25.00), new ChartPoint(rightPoint, 25.00), // Add this object to the chart. "symbol" would equal the current symbol object in the system. ChartObjects.Add(symbol, channel);
Inheritance Hierarchy
System..::.Object
RightEdge.Common.ChartObjects..::.ChartObjectBase
RightEdge.Common.ChartObjects..::.ChartRegressionBase
RightEdge.Common.ChartObjects..::.ChartUpTrendChannel
RightEdge.Common.ChartObjects..::.ChartObjectBase
RightEdge.Common.ChartObjects..::.ChartRegressionBase
RightEdge.Common.ChartObjects..::.ChartUpTrendChannel