Stop symbol
Description
Задаёт графическому объекту тип «Символ Стоп» (ArrowStop)
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.ArrowStop, objectName)
// Let's set the coordinates of the object's anchoring to the chart:
.setTime1(Time[2])
.setPrice1(High[2])
// Set the size of the object
.setWidth(3)
// Let's set the color
.setColor(Color.Crimson);
}