XG:=C/REF(C,1)>1.0975 AND H=O;
周:="CCI.CCI#WEEK";
月:="CCI.CCI#MONTH";
好:=(周-REF(周,1)>90 OR 月-REF(月,1)>95) AND NOT(XG);
STICKLINE(好,101,96,0.1,0),COLORWHITE;
STICKLINE(好,96,92,0.3,0),COLORWHITE;
STICKLINE(好,92,88,0.6,0),COLORWHITE;
STICKLINE(好,88,84,0.9,0),COLORWHITE;
STICKLINE(好,84,80,1.2,0),COLORWHITE;
STICKLINE(好,80,50,1.4,0),COLORWHITE;
STICKLINE(好,74,70,0.6,0),COLORRED;
STICKLINE(好,65,64,1.5,0),COLORBLUE;
STICKLINE(好,51,49,1.5,0),COLORBLUE;
STICKLINE(好,49,25,1.5,0),COLORWHITE;
STICKLINE(好,25,20,1.3,0),COLORRED;
STICKLINE(好,20,13,1,0),COLORRED;
STICKLINE(好,13,7,0.7,0),COLORRED;
STICKLINE(好,7,1,0.3,0),COLORRED;
STICKLINE(好,1,(-7),0.1,0),COLORRED;
STICKLINE(好,24.799999,21.799999,1,0),COLORYELLOW;
STICKLINE(好,21.799999,18.799999,0.5,0),COLORYELLOW;
STICKLINE(好,18.799999,15.8,0.1,0),COLORYELLOW;
STICKLINE(好,60,55,0.5,0),COLORRED;
日K:="KDJ.K#DAY"(9,3,3);
日D:="KDJ.D#DAY"(9,3,3);
日DIF:="MACD.DIF#DAY"(12,26,9);
日DEA:="MACD.DEA#DAY"(12,26,9);
日RSI:="RSI.RSI1#DAY"(9);
周K:="KDJ.K#WEEK"(9,3,3);
周D:="KDJ.D#WEEK"(9,3,3);
周DIF:="MACD.DIF#WEEK"(12,26,9);
周DEA:="MACD.DEA#WEEK"(12,26,9);
周RSI:="RSI.RSI1#WEEK"(9);
月K:="KDJ.K#MONTH"(9,3,3);
月D:="KDJ.D#MONTH"(9,3,3);
月DIF:="MACD.DIF#MONTH"(12,26,9);
月DEA:="MACD.DEA#MONTH"(12,26,9);
月RSI:="RSI.RSI1#MONTH"(9);
X1:=日K>日D;
X2:=日DIF>日DEA;
X3:=日RSI>50;
X4:=周K>周D;
X5:=周DIF>周DEA;
X6:=周RSI>50;
X7:=月K>月D;
X8:=月DIF>月DEA;
X9:=月RSI>50;
黑马初显:=X1 AND X2 AND X3 AND X4 AND X5 AND X6 AND X7 AND X8 AND X9;
STICKLINE(黑马初显 AND C/REF(C,1)>1.095,0.95,58.55,1,0),COLORRED;
DRAWTEXT(黑马初显=1,C*0.036,' '),COLORWHITE;
XA_1:=(CLOSE-LLV(CLOSE,10))/(HHV(CLOSE,10)-LLV(CLOSE,10));
妖股起涨:=CROSS(XA_1,0.05)*3 AND FILTER(CLOSE/REF(CLOSE,1)>1.025 AND C=H AND BETWEEN(FORCAST(VOL,4),0.2*FORCAST(VOL,12),2.1*FORCAST(VOL,12)),28) AND NOT(DYNAINFO(4)=0);
STICKLINE(妖股起涨,0,85,2,0),COLORCC00FF;
DRAWICON(妖股起涨,0.9,18);
DRAWTEXT(妖股起涨,0.5,' 妖股起涨'),COLORYELLOW;