软件名称:[B]千钧 【分时MACD】[/B]
软件类型:国产软件
运行环境:Win9X/2000/XP/2003/
软件语言:简体中文
授权方式:解密版
软件大小:2.00 KB
官方主页:Home Page
更新时间:2008-11-30 14:28:09
软件简介:
【分时MACD】
rc:=DYNAINFO(3);q:=datacount;hh:=DYNAINFO(5);LL:=DYNAINFO(6);
f:=max(hh-rc,rc-LL);ff:=f/rc*100;q2h:=if(ff<1,0.9797*rc,rc-2*f*1.016);
q2l:=if(ff<1,0.9697*rc,rc-3*f*1.011);FILLRGN(1,q2h,q2l),colorblack;
cz:=(q2h-q2l)/6;q2l,POINTDOT,,COLORWHITE;q2l+cz,POINTDOT,color0000cc;
q2l+2*cz,POINTDOT,color0000cc;q2l+3*cz,POINTDOT,color0000cc;
q2l+4*cz,POINTDOT,color0000cc;q2l+5*cz,POINTDOT,color0000cc;
a1:="macd.diff";a2:="macd.dea";a3:="macd.macd";
a4:="rsi.rsi1";a5:="rsi.rsi2";
mh:=hhv(max(a1,a3),0);mL:=LLv(min(a3,a1),0);
ch:=hhv(max(a4,a5),0);cL:=LLv(min(a5,a4),0);
mc:=(q2h-q2l)/(cH[q]-cL[q]);
mg:=(q2h+q2l-mc*(cH[q]+cL[q]))/2;
mb:=(q2h-q2l)/(mH[q]-mL[q]);
my:=(q2h+q2l-mb*(mH[q]+mL[q]))/2;
diff:a1*mb+my,COLORWHITE;dea:a2*mb+my,COLORYELLOW;macd:=a3*mb+my;
STICKLINE(macd>my,my,macd,1,1),COLORRED;
STICKLINE(macd<my,my,macd,1,1),COLOR00FF00;
obv:a4*mc+mg,COLORFFEE00;
k1:=hhv(h,0);k2:=llv(l,0);k3:=barslast(OPENMINUTES(TIME)<=240);
t1:=barslast(OPENMINUTES(TIME)<=60);
DRAWSL(OPENMINUTES(TIME)>=60,ref(k1,t1),0,k3,2),LINEDOT;
DRAWSL(OPENMINUTES(TIME)>=60,ref(k2,t1),0,k3,2),LINEDOT;
DRAWICON(OPENMINUTES(TIME)>60 and cross(c,ref(k1,t1)+0.001),ref(k1,t1),1);
PK:=VOL*(OPEN+CLOSE+HIGH+LOW)/4;PK1:=IF(VOL>0,PK/VOL,(OPEN+CLOSE+HIGH+LOW)/4);
C11:=PK1;A01:=(C11-LLV(C11,75))/(HHV(C11,75)-LLV(C11,75));
A11:=SMA(A01,13,1);A21:=SMA(A11,13,1);A31:=3*A11-2*A21;A41:=2*A31-0.5;
ZS:=DYNAINFO(3)*0.95;选a:=C11*(1-(A41-A21)/40);
选b:=CROSS(C11,选a) AND CLOSE/REF(CLOSE,1)<1.03;
选:IF(选b,ZS*1.03,ZS),colorFF00;
[url=http://www.70822.com/soft/sort013/sort02/down-4727.html]千钧 【分时MACD】[/url]