เพิ่มพารามิเตอร์:
extern int CountBar=1; // จำนวนแท่งที่จะใช้ในการคำนวณราคาเปิด
extern int mode=0; // การเลือกวิธีการคำนวณราคาปิด
// (mode==0) haClose=(High[pos]+Low[pos]+Close[pos])/3.0;
// (mode==1) haClose=(High[pos]+Low[pos]+Close[pos]+Open[pos])/4.0;

Modified Heiken Ashi
ความคิดเห็น 0