联系方式 Contact

云指标公式网

淘宝:iyungs.taobao.com

电话:18020657357

微信:396950280

Q Q:332879389

点击这里给我发消息

网址:www.yzhibiao.com

搜索 Search

MACD_2(九转)

2016-8-10 21:11:15点击:
DIFF : EMA(CLOSE,SHORT) - EMA(CLOSE,LONG);
DEA  : EMA(DIFF,M);
MACD : 2*(DIFF-DEA);
Zero : 0;
幅度:=INTPART((C-REF(C,1))/REF(C,1)*100);
//以下大涨大跌 www.88gs.com
大涨:=(C-REF(C,1))/REF(C,1)*100<9.97 AND (C-REF(C,1))/REF(C,1)*100>=5 ;
DRAWTEXT(大涨, diff*1.8,幅度),colorlired;
大跌:=(C-REF(C,1))/REF(C,1)*100>-9.97 AND (C-REF(C,1))/REF(C,1)*100<=-5 ;
DRAWTEXT(大跌, diff*1.4,幅度),colorcyan;//不能用-幅度,会挤压到一起
//以下为涨跌停;
涨停:=(C-REF(C,1))/REF(C,1)*100>=9.97;
跌停:=(C-REF(C,1))/REF(C,1)*100<=-9.97;
DRAWTEXT(涨停, diff*1.8,'停'),colorlired;
DRAWTEXT(跌停, diff*1.8,'停'),colorcyan;