软件名称:[B]沐阳MACD[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:11.0 KB
官方主页:Home Page
更新时间:2019-10-29 02:10:10
软件简介:
DIFF :EMA(CLOSE,12) - EMA(CLOSE,26);
DEA :EMA(DIFF,9),COLORFF00FF;
MACD :2*(diff-DEA);
0;//www.70822.com
STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,2,0),colorwhite;
STICKLINE(MACD<REF(MACD,1)AND MACD<0,0,MACD,2,0),colorgreen;
STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,2,0),COLORFF00FF;
STICKLINE(MACD>REF(MACD,1)AND MACD>0,0,MACD,2,0),colorred;
PARTLINE(DIFF,DIFF<REF(DIFF ,1), RGB(1,255,0),1,RGB(255,1,0)), linethick1;
PARTLINE(MACD,MACD<REF(MACD ,1), RGB(0,255,0),1,RGB(255,0,0)), linethick1;
PARTLINE(dea,dea<REF(dea ,1), RGB(0,255,0),1,RGB(255,0,1)), linethick2;
DIFFN: IF(DIFF>(REF(DIFF,1)+0.008),DIFF,DEA),LINETHICK1,colorblue;
DIF:EMA(CLOSE,4)-EMA(CLOSE,9);
DEA:EMA(DIF,9),LINETHICK1;
IF(DIF<2,DIF,0),colorred,LINETHICK1;
IF(DIF<0,2,DIF),colorred,LINETHICK1;
IF(DIF<DEA,DIF,DEA),COLOR00FF00,LINETHICK1;
IF(DIF>DEA,DEA,DEA),colorwhite,LINETHICK1;
金叉:=CROSS(DIF,DEA) AND DIF<0.382;
STICKLINE(金叉,1,-0.191,1,0),COLOR0000FF;
A1:=EMA(CLOSE,4)-EMA(CLOSE,9);
B1:=EMA((0.806*REF(A1,1)+0.236*A1),1);
做多:IF(A1>=B1,A1,B1),LINETHICK1,colorred;
做空:IF(B1-A1,B1,A1),LINETHICK1,colorgreen;
DRAWTEXT(REF(做多,1)>=REF(做空,1) AND 做多>做空,做空<做多,'●'),colorred;
DRAWTEXT(CROSS(做多,1)=CROSS(做空,1) AND 做多=做空,做空=做多,'☆'),colorgreen;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1),colorwhite;
D:=SMA(K,3,1),coloryellow;
J:=3*K-2*D,COLORFF00FF;
A:=250;
MM:=IF(MACD< 0,MACD,0);
JJ:=MM> REF(MM,1);
ZZ:=REF(JJ,1)=1;
准备:=(JJ AND ZZ)*DEA;
STICKLINE(准备=DEA,1,-1,2,1),COLORFFFF00;
JH:=HHV(MAX(K,MAX(D,J)),A);
DH:=HHV(MAX(DIFF,DEA),A);
SH:=INTPART(JH/DH)/2;
DIFF50:=SH*DIFF+50,COLORFFFF00;
DEA50:=SH*DEA+50,colorblue;
STICKLINE(DIFF50>DEA50,0,1.5*(DIFF50-DEA50),0,0),colorred;
STICKLINE(DIFF50<DEA50,0,1.5*(DIFF50-DEA50),0,0),COLORFFFF00;
红柱:IF(1.5*(DIFF50-DEA50)>REF(1.5*(DIFF50-DEA50),1),1.5*(DIFF50-DEA50),0),STICK,colorlicyan;
绿柱:IF(1.5*(DIFF50-DEA50)<REF(1.5*(DIFF50-DEA50),1),1.5*(DIFF50-DEA50),0),STICK,colorgreen;
G:红柱+绿柱,LINETHICK2,,colorgreen;
G1:红柱-绿柱,LINETHICK2,colorred;
DIF:EMA(CLOSE,4)-EMA(CLOSE,9);
DEA:EMA(DIF,9),LINETHICK1;
PEA:EMA(DIF,5),LINETHICK1;
xEA:EMA(DIF,2),LINETHICK1,colorred;
GEA:EMA(DIF,3),LINETHICK1,colorblue;
DRAWTEXT(REF(DIF,0)>=REF(XEA,0) AND DIF>XEA,DIF>XEA,'▂'),colorred;
DRAWTEXT(REF(DIF,0)<=REF(XEA,0) AND DIF<XEA,DIF<XEA,'▂'),colorgreen;
DRAWTEXT(REF(G,0)>=REF(G1,0) AND G=G1,G=G1,'▌'),coloryellow;
DRAWTEXT(REF(做多,1)>=REF(做空,1) AND 做多>做空,做空<做多,'●'),colorred;
DRAWTEXT(CROSS(做多,1)=CROSS(做空,1) AND 做多=做空,做空=做多,'☆'),colorgreen;
DIFF1 : EMA(CLOSE,12) - EMA(CLOSE,26),LINETHICK2,colorred;
DEA1 : EMA(DIFF1,9),LINETHICK2,colorgreen;//www.70822.com
DIFFN1: IF(DIFF1>(REF(DIFF1,1)+0.008),DIFF1,DEA1),LINETHICK2,colorblue;
DRAWTEXT(CROSS(DIFFN1,1)=CROSS(DIFF1,1) AND DIFFN1=DIFF1,DIFFN1=DIFF1,'▎'),colorblue;
DRAWTEXT(CROSS(DIFFN1,1)=CROSS(DEA1,1) AND DIFFN1=DEA1,DIFFN1=DEA1,'▏'),colorgreen;
DIFF : EMA(CLOSE,12) - EMA(CLOSE,26),colorred;
DEA : EMA(DIFF,9),colorgreen;
MACD : 2*(DIFF-DEA), COLORSTICK;
DIFFN: IF(DIFF>(REF(DIFF,1)+0.008),DIFF,DEA),colorblue;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1),colorwhite;
D:=SMA(K,3,1),coloryellow;
J:=3*K-2*D,COLORFF00FF;
A:=250;//www.70822.com
DIFF:=(EMA(CLOSE,12) - EMA(CLOSE,26));
DEA:=EMA(DIFF,9),colorblue,LINETHICK0;
MACD:=2*(DIFF-DEA);
MM:=IF(MACD< 0,MACD,0);
JJ:=MM> REF(MM,1);
ZZ:=REF(JJ,1)=1;
准备:=(JJ AND ZZ)*DEA;
STICKLINE(准备=DEA,1,-1,2,1),COLORFFFF00;
//部分源码省略 请导入公式
//www.70822.com
[url=http://www.70822.com/soft/sort013/sort036/down-142166.html]沐阳MACD[/url]