Elliott Corrective Wave
Description
Sets the type "Elliott Corrective Wave" to a graphical object (ElliottCorrectiveWave)
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.ElliottCorrectiveWave, objectName)
// set the coordinates of point 1
.setTime1(Time[38])
.setPrice1(Low[38])
// set the coordinates of point 2
.setTime2(Time[18])
.setPrice2(High[18])
// set the coordinates of point 3
.setTime3(Time[11])
.setPrice3(Low[11]);
}