软件名称:[B]集合多项副图 (KDJ MTM ARBR 个股力度 主力异动)源码 附图[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:2.00 KB
官方主页:Home Page
更新时间:2011-03-12 08:38:29
软件简介:
多项指标集合,尽量纠正KDJ指标失灵
源码:
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*10;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
DRAWICON( J<0 AND K<3.5 ,J,4);
MTM :=(CLOSE-REF(CLOSE,6))*10;
MTMMA := MA(MTM,6);
DTM:=IF(O<=REF(O,1),0,MAX((H-O),(O-REF(O,1))));
DBM:=IF(O>=REF(O,1),0,MAX((O-L),(O-REF(O,1))));
STM:=SUM(DTM,23);
SBM:=SUM(DBM,23);
ADTM:=IF(STM>SBM,(STM-SBM)/STM,IF(STM=SBM,0,(STM-SBM)/SBM))*10;
MA1:=MA(ADTM,8);
换手:=VOL*100/CAPITAL;
主力:=MA(换手,4);
大户:=MA(换手,9);
中户:=MA(换手,17);
散户:=MA(换手,34);
均量:=(主力+大户+中户+散户)/4;
主力能量:=(主力-均量),COLORRED;
大户能量:=(大户-均量),COLORYELLOW;
中户能量:=(中户-均量),COLORMAGENTA;
散户能量:=(散户-均量),COLORGREEN;
md1:=CROSS(主力能量,大户能量);
md2:=CROSS(主力能量,中户能量);
md3:=CROSS(主力能量,散户能量);
主力异动:CROSS(主力能量,0) AND MD1 AND MD2 AND MD3;
DRAWTEXT(主力异动,15,'异动');
QS1:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
QS2:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
QS3:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
力度:(QS1 + QS2 + QS3)/3;
AR:=SUM(HIGH-OPEN,26)/SUM(OPEN-LOW,26)*10;
BR:=SUM(MAX(0,HIGH-REF(CLOSE,1)),26)/SUM(MAX(0,REF(CLOSE,1)-LOW),26)*10;
XAR:=MA(AR,2)<=MA(AR,1);
DRAWTEXT(力度<-5 and CROSS (J,0) AND AR>BR and adtm<0 ,-5,'考虑买入'),COLORRED;
集KDJ、MTM、ARBR:力度<-5 and CROSS (J,0) AND AR>BR and adtm<0 ;
VERTLINE(力度<-5 and CROSS (J,0) AND AR>BR and adtm<0 ),LINETHICK3,COLORRED;
UploadPic/2011-3/201131122363485897.jpg
UploadPic/2011-3/201131122371323573.jpg
[url=http://www.70822.com/soft/sort013/sort02/down-31493.html]集合多项副图 (KDJ MTM ARBR 个股力度 主力异动)源码 附图[/url]