当前位置:分析家公式网 → 股票公式 → 同花顺公式 → 一键转帖:DMI优化(同花顺副图源码)
软件名称:[B]DMI优化(同花顺副图源码)[/B]
软件类型:国产软件
运行环境:Win2000/WinXP/Win2003/WinVista
软件语言:简体中文
授权方式:共享软件
软件大小:3.00 KB
官方主页:Home Page
更新时间:2010-06-14 07:25:28
软件简介:
DMI优化
TR:=EMA(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:=EMA(IF(HD>0 OR HD>LD,HD,0),14);
DMM:=EMA(IF(LD>0 OR LD>HD,LD,0),14);
PDI: DMP*100/TR,colorwhite;
MDI: DMM*100/TR,coloryellow;
趋势线:MA(EMA(PDI,2),10),colorred,LINETHICK2;
STICKLINE(PDI>趋势线,趋势线,PDI,0.05,0),colormagenta;
STICKLINE(PDI>MDI,PDI,趋势线,0.1,0),colorred;
STICKLINE(PDI>MDI,MDI,趋势线,0.1,0),COLORLIRED;
STICKLINE(PDI<趋势线,趋势线,PDI,0.05,0),COLORFF8000;
STICKLINE(PDI<MDI,PDI,MDI,0.1,0),colorblue;
ADX: EMA(ABS(MDI-PDI)/(MDI+PDI)*100,6),colorgreen;
ADXR:EMA(ADX,6),colormagenta;
[url=http://www.70822.com/soft/sort013/sort036/down-21439.html]DMI优化(同花顺副图源码)[/url]