软件名称:[B]DMI巧用 - 有用法说明[/B]
软件类型:国产软件
运行环境:Win9X/2000/XP/2003/
软件语言:简体中文
授权方式:解密版
软件大小:2.00 KB
官方主页:Home Page
更新时间:2009-02-11 09:01:52
软件简介:
{DMI巧用}
TTRR := SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),14);
HD := HIGH-REF(HIGH,1);
LD := REF(LOW,1)-LOW;
DMP:= SUM(IF(HD>0 AND HD>LD,HD,0),14);
DMM:= SUM(IF(LD>0 AND LD>HD,LD,0),14);
PDI: DMP*100/TTRR;
MDI: DMM*100/TTRR;
ADX: MA(ABS(MDI-PDI)/(MDI+PDI)*100,6);
ADXR:(ADX+REF(ADX,6))/2;
预警: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) ,20,0),colorred,linethick2;
买2:if(cross(PDI,MDI) and count(预警,10)>=1,10,0),colorff00ff,
linethick3;
{jdxh见顶信号}
均线07:=h/MA(h,5)*(1+5/100);
if(均线07>=1.15,100,0),stick,linethick5,colorred;
{CD抄底xg}
MA3:=EMA(C,3);
LC1 := REF(CLOSE,1);
RSI4a:=SMA(MAX(CLOSE-LC1,0),4,1)/SMA(ABS(CLOSE-LC1),4,1)*100,linethick1,
COLORff99ff;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,500))/(0.015*AVEDEV(TYP,500));
RSV:=(CLOSE-LLV(LOW,500))/(HHV(HIGH,500)-LLV(LOW,500))*100;
MTM:=CLOSE-REF(CLOSE,500);
VV:=(CCI<-100) AND (RSV<20) AND (MTM<0) AND (RSI4a<15);
抄底xg:if(VV,50,0),stick,linethick5,colorgreen;
长rsva:=(CLOSE-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89))*100;
长k89a:=SMA(长rsva,3,1),colorwhite,linethick2;
长d89a:=SMA(长k89a,3,1),colorff9900,linethick3;
中rsv27a:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
中k27a:=SMA(中rsv27a,3,1),color00ffff,linethick3;
xg:if(长d89a<10 and 中k27a<20,100,0),stick,linethick1,colorffffff;
xg2:if(cross(长d89a,50) and 中k27a>ref(中k27a,1) and 中k27a>70,100,0),
stick,linethick5,color00ff00;
{由原码可知,公式规定,买入条件为:PDI金叉MDI,并且股价在当天或上一日涨幅超过5%.PDI金叉MDI标明有增量资金入场,而涨幅大于5%,则标明主力拉升股价的决心和实力.两个因素相加,短线暴涨也就可以期待了!
短线涨幅的大小还取决于PDI向上攻击的力度,即其上升角度的大小.如果PDI在短时间内(越短越好)由低位一举上穿MDI,ADX,ADXR到达最高值,应毫不犹豫地果断追涨买进,因为一轮短线暴涨行情就此开始了!
最后,需要说明的是,买入后如果股价未能如愿上涨,则应在跌破止损价后果断止
损,而不应对其再抱幻想,毕竟资金的安全是第一位的. }
{另见顶信号,抄底信号挺有用,有备无患!}
[url=http://www.70822.com/soft/sort013/sort02/down-6288.html]DMI巧用 - 有用法说明[/url]