DPO:=CLOSE-REF(MA(CLOSE,20),20/2+1);
RIFF:= EMA(DPO,12) - EMA(DPO,26);
REA:= EMA(RIFF,9);
X:=CROSS(RIFF,REA);
Y:=CROSS(REA,RIFF);
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,13))/(0.015*AVEDEV(TYP,13));
STICKLINE(CCI<0,0,CCI,1,0),COLORWHITE;
STICKLINE(CCI>=0,0,CCI,1,0),COLORYELLOW;
STICKLINE(CCI>REF(CCI,1) AND CCI<0 AND CCI>-100,0,CCI,1,0),COLORGREEN;
STICKLINE(CCI>REF(CCI,1) AND CCI>100,0,CCI,1,0),COLORRED;
趋势线:EXPMA(CCI,5),COLORMAGENTA,LINETHICK2;
IF(趋势线>=REF(趋势线,1),趋势线,DRAWNULL),COLORRED,LINETHICK2;
IF(趋势线
DRAWICON(X,趋势线,13);
DRAWICON(Y,趋势线,14);
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!