MA1:=MA(CLOSE,3);
MA2:=MA(CLOSE,10);
MA3:=MA(CLOSE,30);
MA4:=MA(CLOSE,60);
换手:=VOL*100/CAPITAL;
攻击:IF(C>O AND COUNT((CROSS(MA(CLOSE,3),MA(CLOSE,10))),2)
AND COUNT((CROSS(MA(VOL,3),MA(VOL,34))),1)
AND (CLOSE>MA4),3,0),LINETHICK2,COLORWHITE;
攻击3日线:IF(C>O AND COUNT((CROSS(MA(VOL,3),MA(VOL,34))),2)
AND COUNT((CROSS(MA(CLOSE,3),MA(CLOSE,10))),2)
AND V>REF(V,1) AND 换手>5 AND MA2>REF(MA2,1)
AND (CLOSE>MA4),7,0),LINETHICK2,COLORFF6600;
攻击10日线:IF(C>O AND COUNT((CROSS(MA(VOL,3),MA(VOL,34))),2)
AND V>REF(V,1) AND 换手>5 AND CROSS(CLOSE,MA2)AND CROSS(MA1,MA2)
AND (CLOSE>MA4),5,0),LINETHICK2,COLOR0058FF;
攻击30日线:IF(C>O AND COUNT((CROSS(MA(VOL,3),MA(VOL,34))),2)
AND V>REF(V,1) AND 换手>5 AND CROSS(CLOSE,MA3)AND CROSS(MA1,MA2)
AND (CLOSE>MA4),3,0),LINETHICK2,COLORLIGREEN;