软件名称:[B]自编量能指标[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:解密版
软件大小:3.00 KB
官方主页:Home Page
更新时间:2009-05-09 13:18:25
软件简介:
{自编量能指标}
INPUT:N1(5,1,256),N2(10,1,256),N3(20,1,256),N4(60,1,256),NJ(13,1,256),LIAN(2006,0,2050),YUE(1,0,12);
DRAWGBK(1>0,COLORRGB(0,0,0) ,COLORRGB(0,0,0),1);
SV1:=EMA(VOL,N1); SV2:=EMA(VOL,N2); SV3:=EMA(VOL,N3); SV4:=EMA(VOL,N4); SVJ:=EMA(VOL,NJ);
SVV1:=(SV1-SVJ)/SVJ; SVV2:=(SV2-SVJ)/SVJ; SVV3:=(SV3-SVJ)/SVJ; SVV4:=(SV4-SVJ)/SVJ; SVV5:=1-SVV1-SVV2-SVV3-SVV4;
VSD1:=SUM(SVV1,0); VSD2:=SUM(SVV2,0);
VSC1:=SUM(SVV3,0); VSC2:=SUM(SVV4,0); VSC3:=SUM(SVV5,0);
VSD:=VSD1+VSD2; VSC:=VSC1+VSC2;
ZD:=BARPOS=BARSLAST(YEAR=LIAN AND MONTH=YUE);
VD1_1:=(VSD-REF(VSD,1))/(VSD+0.000001)*10000; VD1_2:=IF(ZD,VD1_1,0); VD:=VD1_1-VD1_2;
VC1_1:=(VSC-REF(VSC,1))/(VSC+0.000001)*10000; VC1_2:=IF(ZD,VC1_1,0); VC:=VC1_1-VC1_2;
VCE:=VC-VD;
JZ_VCE:=SUM(VCE,0)/SUM(1,0); JZ_VD:=SUM(VD,0)/SUM(1,0); JZ_VC:=SUM(VC,0)/SUM(1,0);
EVCE:=VCE-JZ_VCE;
MVC:=MA(VC-JZ_VC,1)*3;
EV1:=SMA(MVC,2,1);EV2:=SMA(EV1,2,1);EV3:=WMA(EV2,3);
DBUY:=COUNT(VC>REF(VC,1),5)>0&&CROSS(EV3,EV1)&&VCE>REF(VCE,1)&&VC>0;
DSELL:=COUNT(VC<REF(VC,1),5)>0&&CROSS(EV1,EV2)&&VCE<REF(VCE,1)&&VC<0;
P:=SYSPARAM(1); W:=SYSPARAM(2); Q:=SYSPARAM(3); XV_1:=BARSLAST(BARPOS=W+20);
ZZ:=(Q-W)+1; HH:=HHV(VCE,ZZ); LL:=LLV(VCE,ZZ); ZHH:=HH[Q]; ZLL:=LL[Q];
STICKLINE(BARPOS=W,ZLL,ZHH,400,0),COLOR003300;
STICKLINE(EVCE>REF(EVCE,1)&&XV_1,0,EVCE,7,0),COLORFF;
STICKLINE(EVCE<REF(EVCE,1)&&XV_1,0,EVCE,7,0),COLORCYAN;
//DRAWTEXT(BARPOS=W,0,'----------------------------- '),PXUP90,ALIGN5,COLORYELLOW;
VERTLINE(DBUY&&XV_1),LINEDOT,COLORFF5BFF;
//VERTLINE(DSELL&&XV_1),LINEDOT,COLORWHITE;
PARTLINE(XV_1,EV1),COLORWHITE;
PARTLINE(XV_1,EV2),COLORYELLOW;
PARTLINE(XV_1,EV3),COLORMAGENTA;
原理很简单,不同时长资金的相对关系
[url=http://www.70822.com/soft/sort013/sort02/down-9069.html]自编量能指标[/url]