牛市区:=MA((H+2*C)/3,20);
买入:crOSS(C,牛市区);
N:=10;
BDGD:=C=HHV(C,N);
GDSJ:=BARSLAST(BDGD);
前高:=IF(GDSJ>0,REF(C,GDSJ),REF(C,GDSJ));
TP:=crOSS(C,REF(前高,1));
出击:=TP AND COUNT(TP,5)=1;
TPSJ:=BARSLAST(出击);
HC:=CROSS(REF(前高,TPSJ+1),L) OR CROSS(REF(前高,TPSJ),C);
回踩:HC AND TPSJ>1;

