X_1:=CROSS(HIGH,SAR(3,1,20));
X_2:=CROSS(SAR(3,1,20),LOW);
X_3:=BARSLAST(X_1)+1;
X_4:=(-100)*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
X_5:=EMA((-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4);
X_6:=X_4+100;
X_7:=X_5+100;
X_8:=CROSS(X_6,X_7);
X_9:=BETWEEN((CLOSE-REF(CLOSE,27))/REF(CLOSE,27),(-0.37),(-0.17));
X_10:=BETWEEN((CLOSE-REF(CLOSE,60))/REF(CLOSE,60),(-0.65),(-0.2));
参考底:CLOSE OPEN AND X_7 20 AND (CROSS(X_6,X_7) OR BARSLAST(CROSS(X_6,X_7))=1) AND (X_9 OR X_10),NODRAW,COLORWHITE;
STICKLINE(参考底,0,0.5,2.2,0),COLORWHITE;{九毛八公式指标网www.9m8.cn}
波段底:CLOSE OPEN AND VOL/REF(VOL,1) 1.8 AND X_7 20 AND (CROSS(X_6,X_7) OR BARSLAST(CROSS(X_6,X_7))=1) AND (X_9 OR X_10),NODRAW,COLORYELLOW;
STICKLINE(波段底,0,1,1.3,0),COLORYELLOW;
X_11:=IF(BETWEEN(BARSLAST(波段底),0,5) AND X_3=1,1,0);
有效B点:X_11,NODRAW,COLORRED;
STICKLINE(有效B点,0,1,1.3,0),COLORRED;