|
超跌:=C/HHV(顶,20)<0.7;
刹车:=谷 AND 超跌;
DRAWTEXT(刹车,2*L-顶,'刹车'),COLORGREEN;
凹间峰:=COUNT(刹车,8)>0 AND 峰;
DRAWTEXT(凹间峰,2*H-底,'凹间峰'),COLORYELLOW;
凹间峰顶:=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; |
|