Var3:=(CLOSE-MA(CLOSE,3))/MA(CLOSE,3)*100;
Var4:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100; Var5:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100; Var6:=(Var3+Var4+Var5)/3; Var7:=EMA(Var6,5); 指標: EMA(EMA(Var3,5),5)*3, COLORSTICK; Var8:=IF(Var6<=-20,10,0); Var9:=HHV(Var8,10); STICKLINE(Var8=10,20,10,5,0),COLOR6666FF; VarA:=IF(Var9 AND CROSS(MA(CLOSE,3),MA(CLOSE,5)),20,0); K:EMA(Var7,5)*2, COLORff00ff; D:EMA(K,5), colorwhite; J:K*3-D*2, coloryellow; VarB:=BETWEEN(CLOSE,MA(CLOSE,3),MA(CLOSE,5)) AND J>10; 換手: VOL/CAPITAL*100,colorgreen; DRAWTEXT(VarA=20,15,'底部'),linethick1,colorwhite; STICKLINE((VarA=20),0,10,5,0),colorwhite; VARC:=(ZIG(3,6)>=REF(ZIG(3,6),1)) AND (REF(ZIG(3,6),1)<=REF(ZIG(3,6),2)) AND (REF(ZIG (3,6),2)<=REF(ZIG(3,6),3))AND (REF(ZIG(3,6),3)<=REF(ZIG(3,6),4)); VARD:=(ZIG(3,6)<=REF(ZIG(3,6),1)) AND (REF(ZIG(3,6),1)>=REF(ZIG(3,6),2)) AND (REF(ZIG (3,6),2)>=REF(ZIG(3,6),3))AND (REF(ZIG(3,6),3)>=REF(ZIG(3,6),4)); STICKLINE((VARC=1),(j),j+2,4,0),Color0000FF;
DRAWTEXT((VARC=1),(j-6),'買'),Color0000FF; STICKLINE((VARD=1),(j-2),0,4,0),Color00FF00; DRAWTEXT((VARD=1),(j+5),'賣'),Color00FF00; VarE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20; |
|