老财挖掘低吸 抄底和逃顶副图指标 通达信 贴图
X_1:=1;
DRAWGBK(CLOSE 0,RGB(0,10,10),RGB(88,0,0),0,65,0);
X_2:=IF(KDJ.J (-10),10,0);
X_3:=CROSS(9.9,X_2);
X_4:=(2*CLOSE+HIGH+LOW)/4;
X_5:=LLV(LOW,5);
X_6:=HHV(HIGH,5);
X_7:=EMA((X_4-X_5)/(X_6-X_5)*100,5);
X_8:=MA(X_7,2);
X_9:=MA(X_7,2);
STICKLINE(IF(X_1,X_7 X_9,DRAWNULL),X_7+3,X_9,2,1),COLORRED;
STICKLINE(IF(X_1,X_7 =X_9,DRAWNULL),X_7-3,X_9,2,0),COLORCYAN;
STICKLINE(IF(X_1,CROSS(9.9,X_2),DRAWNULL),X_7+4,X_9-5,2,0),COLORCYAN;
次级风险:IF(X_1,80,DRAWNULL),DOTLINE,COLORMAGENTA;
次级安全:IF(X_1,20,DRAWNULL),DOTLINE,COLORGREEN;
X_10:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
X_11:=SMA(X_10,3,1);
X_12:=SMA(X_11,3,1);
X_13:=3*X_11-2*X_12;
X_14:=X_13 15 AND X_13 REF(X_13,1);
X_15:=X_13 95 AND X_13 REF(X_13,1);
X_16:=CROSS(X_7,X_9) AND X_9 20 AND X_7
X_17:=CROSS(X_9,X_7) AND X_9 80 AND X_7
JNBUY:IF(X_16 AND X_1,20,0),COLORMAGENTA,LINETHICK2;
DRAWICON(JNBUY=20,20,34);
IF(X_17 AND X_1,80,100),COLORGREEN,LINETHICK2;
风险区间:IF(X_1,100,DRAWNULL),COLORMAGENTA;
安全区间:IF(X_1,0,DRAWNULL),COLORGREEN;