N:=500;BJQD:=100*CLOSE/INDEXC;B:=SUM(BJQD,N)/N;XDQD1:=BJQD/B;XDQD:XDQD1/(SUM(XDQD1,60)/60),COLORFF33FF,LINETHICK2;B1:0.9,COLORBLUE;B2:1.0,COLORFFAA00,LINETHICK2;B3:1.12,COLORRED,LINETHICK2;DRAWICON(CROSS(XDQD,B3),B3,5);BF:=C>0.97*REF(C,BARSLAST(CROSS(B3,XDQD)+1)) AND (LONGCROSS(XDQD,B3,30));STICKLINE(BF,B1,B3,1,0),COLORRED;STICKLINE(LONGCROSS(B3,XDQD,20),B1,B3,1,0),COLORYELLOW; 强势股:=(EMA(EMA(H,25),25)-EMA(EMA(L,25),25))*1+EMA(EMA(H,25),25);
暴拉暴涨:=EMA(EMA(L,25),25)-(EMA(EMA(H,25),25)-EMA(EMA(L,25),25))*1;
好股票:=(HIGH+LOW+CLOSE)/3;SSDD10:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
EE:=IF(CAPITAL=0,SSDD10*(好股票-MIN(CLOSE,OPEN)),SSDD10*IF(HIGH=LOW,1,(MIN(OPEN,CLOSE)-LOW)));
SSDD1:=IF(CAPITAL=0,SSDD10*(MIN(OPEN,CLOSE)-LOW),SSDD10*IF(HIGH=LOW,1,(好股票-MIN(CLOSE,OPEN))));
DD:=IF(CAPITAL=0,SSDD10*(HIGH-MAX(OPEN,CLOSE)),SSDD10*IF(HIGH=LOW,1,(HIGH-MAX(OPEN,CLOSE))));
ED:=IF(CAPITAL=0,SSDD10*(MAX(CLOSE,OPEN)-好股票),SSDD10*IF(HIGH=LOW,1,(MAX(CLOSE,OPEN)-好股票)));
SSDD3:=((EE+SSDD1)-(DD+ED))/IF(CAPITAL=0,10000,10000);V2:=SMA(IF(C>=REF(C,1),SSDD3,-SSDD3/100),2,1);
V5:=SMA(V2*120/FROMOPEN*5,2,1);V10:=SMA(V5,5,1);V20:=SMA(V10,5,1);
DY:=CURRBARSCOUNT=1 AND C<REF(C,1);DP:=REF(V2,1)-DY;
SSDD7:=C>O AND DP<0.02 AND MA(C,5)>MA(C,60) AND C/REF(C,1)>=1.02 AND H<强势股;
IF(SSDD7 AND L<暴拉暴涨,1.1,1);