通达信威之线主图指标公式

通达信盘底盘顶指标公式

通达信威之线主图指标公式:

MA5:EMA(C,5),COLORWHITE;

工作线:EMA(C,14),COLORF00FF0,LINETHICK1;

二号线:EMA(C,25),COLORBLUE,LINETHICK1;

九号线:EMA(CLOSE,99),LINETHICK1;

MA120:EMA(CLOSE,120),LINETHICK1;

生命线:EMA(CLOSE,453),LINETHICK2,COLORRED;

DIFF:=( EMA(CLOSE,7) - EMA(CLOSE,19));

DEA:=EMA(DIFF,9);

macd:=0.90*(DIFF-DEA);

TJ:=(DIFF>=DEA);

TJ1:=(DIFF>=0);

stICKLINE(TJ,H,L,0.5,0),COLORYELLOW;

STICKLINE(TJ,O,C,4,0),COLORYELLOW;

{www.zbgs123.com 指标网-通达信公式}

STICKLINE(TJ1 AND TJ,H,L,0.5,0),COLORF00FF0;

STICKLINE(TJ1 AND TJ,O,C,4,1),COLORF00FF0;

STICKLINE(DIFF<DEA,H,L,0.5,0),COLORF0F000;

STICKLINE(DIFF<DEA,O,C,4,0),COLORF0F000;

VAR1:=(CLOSE*2+HIGH+LOW)/4;

SK:= EMA(VAR1,13)-EMA(VAR1,73);

SD:= EMA(SK,2);

DRAWTEXT((crOSS(SK,SD) AND SK<-0.04 AND (C-REF(C,1))/REF(C,1)>=0.03) OR (CROSS(SK,SD) AND SK<=-0.14 )

OR (CROSS(SK,SD) AND SK<=0.05 AND (V/MA(V,5)>2 OR C/REF(C,1)>0.035)) ,L*0.99,'短线'),COLORGREEN;

STICKLINE((CROSS(SK,SD) AND SK<-0.04 AND (C-REF(C,1))/REF(C,1)>=0.03) OR (CROSS(SK,SD) AND SK<=-0.14 )

OR (CROSS(SK,SD) AND SK<=0.05 AND (V/MA(V,5)>2 OR C/REF(C,1)>0.035)),H,L,0.5,0),COLORRED;

STICKLINE((CROSS(SK,SD) AND SK<-0.04 AND (C-REF(C,1))/REF(C,1)>=0.03) OR (CROSS(SK,SD) AND SK<=-0.14 )

OR (CROSS(SK,SD) AND SK<=0.05 AND (V/MA(V,5)>2 OR C/REF(C,1)>0.035)),O,C,3.8,1),LINETHICK3,COLORRED;

通达信横盘和KDJ选股指标公式