通达信EXPMA主图指标公式
2020/3/17 18:54:10
M1:=8;M2:=25;M3:=12;M4:=50;
AEXP1:EXPMA(CLOSE,M1)COLORBLUE,LINETHICK1;
AEXP2:EXPMA(CLOSE,M2)COLORGREEN,LINETHICK2;
AEXP3:=EXPMA(C,M3)COLORLIGREEN,DOTLINE;
AEXP4:=EXPMA(C,M4)COLORWHITE,DOTLINE;
{www.tou18.cn 投股票网_股票通达信指标公式}
IF(AEXP1>(REFV(AEXP1,1)),AEXP1,DRAWNULL),COLORRED,LINETHICK1;
IF(AEXP2>(REFV(AEXP2,1)),AEXP2,DRAWNULL),COLORMAGENTA,LINETHICK2;
IF(AEXP3>(REFV(AEXP3,1)),AEXP3,DRAWNULL),COLORYELLOW,DOTLINE;
IF(AEXP4>(REFV(AEXP4,1)),AEXP4,DRAWNULL),COLORLIRED,DOTLINE;
卖:=CROSS(AEXP1,AEXP2);
买:=CROSS(AEXP2,AEXP1);
DRAWTEXT(卖,AEXP1*0.995,'持股'),COLORRED;
DRAWTEXT(买,AEXP2*1.03,'持币'),COLORWHITE;
投 股票网 www.t ou18.cn
股市公式下载推荐