掃描主圖公式
2019-04-24 10:42 綜投網(wǎng)
N:=1;
N1:=2;
X_3:=IF(CURRBARSCOUNT <=55 AND CURRBARSCOUNT >=13 AND 精準掃描,CONST(REF(LOW,N)),DRAWNULL);
X_4:=IF(CURRBARSCOUNT <=55 AND CURRBARSCOUNT >=13 AND 精準掃描,CONST(REF(LOW,N1)),DRAWNULL);
精準掃描:BACKSET(CURRBARSCOUNT=13,42),NODRAW;
劃線范圍:BACKSET(CURRBARSCOUNT=0,55),NODRAW;
輔助線1:IF(CURRBARSCOUNT <=55 AND 精準掃描=0,CONST(REF(LOW,N)),DRAWNULL),DOTLINE,COLORRED;
有效K線1:精準掃描 AND ABS((MAX(OPEN,CLOSE)-X_3)/X_3*100) <=1.5,NODRAW;
滿足1:COUNT(有效K線1,55) >=3,NODRAW;
成立線1:IF(CONST(滿足1),X_3,DRAWNULL),COLORGREEN,LINETHICK2;
輔助線2:IF(CURRBARSCOUNT <=55 AND 精準掃描=0,CONST(REF(LOW,N1)),DRAWNULL),DOTLINE,COLORRED;
有效K線2:精準掃描 AND ABS((MAX(HIGH,CLOSE)-X_4)/X_4*100) <=1.5,NODRAW;
滿足2:COUNT(有效K線2,55) >=2,NODRAW;
成立線2:IF(CONST(滿足2),X_4,DRAWNULL),COLORGREEN,LINETHICK2;