GObject.Type.FiboLines

Fibonacci lines

Description

Sets the type to the graphical object "Fibonacci Lines" (FiboLines)

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.FiboLines, objectName)
         // Let's set the parameters of the line 
         // Start 
         .setTime1(Time[15])
         .setPrice1(High[15])
         // the end
         .setTime2(Time[10])
         .setPrice2(High[10]);
}