通达信CCI叠加MACD指标公式
2021/2/6 18:33:30
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),COLORWHITE,NODRAW;
NOTEXTCCI:CCI/500,LINETHICK1,COLORFF33FF;
DIF:EMA(CLOSE,12)-EMA(CLOSE,26),COLORWHITE;
DEA:EMA(DIF,9),COLORYELLOW;
MACD:(DIF-DEA)*2,COLORSTICK;
0;
{CCI 100 -100 Ïß}
STICKLINE(C>0,100/500,100/500,1,-1)COLORWHITE;
DRAWTEXT(ISLASTBAR,100/500,'CCIÕý100'),COLORWHITE;
STICKLINE(C>0,-100/500,-100/500,1,-1)COLORWHITE;
DRAWTEXT(ISLASTBAR,-100/500,'CCI¸º-100'),COLORWHITE;
投 股票网 www .tou18.cn
股市公式下载推荐