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]);
}