An object that draws channel lines based on Fibonacci sequences.
Namespace:
RightEdge.Common.ChartObjectsAssembly: Common (in Common.dll)
Version: 2008.1.0.0 (2008.1.0.0)
Syntax
| C# |
|---|
[SerializableAttribute] public class ChartFibChannel : ChartSplitObjectBase |
| Visual Basic (Declaration) |
|---|
<SerializableAttribute> _ Public Class ChartFibChannel _ Inherits ChartSplitObjectBase |
| Visual C++ |
|---|
[SerializableAttribute] public ref class ChartFibChannel : public ChartSplitObjectBase |
Remarks
This object is a free form channel that does not take any
chart data into consideration. The first point is the
anchor point. The second point controls the horizontal
orientation of the channels. The final point specifies
the vertical span of the channels. The channel lines are
calculated using Fibonacci sequences.
Examples
Create a fibonacci channel object programmatically (C#)
CopyC#
// Setup our X coordinates. DateTime anchorPoint = DateTime.Now.AddDays(-14); DateTime orientationPoint = DateTime.Today; // Create the fibonacci channel object ChartFibChannel channel = new ChartFibChannel(new ChartPoint(anchorPoint, 25.00), new ChartPoint(orientationPoint, 25.00), new ChartPoint(orientationPoint, 20.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..::.ChartSplitObjectBase
RightEdge.Common.ChartObjects..::.ChartFibChannel
RightEdge.Common.ChartObjects..::.ChartObjectBase
RightEdge.Common.ChartObjects..::.ChartSplitObjectBase
RightEdge.Common.ChartObjects..::.ChartFibChannel