AC:=IF(CODELIKE('688'),0,1);
换手:=vol/CAPITAL*100;
JJ:=(HIGH+LOW+CLOSE)/3;
ACC0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
ACC1:=IF(CAPITAL=0,ACC0*(JJ-MIN(CLOSE,OPEN)),ACC0*IF(HIGH=LOW,1,(MIN(OPEN,CLOSE)-LOW)));
ACC2:=IF(CAPITAL=0,ACC0*(MIN(OPEN,CLOSE)-LOW),ACC0*IF(HIGH=LOW,1,(JJ-MIN(CLOSE,OPEN))));
ACC3:=IF(CAPITAL=0,ACC0*(HIGH-MAX(OPEN,CLOSE)),ACC0*IF(HIGH=LOW,1,(HIGH-MAX(OPEN,CLOSE))));
ACC4:=IF(CAPITAL=0,ACC0*(MAX(CLOSE,OPEN)-JJ),ACC0*IF(HIGH=LOW,1,(MAX(CLOSE,OPEN)-JJ)));
ddx:=((ACC1+ACC2)-(ACC3+ACC4))/IF(CAPITAL=0,10000,10000),COLOR00AAAA,LINETHICK;
V2:=SMA(IF(C>=REF(C,1),DDX,-DDX/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);
DY2:=REF(V2,1)-DY;
TT:=(V2*1.01-REF(V2,1));
TT2:=(REF(V2*1.01,1)-REF(V2,2));
YY:=TT>3*Abs(TT2);
TT1:=EMA(V2,15);
A111:=COST(85);
A222:=COST(15);
A333:=A111-A222;
A444:=(A111+A222)/2;
筹码:=A333/A444*100< 30,LINETHICK0;
VAR1:=HHV(HIGH,250);
VAR2:=LLV(LOW,250);
VAR3:=VAR1-VAR2;
VAR4:=(A444-VAR2);
比例:=A444< (VAR3*04+VAR2),LINETHICK0;
吸筹结束:=筹码 AND 比例;
VAR5:=C/REF(C,1)>1.04;
主力持仓%:=EMA(100*(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30)),3);
主力持仓:=主力持仓%>=75 AND C>0 AND CLOSE>OPEN;
强庄:=FILTER(主力持仓 AND 吸筹结束 AND VAR4 AND WINNER(C)>=0.90 AND VAR5 AND C/REF(C,1)>1.092 AND C=H AND C< 40 AND AC AND 换手< 20 ,10);
限时:=1;
K:=EMA(C,2);
K1:=EMA(K,2);
K2:=EMA(K1,2);
K3:=EMA(K2,2);
快:=EMA(K1,3),COLORRED,LINETHICK1;
中:=EMA(K2,5),COLORYELLOW,LINETHICK1;
慢:=EMA(K3,7),COLORBLUE,LINETHICK1;
A1:=EMA(C,14),COLORWHITE,LINETHICK1;
A1X:=(A1-REF(A1,1))/REF(A1,1)*100* 限时;
上轨:=boll+2*STD(CLOSE,60);
下轨:=BOLL-2*STD(CLOSE,60);
NN:=((REF(C,1)>REF(C,2)*1.096 AND REF(C,2)>REF(C,3)*1.096 ) AND C< REF(C,1)*1.095);
ZTTJ:=(CLOSE>=ZTPRICE(REF(CLOSE,1),IF(FINANCE(3)=4,0.2,0.1)));
一板:=C>REF(C,1)*1.095 AND C< REF(C,1)*1.118 AND C=H AND REF(C,1)< REF(C,2)*1.095;
M1:=一板 AND V< REF(V,1);
二连板:=C>REF(C,1)*1.095 AND C< REF(C,1)*1.118 AND C=H AND REF(C,1)>REF(C,2)*1.095 AND REF(C,1)< REF(C,2)*1.118 AND REF(C,1)=REF(H,1) AND REF(C,2)< REF(C,3)*1.095;
M2:=STICKLINE(二连板 AND V< REF(V,1),(O+C)/2,C,1,0),COLORRED;
三连板:=C>REF(C,1)*1.095 AND C< REF(C,1)*1.118 AND C=H AND REF(C,1)>REF(C,2)*1.095 AND REF(C,1)< REF(C,2)*1.118 AND REF(C,1)=REF(H,1) AND REF(C,2)>REF(C,3)*1.095 AND REF(C,2)< REF(C,3)*1.118 AND REF(C,2)=REF(H,2);
M3:=三连板 AND V< REF(V,1);
MAVOL1:=MA(V,5);
夹1:=C>REF(C,1)*1.095 AND REF(C,1)< REF(C,2)*1.095 AND REF(C,2)>REF(C,3)*1.095 AND REF(C,3)< REF(C,4)*1.095;
夹2:=C>REF(C,1)*1.095 AND REF(C,1)< REF(C,2)*1.095 AND REF(C,2)< REF(C,3)*1.095 AND REF(C,3)>REF(C,4)*1.095 AND REF(C,4)< REF(C,5)*1.095;
生线:=L*0.85;
火箭:(一板 AND C>O AND V>REF(MAVOL1,1)*2) OR (M1 AND C>O) OR (M2) OR (M3) OR(夹1) OR (夹2) OR(crOSS(A1X,0) AND C>=REF(HHV(H,7),1) AND C>REF(C,1)*1.097 AND C=H AND CROSS(快,慢) AND C>=快 AND C>O);