软件名称:[B]DMI-XCH(DMI优化指标 副图 源码)[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:2.00 KB
官方主页:Home Page
更新时间:2010-10-21 07:45:56
软件简介:
参数N=14
TRx:=SMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),N,1);
HD:=HIGH-REF(HIGH,1);
LD:=REF(LOW,1)-LOW;
DMP:=SMA(IF(HD>0 AND HD>LD,HD,0),N,1);
DMM:=SMA(IF(LD>0 AND LD>HD,LD,0),N,1);
PDI:DMP*100/TRx,COLORRED;
MDI:DMM*100/TRx,COLORGREEN;
ADX:SMA(ABS(MDI-PDI)/(MDI+PDI)*100,N,1),COLORYELLOW;
DRAWICON(CROSS(PDI,MDI),pdi,4);
DRAWICON(CROSS(PDI,adx),pdi,1);
DRAWICON(CROSS(PDI,15),pdi,4);
DRAWICON(CROSS(mdi,PDI),pdi,5);
DRAWICON(CROSS(40,mdi),mdi,1);
DRAWICON(CROSS(adx,MDI)and mdi>30 and adx>30,mdi,1);
预警:if(ADX>90 and PDI=0,30,0),coloryellow,linethick2;
买:if(cross(PDI,MDI)and(C >1.05*ref(C,1) or ref(C,1)>1.05*ref(C,2)) and (V>2*ref(V,1) or ref(V,1)>2*ref(V,2))and ma(V,5)>ma(V,60) ,10,0),colorred,linethick2;
买2:if(cross(PDI,MDI)and count(预警,10)>=1,10,0),colorff00ff,linethick2;
VAR26:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
VAR27:=REVERSE(VAR26);
VAR28:=SMA(VAR26,3,1);
波段王:= SMA(VAR28,3,1),COLORFF00FF,LINETHICK2;
波段鬼:= SMA(波段王,3,1),COLORYELLOW,LINETHICK2;
低吸:IF(CROSS(波段王,波段鬼) AND 波段王<40,5,0),COLORRED ,LINETHICK2 ;
高卖:IF(CROSS(波段鬼,波段王) AND 波段鬼>75,35,40),COLORGREEN ,LINETHICK2 ;
15LINEDOT;
30LINEDOT;
[url=http://www.70822.com/soft/sort013/sort02/down-26246.html]DMI-XCH(DMI优化指标 副图 源码)[/url]