凹间峰顶:=REF(顶,BARSLAST(凹间峰));
换档:=COUNT(凹间峰,8) 0 AND 谷;
DRAWTEXT(换档,2*L-H,'换档'),COLORRED;
上车:=COUNT(换档,8) 0 AND COUNT(C 凹间峰顶,BARSLAST(凹间峰))=1;
DRAWTEXT(上车,凹间峰顶,'上车'),COLORBLUE;
DRAWNUMBER(COUNT(凹间峰,2)=1 AND COUNT(凹间峰,1)=0,凹间峰顶,凹间峰顶),COLORBLUE;
DRAWTEXT(C 凹间峰顶 AND COUNT(C 凹间峰顶,BARSLAST(凹间峰)) 1,凹间峰顶,'---'),COLORYELLOW;
公式模块:
顶:=MAX(C,O);
底:=MIN(C,O);
超跌:=C/HHV(顶,20)
峰:=顶=REFX(HHV(顶,5),2);
谷:=底=REFX(LLV(底,5),2);
刹车:=谷 AND 超跌;
凹间峰:=COUNT(刹车,8) 0 AND 峰;
换档:COUNT(凹间峰,8) 0 AND 谷;