VAR1:=MA(CLOSE,5);
VAR2:=MA(CLOSE,10);
VAR3:=MA(CLOSE,30);
VAR4:=MA(CLOSE,60);
VAR5:=EMA(COST(85),7);
VAR6:=EMA(COST(15),7);
VAR7:=SUM(CLOSE*VOL*100,4)/SUM(VOL*100,4);
VAR8:=INTPART(VAR7*100)/100;
VAR9:=SUM(CLOSE*VOL*100,7)/SUM(VOL*100,7);
VARA:=INTPART(VAR9*100)/100;
VARB:=SUM(CLOSE*VOL*100,28)/SUM(VOL*100,28);
VARC:=INTPART(VARB*100)/100;
VARD:=EMA(CLOSE,5)-EMA(CLOSE,10);
VARE:=EMA(VARD,9);{http://}
VARF:=(-100)*(HHV(CLOSE,5)-CLOSE)/(HHV(CLOSE,5)-LLV(LOW,5))+100;
VAR10:=(-100)*(HHV(CLOSE,10)-CLOSE)/(HHV(CLOSE,10)-LLV(LOW,10))+100;
VAR11:=(-100)*(HHV(CLOSE,20)-CLOSE)/(HHV(CLOSE,20)-LLV(LOW,20))+100;
VAR12:=(-100)*(HHV(CLOSE,30)-CLOSE)/(HHV(CLOSE,30)-LLV(LOW,30))+100;
VAR13:=REF(VARE,1);
VAR14:=VARE;
VAR15:=VAR14-VAR13;
VAR16:=REF(VARD,1);
VAR17:=VARD;
VAR18:=VAR17-VAR16;
VAR19:=OPEN;
VAR1A:=CLOSE;
黑马显形选股:= VAR19<=VAR1 AND VAR19<=VAR2 AND VAR19<=VAR3 AND VAR1A>=VAR1 AND VAR1A>=VARC AND VAR15>0 AND VAR18>0;
X1:=C-LLV(C,15);
X2:=HHV(C,15)-LLV(C,15);
X3:=C/X1;
X4:=C/X2;
X5:=X3-X4;
X6:=X3+X4;
C1:=X5/X6;
B1:=(EMA(C1,1)+EMA(C1,2)+EMA(C1,3)+EMA(C1,4)+EMA(C1,5))/5;
B2:=(EMA(B1,1)+EMA(B1,2)+EMA(B1,3)+EMA(B1,4)+EMA(B1,5))/5;
B3:=(EMA(B2,1)+EMA(B2,2)+EMA(B2,3)+EMA(B2,4)+EMA(B2,5))/5;
Q1A:=HHV(C1,5)-C1;
Q2A:=HHV(C1,3)-REF(C1,2);
Q11A:=HHV(C1,15)-C1;
Q22A:=HHV(C1,9)-REF(C1,6);
Q3A:=HHV(C1,45)-C1;
Q33A:=HHV(C1,27)-REF(C1,18);
Q4A:=HHV(C1,135)-C1;
Q44A:=HHV(C1,71)-REF(C1,64);
PPPPA:=(Q1A+Q11A+Q3A+Q4A)/4;
PPPPB:=(Q2A+Q22A+Q33A+Q44A)/4;
PA:=C1/EMA(C1,5);
P11:=C1/EMA(C1,15);
P22:=C1/EMA(C1,25);
P33:=C1/EMA(C1,35);
P44:=(PA+P11+P22+P33)/4;
CCF:=EMA(P44,5);
CCF1:=EMA(P44,15);
CCF2:=EMA(P44,25);
CCF3:=EMA(P44,35);
CG:CROSS(B3,B2) AND CROSS(B3,B1) AND CROSS(CCF3,CCF) AND CROSS(PPPPA,PPPPB) AND 黑马显形选股;