追涨:EMA(COST(81),10),COLORYELLOW,LINETHICK2;
牛熊线:=EMA(COST(27),120),COLORGREEN,LINETHICK2;
涨跌空间:HHV((HIGH+LOW+OPEN+2*CLOSE)/5*2-LOW,5),COLORRED,DOTLINE;
平衡点:LLV((HIGH+LOW+OPEN+2*CLOSE)/5,3),COLORGRAY,DOTLINE;
GSKZ1:=MA(CLOSE,5);
GSKZ2:=ATAN((GSKZ1/REF(GSKZ1,1)-1)*100)*180/3.1416;
GSKZ3:=SMA(EMA((GSKZ1-REF(GSKZ1,1))/REF(GSKZ1,1),3)*100,3,1);
GSKZ4:=EMA((GSKZ3-REF(GSKZ3,1)),3);
GSKZ5:=MA(CLOSE,10);
GSKZ6:=ATAN((GSKZ5/REF(GSKZ5,1)-1)*100)*180/3.1416;
GSKZ7:=MA(CLOSE,30);
GSKZ8:=(CLOSE-GSKZ7)/GSKZ7*100;
GSKZ9:=ATAN((GSKZ7/REF(GSKZ7,1)-1)*100)*180/3.1416;
GSKZ10:=FILTER(GSKZ9>30 AND GSKZ6>45 AND CROSS(GSKZ2,60),10);
GSKZ11:=COUNT(CROSS(GSKZ2,30),5)>=1 AND GSKZ1>REF(GSKZ1,1);
GSKZ12:=GSKZ8>REF(GSKZ8,1) AND GSKZ5>REF(GSKZ5,1);
VAR18:=GSKZ4>REF(GSKZ4,1) AND GSKZ3>REF(GSKZ3,1);
VAR19:=FILTER(GSKZ11 AND GSKZ12 AND VAR18,10) AND CLOSE>追涨;
DRAWTEXT(VAR19,LOW*0.97,'短线'),COLORRED;
DRAWTEXT(GSKZ10,LOW*0.95,'黑马'),COLORYELLOW;