大智慧2017新年礼物--4周期macd副图源码 贴图
指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:0 Bytes
更新时间:2017-01-01 23:03:00
公式简介:
{MACD 60分}
分DIFB:="MACD.DIFF#MIN60"(22,10,7.5);
分DEAB:="MACD.DEA#MIN60"(22,10,7.5);
0,COLORFFFF00,LINETHICK1;
MACC分B :2*(分DIFB-分DEAB),LINETHICK0;
FILLRGN(分DIFB,分DEAB,分DIFB>分DEAB,RGB(242,4,120),分DIFB<分DEAB,RGB(64,129,129));
STICKLINE(MACC分B>0,0,MACC分B,2,0),COLOR330066;
STICKLINE(MACC分B<0,0,MACC分B,2,0),Color00CC00;
PARTLINE(分DIFB,CROSS(分DIFB,分DEAB) AND 分DIFB<0,RGB(2,224,12)),CROSSDOT,LINETHICK3;
PARTLINE(分DIFB,CROSS(分DIFB,分DEAB) AND 分DIFB>0,RGB(255,22,222)),CROSSDOT,LINETHICK3;
PARTLINE(分DIFB,CROSS(分DEAB,分DIFB),RGB(255,245,12)),CIRCLEDOT,LINETHICK3;
DRAWFLAGTEXT(CROSS(分DIFB,分DEAB) AND 分DIFB<0,分DIFB,'MACD<0金叉');
DRAWFLAGTEXT(CROSS(分DIFB,分DEAB) AND 分DIFB>0,分DIFB,'MACD>0金叉');
DRAWFLAGTEXT(CROSS(分DEAB,分DIFB),分DIFB,'死叉');
DG:=HHVALL(分DIFB);
DD:=LLVALL(分DIFB);
DRAWTEXT(FILTER( DG=分DIFB ,DG) ,分DIFB*1.2,' DIFF高值:'+DG+'→'),LAYER0,ALIGN2 ,color00ffff;
DRAWTEXT(FILTER( DD=分DIFB ,DD) ,分DIFB*0.9,'← '+DD+':DIFF低值'),LAYER0 ,color00ff00;
VERTLINE(DG=分DIFB,2 ),LAYER7,color001199;
VERTLINE(DD=分DIFB,2 ),LAYER7,color005500;
{MACD 30分}
分DIFB:="MACD.DIFF#MIN30"(22,10,7.5);
分DEAB:="MACD.DEA#MIN30"(22,10,7.5);
0,COLORFFFF00,LINETHICK1;
MACC分B :2*(分DIFB-分DEAB),LINETHICK0;
FILLRGN(分DIFB,分DEAB,分DIFB>分DEAB,RGB(242,4,120),分DIFB<分DEAB,RGB(64,129,129));
STICKLINE(MACC分B>0,0,MACC分B,2,0),COLOR330066;
STICKLINE(MACC分B<0,0,MACC分B,2,0),Color00CC00;
PARTLINE(分DIFB,CROSS(分DIFB,分DEAB) AND 分DIFB<0,RGB(2,224,12)),CROSSDOT,LINETHICK3;
PARTLINE(分DIFB,CROSS(分DIFB,分DEAB) AND 分DIFB>0,RGB(255,22,222)),CROSSDOT,LINETHICK3;
PARTLINE(分DIFB,CROSS(分DEAB,分DIFB),RGB(255,245,12)),CIRCLEDOT,LINETHICK3;
DRAWFLAGTEXT(CROSS(分DIFB,分DEAB) AND 分DIFB<0,分DIFB,'MACD<0金叉');
DRAWFLAGTEXT(CROSS(分DIFB,分DEAB) AND 分DIFB>0,分DIFB,'MACD>0金叉');
DRAWFLAGTEXT(CROSS(分DEAB,分DIFB),分DIFB,'死叉');
DG:=HHVALL(分DIFB);
DD:=LLVALL(分DIFB);
DRAWTEXT(FILTER( DG=分DIFB ,DG) ,分DIFB*1.2,' DIFF高值:'+DG+'→'),LAYER0,ALIGN2 ,color00ffff;
DRAWTEXT(FILTER( DD=分DIFB ,DD) ,分DIFB*0.9,'← '+NUMTOSTRN(DD,3)+':DIFF低值'),LAYER0 ,color00ff00;
VERTLINE(DG=分DIFB,2 ),LAYER7,color001199;
VERTLINE(DD=分DIFB,2 ),LAYER7,color005500;
{MACD 5分}
分DIFB:="MACD.DIFF#MIN5"(22,10,7.5);
分DEAB:="MACD.DEA#MIN5"(22,10,7.5);
0,COLORFFFF00,LINETHICK1;
MACC分B :2*(分DIFB-分DEAB),LINETHICK0;
FILLRGN(分DIFB,分DEAB,分DIFB>分DEAB,RGB(242,4,120),分DIFB<分DEAB,RGB(64,129,129));
STICKLINE(MACC分B>0,0,MACC分B,2,0),COLOR330066;
STICKLINE(MACC分B<0,0,MACC分B,2,0),Color00CC00;
PARTLINE(分DIFB,CROSS(分DIFB,分DEAB) AND 分DIFB<0,RGB(2,224,12)),CROSSDOT,LINETHICK3;
PARTLINE(分DIFB,CROSS(分DIFB,分DEAB) AND 分DIFB>0,RGB(255,22,222)),CROSSDOT,LINETHICK3;
PARTLINE(分DIFB,CROSS(分DEAB,分DIFB),RGB(255,245,12)),CIRCLEDOT,LINETHICK3;
DRAWFLAGTEXT(CROSS(分DIFB,分DEAB) AND 分DIFB<0,分DIFB,'MACD<0金叉');
DRAWFLAGTEXT(CROSS(分DIFB,分DEAB) AND 分DIFB>0,分DIFB,'MACD>0金叉');
DRAWFLAGTEXT(CROSS(分DEAB,分DIFB),分DIFB,'死叉');
DG:=HHVALL(分DIFB);
DD:=LLVALL(分DIFB);
DRAWTEXT(FILTER( DG=分DIFB ,DG) ,分DIFB*1.2,' DIFF高值:'+NUMTOSTRN(DG,3)+'→'),LAYER0,ALIGN2 ,color00ffff;
DRAWTEXT(FILTER( DD=分DIFB ,DD) ,分DIFB*0.9,'← '+NUMTOSTRN(DD,3)+':DIFF低值'),LAYER0 ,color00ff00;
VERTLINE(DG=分DIFB,2 ),LAYER7,color001199;
VERTLINE(DD=分DIFB,2 ),LAYER7,color005500;
{MACD 15分}
分DIFB:="MACD.DIFF#MIN15"(22,10,7.5);
分DEAB:="MACD.DEA#MIN15"(22,10,7.5);
0,COLORFFFF00,LINETHICK1;
MACC分B :2*(分DIFB-分DEAB),LINETHICK0;
FILLRGN(分DIFB,分DEAB,分DIFB>分DEAB,RGB(242,4,120),分DIFB<分DEAB,RGB(64,129,129));
STICKLINE(MACC分B>0,0,MACC分B,2,0),COLOR330066;
STICKLINE(MACC分B<0,0,MACC分B,2,0),Color00CC00;
PARTLINE(分DIFB,CROSS(分DIFB,分DEAB) AND 分DIFB<0,RGB(2,224,12)),CROSSDOT,LINETHICK3;
PARTLINE(分DIFB,CROSS(分DIFB,分DEAB) AND 分DIFB>0,RGB(255,22,222)),CROSSDOT,LINETHICK3;
PARTLINE(分DIFB,CROSS(分DEAB,分DIFB),RGB(255,245,12)),CIRCLEDOT,LINETHICK3;
DRAWFLAGTEXT(CROSS(分DIFB,分DEAB) AND 分DIFB<0,分DIFB,'MACD<0金叉');
DRAWFLAGTEXT(CROSS(分DIFB,分DEAB) AND 分DIFB>0,分DIFB,'MACD>0金叉');
DRAWFLAGTEXT(CROSS(分DEAB,分DIFB),分DIFB,'死叉');
DG:=HHVALL(分DIFB);
DD:=LLVALL(分DIFB);
DRAWTEXT(FILTER( DG=分DIFB ,DG) ,分DIFB*1.2,' DIFF高值:'+DG+'→'),LAYER0,ALIGN2 ,color00ffff;
DRAWTEXT(FILTER( DD=分DIFB ,DD) ,分DIFB*0.9,'← '+NUMTOSTRN(DD,3)+':DIFF低值'),LAYER0 ,color00ff00;
VERTLINE(DG=分DIFB,2 ),LAYER7,color001199;
VERTLINE(DD=分DIFB,2 ),LAYER7,color005500;
[url=http://www.goodgupiao.com/gupiaogongshi/43855.html][B]大智慧2017新年礼物--4周期macd副图源码 贴图[/B][/url]