GObject.Type.ElliottCorrectiveWave

艾略特矯正波

Description

將類型“ Elliott Corrective Wave”設置為圖形對象 (ElliottCorrectiveWave)

Example

// 讓我們設置對象的名稱
let objectName = "OurObject";
// 檢查是否存在相同名稱的對象 
let newObject = this.getObject(objectName);
// 如果它不存在,則創建它並設置其屬性
if (!newObject) {
     newObject = this.createObject(GObject.Type.ElliottCorrectiveWave, objectName)
         // 設置點1的坐標
         .setTime1(Time[38])
         .setPrice1(Low[38])
         // 設置點2的坐標
         .setTime2(Time[18])
         .setPrice2(High[18])
         // 設置點3的坐標 
         .setTime3(Time[11])
         .setPrice3(Low[11]);
}