Gelombang Korektif Elliott
Description
Menyetel jenis "Gelombang Korektif Elliott" ke objek grafis (ElliottCorrectiveWave)
Example
// Mari kita atur nama objeknya
let objectName = "OurObject";
// periksa apakah objek dengan nama yang sama sudah ada
let newObject = this.getObject(objectName);
// jika tidak ada, buat dan setel propertinya
if (!newObject) {
newObject = this.createObject(GObject.Type.ElliottCorrectiveWave, objectName)
// atur koordinat titik 1
.setTime1(Time[38])
.setPrice1(Low[38])
// atur koordinat titik 2
.setTime2(Time[18])
.setPrice2(High[18])
// atur koordinat titik 3
.setTime3(Time[11])
.setPrice3(Low[11]);
}