MA1:MA(CLOSE,5); MA2:MA(CLOSE,10); MA3:MA(CLOSE,20); {前炮:=CLOSE>REF(CLOSE,1)*1.045; 小陰小陽:=HHV(ABS(C-REF(C,1))/REF(C,1)*100,BARSLAST(前炮))<6; 時(shí)間限制:=COUNT(前炮,30)=1 AND BARSLAST(前炮)>1; 后炮:=REF(小陰小陽 AND 時(shí)間限制,1) AND 前炮; STICKLINE(后炮,O,C,6,0),COLORMAGENTA; STICKLINE(后炮,O,C,1,0),COLORWHITE;} ST:=(MAX(C,O)-MIN(C,O))/MIN(C,O)*100<4; STICKLINE(ST,H,L,0,0),COLORYELLOW;
A1:=C/REF(C,1)>1.090{漲停}; A2:=COUNT(A1,10)=1{10天內(nèi)只有一次漲停}; A3:=CLOSE=HHV(H,10){收盤價(jià)大于前10天的收盤價(jià)}; XG:=A1 AND A2 AND A3; 漲停:=XG; HXH:=REF(H,BARSLAST(漲停)); STICKLINE(C,HXH,HXH,1,0),COLORMAGENTA; STICKLINE(漲停,OPEN,CLOSE,6,0),COLORGREEN; STICKLINE(漲停,OPEN,CLOSE,2.5,0),COLORYELLOW; STICKLINE(漲停,OPEN,CLOSE,0.5,0),COLORMAGENTA;
MA20:MA(CLOSE,20),COLORLIBLUE; 上行:IF(MA20>=REF(MA20,1),MA20,DRAWNULL),COLORMAGENTA; BIAS:(H-MA(H,30))/MA(H,30)*100,NODRAW,COLORWHITE;
|