Definition
Draws a vertical line.
Syntax
DrawVerticalLine(string tag, int bar, Color color)
DrawVerticalLine(string tag, int bar, Color color, DashStyle dashStyle, int width)
|
Parameters |
|
|
tag |
A user defined unique id used to reference the draw object. For example, if you pass in a value of "myTag", each time this tag is used, the same draw object is modified. If unique tags are used each time, a new draw object will be created each time. |
|
bar |
The bar the object will be drawn at. A value of 10 would be 10 bars ago. |
|
color |
The draw object color (reference) |
|
dashStyle |
DashStyle.Dash
|
|
width |
The width of the draw object |
Examples
|
// Draws a horizontal line
|