TrendChannel
Definition
Represents an interface that exposes information regarding a Trend Channel IDrawingTool.
Represents an interface that exposes information regarding a Trend Channel IDrawingTool.
| Parameter | Description |
|---|---|
| TrendStartAnchor | An IDrawingTool’s ChartAnchor representing the starting point of the drawing object |
| TrendEndAnchor | An IDrawingTool’s ChartAnchor representing the end point of the drawing object |
| ParallelStartAnchor | An IDrawingTool’s ChartAnchor representing the starting point of the second line used in the trend channel |
| PriceLevels | A collection of prices calculated by the drawing object |
1 // Instantiate a TrendChannel object 2 TrendChannel myTC = Draw.TrendChannel(this, "tag1", true, 10, Low[10], 0, High[0], 10, High[10] + 5 * TickSize); 3 4 // Increase the y-axis position of the object's TrendEndAnchor 5 myTC.TrendEndAnchor.Price += 15;