通达信上升背离副图/选股预警指标公式源码
X_1:=IF(CLOSE>REF(CLOSE,1),88,0); X_2:=IF(CLOSE/REF(CLOSE,1)>1.05 AND HIGH/CLOSE<1.01 AND X_1>0,91,0); X_3:=IF(DATETODAY(DATE)<11350,1,DRAWNULL); X_4:=FILTER(X_2>90,22.5)=1; X_5:=FILTER(X_2>90,35)=1; X_6:=FILTER(X_2>90,45)=1; X_7:=FILTER(X_2>90,67.5)=1; X_8:=FILTER(X_2>90,90)=1; X_9:=FILTER(X_2>90,135)=1; X_10:=FILTER(X_2>90,180)=1; X_11:=FILTER(X_2>90,270)=1; 买入:X_4+X_5+X_6+X_7+X_8+X_9+X_10+X_11>=3*X_3,NODRAW,COLORRED; STICKLINE(IF(买入,(-120),0),90,0,7,0),COLOR770077; STICKLINE(IF(买入,(-120),0),90,0,6,0),COLOR990099; STICKLINE(IF(买入,(-120),0),90,0,5,0),COLORBB00BB; STICKLINE(IF(买入,(-120),0),90,0,4,0),COLORDD00DD; STICKLINE(IF(买入,(-120),0),90,0,3,0),COLORMAGENTA; STICKLINE(IF(买入,(-120),0),90,0,2,0),COLORDD00DD; STICKLINE(IF(买入,(-120),0),90,0,0.1,0),COLORMAGENTA;
移动端首页 | PC端
© by gszx.com.cn Mobile Web
通达信上升背离副图/选股预警指标公式源码
X_1:=IF(CLOSE>REF(CLOSE,1),88,0);
X_2:=IF(CLOSE/REF(CLOSE,1)>1.05 AND HIGH/CLOSE<1.01 AND X_1>0,91,0);
X_3:=IF(DATETODAY(DATE)<11350,1,DRAWNULL);
X_4:=FILTER(X_2>90,22.5)=1;
X_5:=FILTER(X_2>90,35)=1;
X_6:=FILTER(X_2>90,45)=1;
X_7:=FILTER(X_2>90,67.5)=1;
X_8:=FILTER(X_2>90,90)=1;
X_9:=FILTER(X_2>90,135)=1;
X_10:=FILTER(X_2>90,180)=1;
X_11:=FILTER(X_2>90,270)=1;
买入:X_4+X_5+X_6+X_7+X_8+X_9+X_10+X_11>=3*X_3,NODRAW,COLORRED;
STICKLINE(IF(买入,(-120),0),90,0,7,0),COLOR770077;
STICKLINE(IF(买入,(-120),0),90,0,6,0),COLOR990099;
STICKLINE(IF(买入,(-120),0),90,0,5,0),COLORBB00BB;
STICKLINE(IF(买入,(-120),0),90,0,4,0),COLORDD00DD;
STICKLINE(IF(买入,(-120),0),90,0,3,0),COLORMAGENTA;
STICKLINE(IF(买入,(-120),0),90,0,2,0),COLORDD00DD;
STICKLINE(IF(买入,(-120),0),90,0,0.1,0),COLORMAGENTA;