CCI优化指标源码
2011-03-02 19:05:00来源:本站整理浏览:101
{M(2,100,14)}
TYP:=(HIGH + LOW + CLOSE)/3;
CCI:(TYP-MA(TYP,M))/(0.015*AVEDEV(TYP,M)),LINESTICK,COLORCYAN;
跌:IF(CCI<REF(CCI,1),CCI,0),COLORGREEN,LINETHICK2;
DRAWICON(CROSS(200,CCI),250,5);
DRAWICON( CROSS(CCI,-200),-250,4);
转强:STICKLINE(CCI>0,0,CCI,8,0),COLOR0000D5;
弱转强:STICKLINE(CROSS(CCI,-200) AND CCI>REF(CCI,1),CCI,0,8,0),COLOR00DFDF;
强转弱:STICKLINE(CROSS(200,CCI) AND CCI<REF(CCI,1),0,CCI,8,0),COLORGREEN;
天顶线:200,COLORRED;
地底线:-200,COLORCYAN;
牛熊线:100,COLOR00ff00;
- 上一篇公式:筹码主图 解读换手 解读换选(源码)
- 下一篇公式:寻底建仓 股海寻宝:二个指标让你成为亿万富翁