联系方式 Contact

云指标公式网

淘宝:zb-mart.taobao.com

电话:18020657357

微信:18020657357

Q Q:396950280

点击这里给我发消息

网址:www.yzhibiao.com

搜索 Search

博弈大师MACD背离指标加变色

2015-8-3 22:09:12点击:

DIFF:EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:EMA(DIFF,9),LINETHICK1,COLORFFFF00; {QDIF:IF(DEA,DIF,0),COLORRED,LINETHICK2;}
QDIF:DIFF,COLORRED,LINETHICK2; D:=BACKSET(DIFF<REF(DIFF,1),2);
{RDIF:IF(D ,DIF,0),COLOR33FF33,LINETHICK2;}
PARTLINE(D,DIFF),COLOR33FF33,LINETHICK2;
MACD:(DIFF-DEA)*2;
STICKLINE(MACD>=0 AND MACD>=REF(MACD,1),0,MACD,0,0),COLORRED;
STICKLINE(MACD>=0 AND MACD<=REF(MACD,1),0,MACD,0,0),COLORGREEN;
STICKLINE(MACD<=0 AND MACD>=REF(MACD,1),0,MACD,0,0),COLORFF00FF;
STICKLINE(MACD<=0 AND MACD<=REF(MACD,1),0,MACD,0,0),COLOR00FFFF;
多转空:=((((LLV(MACD,4)>0) AND (MACD<REF(MACD,1))) AND (REF(MACD,1)>REF(MACD,2))) AND (REF(MACD,2)>REF(MACD,3)));
空转多:=((((HHV(MACD,4)<0) AND (MACD>REF(MACD,1))) AND (REF(MACD,1)<REF(MACD,2))) AND (REF(MACD,2)<REF(MACD,3)));
DRAWICON(多转空,MACD*1.002,5);
DRAWICON(空转多,MACD*0.998,4);

{DRAWGBK(1,COLORRGB(0,0,30),COLORRGB(0,0,100),1);}

A1:=BARSLAST(REF(CROSS(DIFF,DEA),1)); 
B1:=REF(C,A1+1)>C AND REF(DIFF,A1+1)<DIFF AND CROSS(DIFF,DEA); 
DRAWTEXT(IF(B1>0,1,0),DEA,'底背离');
C1:=BARSLAST(REF(CROSS(DEA,DIFF),1)); 
D1:=REF(C,C1+1)<C AND REF(DIFF,C1+1)>DIFF AND CROSS(DEA,DIFF); 

DRAWTEXT(IF(D1>0,1,0),DEA,'顶背离');

云公式指标网旗下服装店盛大开业啦!!

淘宝店上线啦:http://shop117798813.taobao.com/

微商号:770085864(微信)

诚招代理,一件代发,售后无忧


主营时尚男女装、男女鞋、包包、配饰、台湾正品面膜!

云公式信誉保证,质量杠杠的!

所以产品图片皆为实拍图,我们有自己的摄影团队与模特!

你您看到的和拿到的绝对如一!

兼营 耐克 阿迪 NB 等运动鞋;阿玛尼 普拉达 等品牌包包皮带;

浪琴 劳力士 百达翡丽等手表;银饰 首饰 配饰 化妆品等各类产品!

微信扫描二维码即可关注 质优价美、天天更新