软件名称:[B]DMI的正确用法[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:2.00 KB
官方主页:Home Page
更新时间:2015-11-18 01:22:50
软件简介:
MTR:=EXPMEMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),14);
HD :=HIGH-REF(HIGH,1);
LD :=REF(LOW,1)-LOW;
DMP:=EXPMEMA(IF(HD>0&&HD>LD,HD,0),14);
DMM:=EXPMEMA(IF(LD>0&&LD>HD,LD,0),14);
PDI:=DMP*100/MTR;
MDI:=DMM*100/MTR;
ADX:EXPMEMA(ABS(MDI-PDI)/(MDI+PDI)*100,6);
ADXR:EXPMEMA(ADX,6);
DRAWTEXT_FIX(1,0.5,0.01,1,'当连续上涨到高位时,ADX下穿ADXR或下穿60时卖出;'),COLORGREEN;
DRAWTEXT_FIX(1,0.5,0.11,1,'当连续下跌到低位时,ADX下穿60时买入;'),COLORYELLOW;
DRAWTEXT_FIX(1,0.5,0.21,1,'当在低位盘整一段时间后,ADX上穿20时启动;'),COLORMAGENTA;
[url=http://www.70822.com/soft/sort013/sort05/down-91181.html]DMI的正确用法[/url]