通达信副图指标公式通达信分时指标_通达信指标_通达信最准确启动点
通达信大底判断
M1:=9;M2:=150;N:=12;
DIF:EMA(CLOSE,M1)-EMA(CLOSE,M2),NODRAW;
DEA:EMA(DIF,N),NODRAW;
MACD:2*(DIF-DEA),COLORSTICK;
DIK:4*DIF-3*DEA,COLORYELLOW;
X_1:=EMA(DIK,1);
{股票指标网}
IF(CLOSE>X_1,X_1,DRAWNULL),COLORRED,LINETHICK3;
IF(X_1<=REF(X_1,1),X_1,DRAWNULL),COLORGREEN,LINETHICK3;
X_2:=MACD<0 AND MACD>REF(MACD,1) AND REF(MACD,1)<REF(MACD,2) AND REF(MACD,2)<REF(MACD,3) AND REF(MACD,3)<REF(MACD,4);
分界线:0,COLORMAGENTA;
STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,1.8,0),COLOR000055;
STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,1.1,0),COLOR000099;
STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,0.6,0),COLOR0000DD;
STICKLINE(MACD<=REF(MACD,1) AND MACD>0,0,MACD,1.8,0),COLOR40FF00;
STICKLINE(MACD<=REF(MACD,1) AND MACD>0,0,MACD,1.1,0),COLOR40FF00;
STICKLINE(MACD<=REF(MACD,1) AND MACD>0,0,MACD,0.6,0),COLOR40FF00;
STICKLINE(MACD>REF(MACD,1) AND MACD<0,0,MACD,1.8,0),COLOR000055;
STICKLINE(MACD>REF(MACD,1) AND MACD<0,0,MACD,1.1,0),COLOR000099;
STICKLINE(MACD>REF(MACD,1) AND MACD<0,0,MACD,0.6,0),COLOR0000DD;
STICKLINE(MACD<=REF(MACD,1) AND MACD<0,0,MACD,1.8,0),COLOR40FF00;
STICKLINE(MACD<=REF(MACD,1) AND MACD<0,0,MACD,1.1,0),COLOR40FF00;
STICKLINE(MACD<=REF(MACD,1) AND MACD<0,0,MACD,0.6,0),COLOR40FF00;
STICKLINE(X_2,DIK,0,2,0),COLORMAGENTA;
STICKLINE(X_2,0,ABS(MACD),2,0),COLORMAGENTA;
DRAWICON(X_2,ABS(MACD)*1.05,11);
独股一箭通达信公式 主图 源码附图更新