凤线:EMA(CLOSE,7),colorred;凰线:EMA(CLOSE,21),coloryellow;MA30:MA(C,30),colorcyan,LINETHICK2;MA55:MA(C,55),colorwhite,LINETHICK1;MA250:MA(C,250),colorlired,LINETHICK1;买线:=EMA(C,5);卖线:=EMA(SLOPE(C,20)*9+C,35);DRAWICON(CROSS(买线,卖线),LOW*0.999,1);A1:=MA(C,5);A2:=MA(C,10);A3:=CROSS(凤线,凰线);A4:=CROSS(A1,A2);A5:=COUNT(A4,4)=1;A7:=A1>REF(A1,1) AND A2>REF(A2,1);RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;A8:=J>D AND J>K AND J>REF(J,1);DIF:=EMA(CLOSE,14)-EMA(CLOSE,56);DEA:=EMA(DIF,9);MACD:=(DIF-DEA)*2,COLORSTICK;A9:=DIF>DEA AND MACD>0;A6:=A3 AND A5 AND 凤线>凰线 AND A7 AND A8 AND A9;DRAWTEXT(A6,凤线+0.01,'买入');凤求凰:IFF(凤线>凰线,凤线,DRAWNULL),NODRAW,colorred;无为:IFF(凤线==凰线,凰线,DRAWNULL),colorgreen;涨停:=C/REF(C,1)>1.095 AND H=C;STICKLINE(涨停,C,O,2,0),colormagenta;LC:=REF(CLOSE,1);MA200:=EMA(CLOSE,20);MA400:=EMA(CLOSE,40);MA600:=EMA(C,60);AA:=BARSLAST(MA400>MA600 AND (MA200==MA400 OR MA200>MA400));BB:=REF(COUNT(C<MA600,AA)==AA,1);CC:=CROSS(C,MA600) AND VOL>MA(VOL,5) AND (C-REF(C,1))/REF(C,1)*100>3;顺势:IFF((BB AND CC),凤线,0),NODRAW,coloryellow;上线:=MAX(CLOSE,OPEN);下线:=MIN(CLOSE,OPEN);STICKLINE(顺势,H,L,0,0),coloryellow;STICKLINE(顺势,上线,下线,2.5,0),COLOR00FFFF;STICKLINE(顺势,上线-0.10*ABS(上线-下线),下线+0.10*ABS(上线-下线),2.5,0),COLOR00DDFF;STICKLINE(顺势,上线-0.15*ABS(上线-下线),下线+0.15*ABS(上线-下线),2.5,0),COLOR00BBFF;STICKLINE(顺势,上线-0.20*ABS(上线-下线),下线+0.20*ABS(上线-下线),2.5,0),COLOR0099FF;STICKLINE(顺势,上线-0.25*ABS(上线-下线),下线+0.25*ABS(上线-下线),2.5,0),COLOR0077FF;STICKLINE(顺势,上线-0.30*ABS(上线-下线),下线+0.30*ABS(上线-下线),2.5,0),COLOR0055FF;STICKLINE(顺势,上线-0.35*ABS(上线-下线),下线+0.35*ABS(上线-下线),2.5,0),COLOR0033FF;STICKLINE(顺势,上线-0.40*ABS(上线-下线),下线+0.40*ABS(上线-下线),2.5,0),COLOR0022FF;STICKLINE(顺势,上线-0.45*ABS(上线-下线),下线+0.45*ABS(上线-下线),2.5,0),COLOR0000FF;EMA13:EMA(C,13),NODRAW;RSI6:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;BIAS5:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;BB13:=ATAN(EMA13-REF(EMA13,1))*3.1416*10;EMA8:=EMA(C,8);AA1:=AMOUNT/VOL;BB1:=L<AA1*0.9;CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;DD1:=L<MA(C,6)*0.921;EE1:=VOL<MA(V,5)*1.5;FF1:=BB1 AND CC1 AND DD1 AND EE1;DRAWICON(FF1,L*0.98,'11'),colorwhite;STICKLINE(FF1,H,L,0.3,0),COLOR00FF00;STICKLINE(FF1,O,C,3,1),LINETHICK2,colorwhite;X1:=(C+L+H)/3;BB133:=ATAN(EMA(X1,13)-REF(EMA(X1,13),1))*3.1416*10;DRAWTEXT(FILTER(BB133>1 AND EMA(X1,13)>REF(EMA(X1,8),1),10),EMA8,'∠45升'),colorwhite;AQ1:=REF(V,1);AQ2:=DVOL;AQ3:=AQ2/AQ1;LNX:=AQ3-REF(AQ3,1);E1:=REF(C,1);E2:=DCLOSE;E3:=(E2-E1)/E1*100;QMX:=E3-REF(E3,1);XXG:=CROSS(LNX,500) AND CROSS(QMX,10);DRAWTEXT(XXG=1,L*0.955,'--准备启动'),colormagenta;DRAWICON(XXG=1,L*0.993,25);