擒牛索:MA(CLOSE,55),COLORYELLOW;
季新高:=REF(HHV(H,60),1);
SIGN2:=CROSS(C,季新高);
半年最低:=LLV(LOW,120);
年最低:=LLV(LOW,250);
TT:=半年最低==年最低 AND 年最低 REF(年最低,1);
阶段起点:=REF(TT,1)==1 AND TT==0;
起点距离:=BARSLAST(阶段起点);
突破点:=COUNT(SIGN2,起点距离)==1 AND SIGN2;
回踩点:=CROSS(擒牛索,L);
回踩M55:=COUNT(COUNT(回踩点,BARSLAST(突破点))==1 AND CROSS(擒牛索,L),3) 0 AND 起点距离 =120;
伏击擒牛:回踩M55,NODRAW,COLORRED;
DRAWICON(回踩M55,L,62);
{www.9m8.cn 九毛八公式指标网}
上线:=MAX(CLOSE,OPEN);
下线:=MIN(CLOSE,OPEN);
STICKLINE(回踩M55,H,L,0,0),COLORYELLOW;
STICKLINE(回踩M55,上线,下线,2,0),COLOR00FFFF;
STICKLINE(回踩M55,上线-0.10*ABS(上线-下线),下线+0.10*ABS(上线-下线),2,0),COLOR00DDFF;
STICKLINE(回踩M55,上线-0.15*ABS(上线-下线),下线+0.15*ABS(上线-下线),2,0),COLOR00BBFF;
STICKLINE(回踩M55,上线-0.20*ABS(上线-下线),下线+0.20*ABS(上线-下线),2,0),COLOR0099FF;
STICKLINE(回踩M55,上线-0.25*ABS(上线-下线),下线+0.25*ABS(上线-下线),2,0),COLOR0077FF;
STICKLINE(回踩M55,上线-0.30*ABS(上线-下线),下线+0.30*ABS(上线-下线),2,0),COLOR0055FF;
STICKLINE(回踩M55,上线-0.35*ABS(上线-下线),下线+0.35*ABS(上线-下线),2,0),COLOR0033FF;
STICKLINE(回踩M55,上线-0.40*ABS(上线-下线),下线+0.40*ABS(上线-下线),2,0),COLOR0022FF;
STICKLINE(回踩M55,上线-0.45*ABS(上线-下线),下线+0.45*ABS(上线-下线),2,0),COLOR0000FF;