偏差量KD_日周
-
相关简介:C/C++ www.zegu.cn 择股网提供 Code 复制内容到剪贴板 50,COLORFFBB00; 重心:=(2*CLOSE+HIGH+LOW)/4; BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4; 偏差量:=重心-BBI; RSV:=(偏差量-LLV(偏差量,5))/(HHV(偏差量,5)-LLV(偏差量,5))*100; K:SMA(RSV,2,1); D:SMA(K,2,1);
-
文章来源:择股网作者:股海网发布时间:2010-01-11浏览次数:
C/C++ www.zegu.cn 择股网提供 Code复制内容到剪贴板
- 50,COLORFFBB00;
- 重心:=(2*CLOSE+HIGH+LOW)/4;
- BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
- 偏差量:=重心-BBI;
- RSV:=(偏差量-LLV(偏差量,5))/(HHV(偏差量,5)-LLV(偏差量,5))*100;
- K:SMA(RSV,2,1);
- D:SMA(K,2,1);
- ZK:MA("偏差量KD.K#WEEK",5);
- ZD:MA("偏差量KD.D#WEEK",5);
- PARTLINE(ZD>REF(ZD,1),ZD),COLORGREEN,LINETHICK2;PARTLINE(ZD<REF(ZD,1),ZD),Color0088FF,LINETHICK1;
- 叉点:cross(K,ZK) and c<10;
- {}
- Z上拐:ZK>REF(ZK,1),COLORGREEN,LINETHICK0;
- Z下拐:ZK<REF(ZK,1),COLORRED,LINETHICK0;
- Z金叉:CROSS(ZK,ZD),COLORCYAN,LINETHICK0;
- Z死叉:CROSS(ZD,ZK),COLORYELLOW,LINETHICK0;
- STICKLINE(Z上拐,0,8,10,1),COLORGREEN;
- STICKLINE(Z下拐,100,92,10,1),COLORRED;
- STICKLINE(Z金叉,0,15,6,0),COLORMAGENTA;
- STICKLINE(Z死叉,100,85,4,0),COLORYELLOW;