当前位置:分析家公式网 → 股票公式 → 同花顺公式 → 一键转帖:新DMI(同花顺公式 副图 源码 测试图)
软件名称:[B]新DMI(同花顺公式 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:8.00 KB
官方主页:Home Page
更新时间:2021-08-12 00:13:24
软件简介:
新DMI
STICKLINE(1,59,54,10,0),COLOR353535;
STICKLINE(1,75,76,12,0),colorred;
STICKLINE(1,30,32,12,0),colorlired;
STICKLINE(1,16,14,12,0),colorgreen;
LC:=REF(CLOSE,1);
RSI12:SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100,colorred,LINETHICK1;
RSI24:=SMA(MAX(CLOSE-LC,0),24,1)/SMA(ABS(CLOSE-LC),24,1)*100,coloryellow,LINEThick2;
RSI56:SMA(MAX(CLOSE-LC,0),56,1)/SMA(ABS(CLOSE-LC),56,1)*100,colormagenta,LINETHICK2;
DRAWBAND(RSI56,RGB(250,150,0),59,RGB(0,150,250));
MTR:=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/MTR,coloryellow;
MDI:=DMM*100/MTR,colormagenta;
ADX:MA(ABS(MDI-PDI)/(MDI+PDI)*100,6),colorwhite,Linethick2;
ADXR:(ADX+REF(ADX,6))/2,colorgreen,Linethick2;
ZF:=C/REF(C,1);
量比:VOL/MA(VOL,89);
RSI12差:=rSI12-REF(RSI12,1); RSI24差:=rsi24-REF(RSI24,1);RSI56差:=rsi56-REF(RSI56,1); adx差:=adx-REF(adx,1);adxr差:=adxr-REF(adxr,1);pdi差:=pdi-REF(pdi,1);
RSI差:=RSI12-rsi56;
伪放量:=V>=HHV(V,8) AND RSI56>53.50 AND ZF>1.05 AND pdi>ADx AND (C<H OR pdi>30) AND NOT(CROSS(pdi,ADx) AND (C<H OR pdi>30))AND NOT(CROSS(pdi,ADxr));
冲刺2:=BETWEEN(RSI56,56,64) AND RSI56>=HHV(RSI56,8) AND BETWEEN(ADx,35,60) AND adx<HHV(adx,16) AND HHV(ADx,16)>60 AND pdi>REF(pdi,1) AND RSI56差>4.4 AND zf>1.05 AND COUNT(zf>1.05,2)=1;
DRAWTEXT(冲刺2,82,'冲刺'),coloryellow;
DRAWTEXT((pdi<20 OR adx<20) AND MAX(ADX,PDI)<35 AND rsi56>53.5 AND ZF>1.05,MIN(ADx,pdi),'底'),colorgreen;
DRAWTEXT((pdi<16 OR adx<16) AND MAX(ADX,PDI)<28 AND rsi56>53.5 AND ZF>1.05,MIN(ADx,pdi),'底'),colorred;
DRAWICON((CROSS(pdi,29) OR CROSS(pdi,31)) AND 量比>2.2 AND (ADx>40 OR ADxr>40) AND zf>1.04,pdi,1),colorred;
大A:= COUNT(CROSS(ADx,25),35)=1 AND CROSS(25,ADx) AND HHV(ADx,15)>67 AND RSI56>50;
大A0:= COUNT(CROSS(ADx,15),35)=1 AND CROSS(15,aDx) AND HHV(ADx,15)>67 AND RSI56>50;
大A1:= COUNT(CROSS(ADx,18),35)=1 AND CROSS(18,aDx) AND HHV(ADx,15)>67 AND RSI56>50;
大A2:= COUNT(CROSS(ADx,20),35)=1 AND CROSS(20,ADx) AND HHV(ADx,15)>67 AND RSI56>50;
大A3:= COUNT(CROSS(ADx,21),35)=1 AND CROSS(21,ADx) AND HHV(ADx,15)>67 AND RSI56>50;
大A4:= COUNT(CROSS(ADx,23),35)=1 AND CROSS(23,ADx) AND HHV(ADx,15)>67 AND RSI56>50;
大A底:=大A OR 大A0 OR 大A1 OR 大A2 OR 大A3 OR 大A4;//分析家公式网
大A启:=COUNT(大A底,20) AND V>=HHV(V,15) AND pdi<32;
DRAWGBK(大A底,STRIP(RGB(255,255,255),RGB(255,255,255),2));
黑虎掏心:=pdi>ADx AND ADxr>pdi AND ADxr>38 AND pdi<45 AND zf>1.05 AND RSI56>53;
黑虎掏心2:=adxr>ADx AND ADxr>pdi AND ADxr>45 AND pdi<46 AND zf>1.05 AND V>=HHV(V,20) AND RSI56>53 AND ADxr-REF(ADxr,1)>-3;
黑虎掏心3:=adx>ADxr AND (ADxr>pdi OR CROSS(pdi,ADxr)) AND ADxr>35 AND pdi<46.5 AND zf>1.05 AND V>=HHV(V,20) AND RSI56>53 AND ADxr-REF(ADxr,1)>3;
DRAWICON(V>MA(V,89)*2.5 AND pdi<ADx AND zf>1.095 AND COUNT(zf>1.095,3)=1 AND Rsi56>54 AND pdi<47 AND V>=HHV(V,10) AND adx-REF(adx,1)>-4,pdi,6),colorred;
DRAWICON(黑虎掏心,pdi,16),colorred;
DRAWICON(黑虎掏心2,pdi,23),colorred;
DRAWICON(黑虎掏心3,pdi,17),colorred;
DRAWICON(大A启,pdi,9),colorred;
DRAWTEXT(大A启,pdi,'启'),coloryellow;
DRAWICON((黑虎掏心 AND V>=HHV(V,8)) OR 黑虎掏心2 OR 黑虎掏心3 OR 大A启,pdi,1),colorred;
DRAWTEXT(CROSS(adx,rsi56) AND RSI56>54 AND C/REF(C,1)>1.05,22,'叉adx'),colorcyan;
STICKLINE(伪放量,pdi,量比,6,0),colorgreen;
STICKLINE(量比<2.2,0,量比*2,8,1),colorwhite;
STICKLINE(量比>2.2,0,量比*2,8,1),colorcyan;
STICKLINE(量比>3.5,0,量比*2,8,1),coloryellow;
STICKLINE(量比>4.5,0,量比*2,8,1),colorred;
STICKLINE(量比>5.5,0,量比*2,8,1),colormagenta;
DRAWICON(量比>2.2 AND zf>1.095,-5,1);
STICKLINE(量比>2.2 AND pdi<32 AND RSI56>54,pdi,量比*2,2,1),colormagenta;
[url=http://www.70822.com/soft/sort013/sort036/down-157458.html]新DMI(同花顺公式 副图 源码 测试图)[/url]