软件名称:[B]淘金MACD[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:5.00 KB
官方主页:Home Page
更新时间:2016-09-30 00:06:43
软件简介:
IF(PERIODNAME<>"日线")
{
统计:"该指标只在日线周期下有效。";
RETURN;
}
r1:=ZDMR[-1];
r2:=BDMR[-1];
r3:=-ZDMC[-1];
r4:=-BDMC[-1];
x1:=(ZDMR+BDMR);
y1:=-(ZDMC+BDMC);
a1=MA(x1,3);
b1=MA(y1,3);
DDX:=2*(a1+b1);
DDX1:=EMA(DDX,60)*60,COLOR00FFFF;
DDX2:=MA(DDX1,5),COLORFF00FF;
DDX3:=MA(DDX2,10),COLOR00FF00;
主力红买绿卖:DDX1>DDX2,nodraw,colorlimagenta;
RSV=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
k=SMA(RSV,3,1);
d=SMA(k,3,1);
J:(3*k-2*d),nodraw;
MD:=2*(K-D),nodraw;
DF : EMA(CLOSE,12) - EMA(CLOSE,26),colorwhite;
DA : EMA(DF,9),colorliblue;
MACD:2*(DF-DA),nodraw;
STICKLINE(MACD>0 AND ddx1>=ddx2 AND ddx2>=ddx3,0,MACD,8,0),colorred;
STICKLINE(MACD>0 AND ddx1>=ddx2 AND ddx2<ddx3,0,MACD,8,0),colorliblue;
STICKLINE(MACD>0 AND ddx1<ddx2,0,MACD,8,0),colorliblue;
STICKLINE(MACD<0 AND ddx1>=ddx2 AND ddx2>ddx3 ,0,MACD,8,0),colormagenta;
STICKLINE(MACD<0 AND ddx1>=ddx2 AND ddx2<ddx3 ,0,MACD,8,0),colorgreen;
STICKLINE(MACD<0 AND ddx1<ddx2 ,0,MACD,8,0),colorgreen;
STICKLINE(J<=0 AND MACD>0 ,0,-MACD,8,1),colorwhite;
STICKLINE(J<=0 AND MACD<0 ,0,-MACD,8,1),colorwhite;
STICKLINE(J>0 AND j<10 AND MACD>0 ,-MACD,0,8,0),colorwhite;
STICKLINE(J>0 AND j<10 AND MACD<0 ,-MACD,0,8,0),colorwhite;
DRAWICON(J>90 AND MACD>0,MACD,2);
DRAWICON(J>90 AND MACD<0,-MACD,2);
MACDkdj共振能量:=MACD>0 AND MACD>=REF(MACD,1) AND MD>=REF(MD,1);;
持续放量:=(VOL>=MA(VOL,5) AND VOL>=MA(VOL,135)) OR (MA(VOL,5)>MA(VOL,135));
k线形态:=C>O;
强势放量:持续放量 AND MACDkdj共振能量 AND C>O AND C>MA(C,20),nodraw,coloryellow;
STICKLINE(强势放量,0,MACD,4,0),coloryellow;
VAR1:=REF(LOW,1);//www.70822.com
VAR2:=SMA(ABS(LOW-VAR1),3,1)/SMA(MAX(LOW-VAR1,0),3,1)*100;
VAR3:=EMA(IF(CLOSE*1.2,VAR2*10,VAR2/10),3);
VAR4:=LLV(LOW,38);
VAR5:=HHV(VAR3,38);
VAR6:=IF(LLV(LOW,90),1,0);
VAR7:=EMA(IF(LOW<=VAR4,(VAR3+VAR5*2)/2,0),3)/618*VAR6;
VAR8:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;
VAR9:=SMA(VAR8,13,8);
主力吸货:VAR7,colorred,nodraw;
FILLRGN(DF,DA,主力吸货,colorred);
[url=http://www.70822.com/soft/sort013/sort036/down-103180.html]淘金MACD[/url]