EMA13:MA(C,13),COLORWHITE,LINETHICK2;EMA34:MA(C,34),COLORYELLOW;EMA55:MA(C,55),COLORFF00FF;{红杏出墙}HX1:=EMA13
0.1;HX6:=BARSLAST(OSS(EMA55,EMA34))>=20;{下降趋于走平}HX4:=ABS(1-REF(EMA13,1)/EMA13)<0 CEMA13 AND C>O;HX7:=HX1 {AND HX3} AND HX4 AND HX5 ;HX8:=HX7 AND FILTER(HX7,10);{满足后10天内不标记}DRAWTEXT(HX8,L-0.4L,'1红杏出墙'),COLORYELLOW;{蚂蚁上树}BR1:=COUNT(BETWEEN(((C-O)/O)*100,0,5) ,5)=5;{内价都比前日收盘价高}BR2:=(