X_1:=CLOSE/REF(CLOSE,1)>=1.04 AND CLOSE/REF(CLOSE,1)<=1.075;
STICKLINE(X_1,CLOSE,REF(CLOSE,1),2.2,0),COLORRED;
X_2:=CLOSE/REF(CLOSE,1)>=1.093;
STICKLINE(X_2,OPEN,CLOSE,3,0),COLOR0077BB;
STICKLINE(X_2,OPEN,CLOSE,2.6,0),COLOR0088CC;
STICKLINE(X_2,OPEN,CLOSE,2.2,0),COLOR0099CC;
STICKLINE(X_2,OPEN,CLOSE,1.8,0),COLOR00AADD;
STICKLINE(X_2,OPEN,CLOSE,1.4,0),COLOR00BBDD;
STICKLINE(X_2,OPEN,CLOSE,1,0),COLOR00CCEE;
STICKLINE(X_2,OPEN,CLOSE,0.6,0),COLOR00DDEE;
STICKLINE(X_2,OPEN,CLOSE,0.2,0),COLOR00EEFF;
STICKLINE(X_2,OPEN,CLOSE,0.1,0),COLORYELLOW;
STICKLINE(X_2,HIGH,LOW,0,0),COLORYELLOW;
精准扫描:BACKSET(CURRBARSCOUNT=13,42),NODRAW;
划线范围:BACKSET(CURRBARSCOUNT=0,55),NODRAW;
X_3:=IF(CURRBARSCOUNT<=55 AND CURRBARSCOUNT>=13 AND 精准扫描,CONST(REF(LOW,精准启动)),DRAWNULL);
辅助线1:IF(CURRBARSCOUNT<=55 AND 精准扫描=0,CONST(REF(LOW,精准启动)),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;
STICKLINE(有效K线1,OPEN,CLOSE,2,0),COLORMAGENTA;
STICKLINE(有效K线1,LOW,HIGH,0,0),COLORMAGENTA;
STICKLINE(CURRBARSCOUNT=精准启动+1,OPEN,CLOSE,2,0),COLORMAGENTA;
STICKLINE(CURRBARSCOUNT=精准启动+1,LOW,HIGH,0,0),COLORMAGENTA;
X_4:=IF(CURRBARSCOUNT<=55 AND CURRBARSCOUNT>=13 AND 精准扫描,CONST(REF(LOW,精准启动1)),DRAWNULL);
辅助线2:IF(CURRBARSCOUNT<=55 AND 精准扫描=0,CONST(REF(LOW,精准启动1)),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;
STICKLINE(有效K线2,OPEN,CLOSE,2,0),COLORMAGENTA;
STICKLINE(有效K线2,LOW,HIGH,0,0),COLORMAGENTA;
STICKLINE(CURRBARSCOUNT=精准启动1+1,OPEN,CLOSE,2,0),COLORWHITE;
STICKLINE(CURRBARSCOUNT=精准启动1+1,LOW,HIGH,0,0),COLORWHITE;
|