联系方式 Contact

云指标公式网

淘宝:zb-mart.taobao.com

电话:18020657357

微信:18020657357

Q Q:396950280

点击这里给我发消息

网址:www.yzhibiao.com

搜索 Search

用颜色区分大阳(阴)线、中阳(阴)线 计算阴阳线的实体幅度

2016-2-6 16:21:32点击:
{计算阴阳线的实体幅度}

FD:=(CLOSE-OPEN)/REF(CLOSE,1)*100;
STICKLINE(FD>3.33 AND FD<=6.66,CLOSE,OPEN,1,0),COLOR4080FF;
STICKLINE(FD>6.66,CLOSE,OPEN,1,0),COLOR0000FF;
STICKLINE(FD<-3.33 AND FD>=-6.66,CLOSE,OPEN,1,0),COLORFF8000;
STICKLINE(FD<-6.66,CLOSE,OPEN,1,0),COLOR008000;
DRAWICON(CLOSE=ZTPRICE(REF(CLOSE,1),0.1) AND OPEN!=CLOSE,CLOSE*1.02,10);
DRAWICON(CLOSE=DTPRICE(REF(CLOSE,1),0.1) AND OPEN!=CLOSE,CLOSE*0.98,10);