DIFF:(EMA(C,12)-EMA(C,26))*10,COLORRED,LINETHICK3;
IF(DIFF>REF(DIFF,1),DIFF,DRAWNULL),COLORRED,LINETHICK3;
IF(DIFF=REF(DIFF,1),DIFF,DRAWNULL),COLORYELLOW,LINETHICK3;
IF(DIFFIF(DIFF>=REF(DIFF,1),10,DRAWNULL),COLORRED,LINETHICK9;{红灯}
IF(DIFF<=REF(DIFF,1),10,DRAWNULL),COLORGREEN,LINETHICK9;{绿灯}
{ 老K股票学习网_通达信股票指标公式}
DEA:EMA(DIFF,9),COLORYELLOW,LINETHICK3;
MACD:=3*(DIFF-DEA),COLORSTICK;
DRAWICON(CROSS(ZIG(3,10) ,REF(ZIG(3 ,10),1)) ,0,13);{红球进,有ZIG}
DRAWICON(CROSS(REF(ZIG(3,10),1),ZIG(3,10)) ,0,14);{绿球出,有ZIG}
0,LINETHICK2;
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!