new channel()
Channel drawing tool. Creates a channel within 2 parallel line segments.
It inherits its properties from STX.Drawing.segment.
- Version:
-
- ChartIQ Advanced Package
Methods
-
reconstruct(stx [, obj])
-
Reconstruct a channel
Parameters:
Name Type Argument Description stxSTXChart The chart object
objobject <optional>
A drawing descriptor
Properties
Name Type Argument Description colstring <optional>
The line color
fcstring <optional>
The fill color
pnlstring <optional>
The panel name
ptrnstring <optional>
Optional pattern for line "solid","dotted","dashed". Defaults to solid.
lwnumber <optional>
Optional line width. Defaults to 1.
v0number <optional>
Value (price) for the first point
v1number <optional>
Value (price) for the second point
v2number <optional>
Value (price) for the second point of the opposing parallel channel line
d0number <optional>
Date (string form) for the first point
d1number <optional>
Date (string form) for the second point
tzo0number <optional>
Offset of UTC from d0 in minutes
tzo1number <optional>
Offset of UTC from d1 in minutes