VAR20:=MA((L+H+C)/3,5);
上箱顶:=HHV(MA(MA(LOW,3),3),60);
起飞加速线:=HHV(VAR20,60);
起飞:=crOSS(C,上箱顶) AND CROSS(C,起飞加速线)AND C>REF(C,1)*1.05;
DRAWTEXT(起飞 ,4,' ★红'),COLORYELLOW;
DRAWTEXT(起飞 ,3,' ★色'),COLORYELLOW;
DRAWTEXT(起飞 ,2,' ★主'),COLORYELLOW;
DRAWTEXT(起飞 ,1,' ★升'),COLORYELLOW;
STICKLINE(起飞,0,5,2,0),COLORMAGENTA;