Vertical line
Description
Sets the type to a graphic object "Vertical line" (vLine)
Example
// Let's set the name of the object
let objectName = "OurObject";
// check if an object with the same name already exists
let newObject = this.getObject(objectName);
// if it doesn't exist, then create it and set its properties
if (!newObject) {
newObject = this.createObject(GObject.Type.vLine, objectName)
// set the point through which we want to draw the line
.setTime2(Time[6])
.setPrice2(High[6])
// зададим желаемый цвет линии
.setColor(Color.Crimson);
}