VAR11:=EMA(CLOSE,30)-EMA(CLOSE,17);
VAR12:=EMA(VAR11,5)*0.7;
九:TROUGHBARS(3,10,1)<1 AND CROSS(VAR11,VAR12);
XX:=EMA(CLOSE,30)-EMA(CLOSE,17);
YY:=EMA(XX,13);
短针2:=TROUGHBARS(3,5,1)<1 AND XX<YY;
阴:(短针2>0)*0.5;
N1:=30;N2:=17;N3:=5;
VAR1X:=EMA(CLOSE,N1)-EMA(CLOSE,N2);
VAR2X:=EMA(VAR1X,N3);
剑:(CROSS(VAR1X,VAR2X) AND TROUGHBARS(3,7,1)<1)*0.3;
九阴剑: 九 OR 阴 OR 剑;