GObject.Type.FiboFan

Fibonacci fan

Description

Sets the Fibonacci Fan type to a graphical object (FiboFan)

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