追涨:EMA(COST(81),10),COLORRED,LINETHICK2;
牛熊线:EMA(COST(27),120),COLORGREEN,LINETHICK2;
做空68:HHV((HIGH+LOW+OPEN+2*CLOSE)/5*2-LOW,5),COLORRED,DOTLINE;
平衡点:LLV((HIGH+LOW+OPEN+2*CLOSE)/5,3),COLORGRAY,DOTLINE;
GSPT1:=MA(CLOSE,5);
GSPT2:=ATAN((GSPT1/REF(GSPT1,1)-1)*100)*180/3.1416;
GSPT3:=SMA(EMA((GSPT1-REF(GSPT1,1))/REF(GSPT1,1),3)*100,3,1);
GSPT4:=EMA((GSPT3-REF(GSPT3,1)),3);
GSPT5:=MA(CLOSE,10);
GSPT6:=ATAN((GSPT5/REF(GSPT5,1)-1)*100)*180/3.1416;
GSPT7:=MA(CLOSE,30);
GSPT8:=(CLOSE-GSPT7)/GSPT7*100;
GSPT9:=ATAN((GSPT7/REF(GSPT7,1)-1)*100)*180/3.1416;
GSPT10:=FILTER(GSPT9>30 AND GSPT6>45 AND CROSS(GSPT2,60),10);
GSPT11:=COUNT(CROSS(GSPT2,30),5)>=1 AND GSPT1>REF(GSPT1,1);
GSPT12:=GSPT8>REF(GSPT8,1) AND GSPT5>REF(GSPT5,1);
VAR18:=GSPT4>REF(GSPT4,1) AND GSPT3>REF(GSPT3,1);
VAR19:=FILTER(GSPT11 AND GSPT12 AND VAR18,10) AND CLOSE>追涨;
DRAWTEXT_FIX(C>O,0,0.07,0,' '),COLOR222222;
DRAWTEXT(VAR19,LOW*0.97,'←短金'),COLORRED;
DRAWTEXT(GSPT10,LOW*0.95,'←黑马'),COLORYELLOW;