A8:=CLOSE>OPEN AND CLOSE>MA(CLOSE,20) AND CLOSE>MA(CLOSE,10) AND
CLOSE>MA(CLOSE,5) AND CLOSE>MA(CLOSE,60) AND LOW<MA(CLOSE,5) AND
LOW<MA(CLOSE,10) AND LOW<MA(CLOSE,20) AND LOW<MA(CLOSE,60) AND V/REF(V,1)>2.5;
A9:= LOW<MA(CLOSE,5) AND LOW<MA(CLOSE,10) AND LOW<MA(CLOSE,20) AND LOW<MA(CLOSE,60);
A10:=COUNT(A9,2) AND CLOSE>OPEN AND CLOSE>MA(CLOSE,20) AND CLOSE>MA(CLOSE,10) AND
CLOSE>MA(CLOSE,5) AND CLOSE>MA(CLOSE,60) AND V/REF(MA(V,5),1)>2.5;
A11:=A10 OR A8;
大牛股出现:=A11;
A13:=CLOSE>OPEN AND CLOSE>MA(CLOSE,20) AND CLOSE>MA(CLOSE,10) AND
CLOSE>MA(CLOSE,5) AND CLOSE>MA(CLOSE,60) AND COUNT(A9,2);
小牛:=A13;
快买金牛股:=A11 AND V/REF(V,1)>3.5 AND C/REF(C,1)>1.055,COLORRED;
A14:=C>MA(C,60) AND V/REF(V,1)>2.7 AND REF(C,1)<MA(C,60);
牛股快进:=A14;
S1:=IF(CODELIKE('300'),0,1);
S2:=IF(NAMELIKE('S'),0,1);
S3:=IF(NAMELIKE('*'),0,1);
S4:=DYNAINFO(17)>0;
ST:S1 AND S2 AND S3 AND S4 AND RANGE(CAPITAL/100,3000,300000) AND C<35 AND 小牛 OR 大牛股出现 AND 快买金牛股 OR 大牛股出现 AND 牛股快进 OR 小牛 AND 快买金牛股 OR 小牛 AND 牛股快进 OR 快买金牛股 AND 牛股快进;
DIFF:(EMA(C,12)-EMA(C,26));
DEA:EMA(DIFF,9),COLOR747474;
AO:2*(DIFF-DEA),,NODRAW,,COLOR80FF00;
STICKLINE(AO<REF(AO,1)AND AO>0,0,AO,0.5,0 ),COLORFFA346;
STICKLINE(AO>=REF(AO,1)AND AO>0,0,AO,0.5,0 ),COLORRED;
STICKLINE(AO>REF(AO,1)AND AO<0,0,AO,0.5,0 ),COLOR4080FF;
STICKLINE(AO<=REF(AO,1)AND AO<0,0,AO,0.5,0 ),COLOR80FF00;
S5:=CROSS(0,AO);
DRAWICON(S1,DEA,2);
H1:=AO>0; L1:=AO<0;
B1:=CROSS(AO,0);
DRAWICON(B1,0,-0.1);
多转空:=((((LLV(AO,4)<0) AND (AO<REF(AO,1))) AND (REF(AO,1)>REF(AO,2)))
AND (REF(AO,2)>REF(AO,3)));
空转多:=((((HHV(AO,4)>0) AND (AO>REF(AO,1))) AND (REF(AO,1)<REF(AO,2)))
AND (REF(AO,2)<REF(AO,3)));
转暖:IF(DIFF>REF(DIFF,1),DIFF,DRAWNULL),COLORFF00FF,LINETHICK1;
转凉:IF(DIFF<REF(DIFF,1),DIFF,DRAWNULL),COLORF07800,LINETHICK2;
IF2:IF(DEA>=DIFF,DIFF,DRAWNULL),LINETHICK2,COLOR00FF00;
桔子:CROSS(DIFF,DEA),NODRAW,COLOR4080FF;
DRAWICON(桔子,DEA,17);