主题244
精华0
阅读权限25
注册时间2015-3-31
在线时间0 小时
最后登录2017-1-4
美元0
爱心果1825
贡献0
- 积分
- 2612
巡抚
- 听众
- 6
|
30爱心果
请老师在周cci上穿月cci时做个选股。TYP:=(HIGH+LOW+CLOSE)/3;CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
月CCI:"CCI.CCI#MONTH",COLORFF0080,LINETHICK2;
周CCI:"CCI.CCI#WEEK",COLOR0080FF,LINETHICK2;
HZ:=周CCI>REF(周CCI,1) AND REF(周CCI,1)>REF(周CCI,2);
STICKLINE(HZ,周CCI,300,3,0),COLOR0055AA;
STICKLINE(HZ,周CCI,300,2.8,0),COLOR0066BB;
STICKLINE(HZ,周CCI,300,2.5,0),COLOR0077CC;
STICKLINE(HZ,周CCI,300,2.2,0),COLOR0088DD;
STICKLINE(HZ,周CCI,300,1.7,0),COLOR0099EE;
STICKLINE(HZ,周CCI,300,1.2,0),COLOR00AAFF;
STICKLINE(HZ,周CCI,300,0.7,0),COLOR00CCFF;
STICKLINE(HZ,周CCI,300,0.2,0),COLOR00FFFF;
HZ2:=月CCI>REF(月CCI,1);
STICKLINE(HZ2,月CCI,300,0,0),COLOR0000FF;
STICKLINE(HZ2,月CCI,300,3,0),COLOR000099;
STICKLINE(HZ2,月CCI,300,2,0),COLOR0000BB;
STICKLINE(HZ2,月CCI,300,1,0),COLOR0000DD;
STICKLINE(HZ2,月CCI,300,0.3,0),COLOR0000FF; |
最佳答案
查看完整内容
{CCI上穿副图}
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
月CCI:="CCI.CCI#MONTH",COLORFF0080,LINETHICK2;
周CCI:="CCI.CCI#WEEK",COLOR0080FF,LINETHICK2;
CCI上穿:CROSS(周CCI,月CCI);
DRAWTEXT(CCI上穿,(CROSS(周CCI,月CCI))*0.44,'CCI上穿');
|