联系方式 Contact

云指标公式网

淘宝:zb-mart.taobao.com

电话:18020657357

微信:18020657357

Q Q:396950280

点击这里给我发消息

网址:www.yzhibiao.com

搜索 Search

无偿奉献:一目了然的K线颜色美化(可加在你自己的指标里)

2015-6-18 14:12:40点击:

免费体验:请加微信号:18020657357。

{空心化阴线}
STICKLINE(O>C,O,C,2,1),COLORCYAN;
{基本参数}
C2:=REF(C,1);
KL1:=(C-C2)*100/C2;
KL2:=(C2-C)*100/C2;
BF5:=5-0.01*100/C2;
BF10:=10-0.01*100/C2;
{涨停K线}
ZT:=IF(KL1>=BF10,1,0);
DRAW_ZTK:STICKLINE(ZT,O,C,2,0),COLORYELLOW;
DRAW_ZTL:STICKLINE(ZT,H,L,0,0),COLORYELLOW;
{跌停K线}
DT:=IF(KL2>=BF10,1,0);
DRAW_DTK:STICKLINE(DT,O,C,2,0),COLORGREEN;
DRAW_DTL:STICKLINE(DT,H,L,0,1),COLORGREEN;
{大涨K线}
DZ:=IF(KL1>=BF5 AND KL1<BF10,1,0);
DRAW_DZK:STICKLINE(DZ,O,C,2,0),COLORRED;
DRAW_DZL:STICKLINE(DZ,H,L,0,1),COLORRED;
{大跌K线}
DD:=IF(KL2>=BF5 AND KL1<BF10,1,0);
DRAW_DDK:STICKLINE(DD,O,C,2,0),COLORCYAN;
DRAW_DDL:STICKLINE(DD,H,L,0,1),COLORCYAN;