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;
{ _股票通达信指标公式}
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;

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。