K2:=EMA(C,5);
K3:=EMA(C,10); K5:=EMA(C,30); KK5:=EMA(INDEXC,30); A10:=EMA(C,10); K6:=2*(K2-K5);K7:=2*(K2-K3);K8:=2*(K7+K6); VAR1:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21)))); VAR2:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21)))); VAR3:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34)); 年:MA(CLOSE,26),COLORGREEN,LINETHICK0; 箱底:LLV(MA((LOW),5),30),POINTDOT,COLORGREEN,LINETHICK1; 長箱底:LLV(MA((LOW),5),60),POINTDOT,COLORFF33FF,LINETHICK1; 長長箱底:LLV(MA((LOW),5),100),POINTDOT,COLORYELLOW,LINETHICK1; 長長箱頂:HHV(MA((HIGH),6),120),POINTDOT,LINETHICK1; 長箱頂:HHV(MA((HIGH),6),60),COLORRED,LINETHICK1; 箱頂:HHV(MA((HIGH),6),30),COLOR00AAFF,LINETHICK2; 中間:(箱頂+箱底)/2,COLORFF00FF,LINETHICK3; WX:EMA(C,5),COLORWHITE,LINETHICK2; STICKLINE(CROSS(WX,中間) ,中間+0.08,中間-0.08,0,0),COLORWHITE; STICKLINE(CROSS(WX,長箱頂),長箱頂-0.8,長箱頂+0.8,0.1,0) ,COLORYELLOW,LINETHICK2; STICKLINE(CROSS(WX,箱頂),箱頂-0.5,箱頂+0.5,0.1,0) ,COLORGREEN; 啟動線:EMA(C,2),COLOR00FF00,LINETHICK2; STICKLINE(WX<中間,WX,中間,0,0),COLORFF00FF; STICKLINE(WX>中間,WX,中間,0,0),COLOR00FF00; DRAWKLINE(HIGH,OPEN,LOW,CLOSE); |
|