通信达公式指标大全 MACD主图金叉买点公式源码
2018-06-13 17:01 股票知识 zhishi.southmoney.com
通信达公式指标大全 MACD主图金叉买点公式源码 南方财富网小编为您提供
DIFF:=EMA(CLOSE,9)-EMA(CLOSE,17);
DEADD:=EMA(DIFF,8),COLORFFAA00;
MACDD:=2*(DIFF-DEADD);
X1DD:=IF(DIFF<0,DIFF,0),COLOR0000FF,LINETHICK2;
X2DD:=IF(DIFF<0,0,DIFF),COLORMAGENTA,LINETHICK1;
X3DD:=IF(DIFF<DEADD,DIFF,DEADD),COLOR00FF00,LINETHICK1;
X4DD:=IF(DIFF>DEADD,DEADD,DEADD),LINETHICK1,COLORFFBB11;
高位金叉:=CROSS(DIFF,DEADD) AND DIFF>-0.1;
DRAWTEXT(高位金叉,L*0.9976,'高位金叉'),COLORYELLOW;
低位金叉:=CROSS(DIFF,DEADD) AND DIFF<-0.1;(股票知识网zhishi.southmoney.com)
股票知识网声明:资讯来源于合作媒体及机构,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。