通达信无名主图指标公式

通达信阳吃阴线选股指标公式

通达信无名主图指标公式:

MA5:MA(C,5),DOTLINE,COLOR606060;

H3:=EVERY(C>MA5,3);

L3:=EVERY(C<ma5,3);

X:=H3-L3;

T2:=BArslAst(X!=0);

Y:=REF(X,T2);

T3:=BARSLAST(crOSS(Y,0) OR CROSS(0,Y));

HHL:=IF(REF(Y=-1,1),LLV(L,2),HHV(MAX(LLV(L,2),REF(LLV(L,2),1)),T3));

LLH:=IF(REF(Y=1,1), HHV(H,2),LLV(MIN(HHV(H,2),REF(HHV(H,2),1)),T3));

NOTEXT3:IF(Y=1 ,HHL,DRAWNULL),COLORCC66FF,LINETHICK2;

NOTEXT4:IF(Y=-1,LLH,DRAWNULL),COLOR55CC33,LINETHICK2;

NOTEXT1:IF(Y=1 AND T3=0,HHL,DRAWNULL),COLORFF66A0,CIRCLEDOT,LINETHICK7;

NOTEXT10:IF(Y=1 AND T3=0,HHL,DRAWNULL),COLOR00FFFF,CROSSDOT,LINETHICK1;

NOTEXT11:IF(Y=1 AND T3=0,HHL,DRAWNULL),COLOR0000FF,POINTDOT,LINETHICK4;

NOTEXT2:IF(Y=-1 AND T3=0,LLH,DRAWNULL),COLOR00FFCC,CIRCLEDOT,LINETHICK7;

NOTEXT20:IF(Y=-1 AND T3=0,LLH,DRAWNULL),COLORCC00FF,CROSSDOT,LINETHICK2;

NOTEXT21:IF(Y=-1 AND T3=0,LLH,DRAWNULL),COLORFFFFFF,POINTDOT,LINETHICK4;

通达信KDJ的MACD指标公式