无偿奉献:一目了然的K线颜色美化(可加在你自己的指标里)
免费体验:请加微信号: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;
- 上一篇:强势波段抓牛股 一统股市 2015/6/18
- 下一篇:通达信《风险警戒》指标公式 2015/6/18