大智慧DDE多头排列指标公式

JUJ:=(HIGH+LOW+CLOSE)/3;

QUJ0:=vol/IF(HIGH=LOW,4,HIGH-LOW);

QUJ1:=IF(CAPITAL=0,QUJ0*(JUJ-MIN(CLOSE,OPEN)),QUJ0*IF(HIGH=LOW,1,(MIN(OPEN,CLOSE)-LOW)));

QUJ2:=IF(CAPITAL=0,QUJ0*(MIN(OPEN,CLOSE)-LOW),QUJ0*IF(HIGH=LOW,1,(JUJ-MIN(CLOSE,OPEN))));

QUJ3:=IF(CAPITAL=0,QUJ0*(HIGH-MAX(OPEN,CLOSE)),QUJ0*IF(HIGH=LOW,1,(HIGH-MAX(OPEN,CLOSE))));

QUJ4:=IF(CAPITAL=0,QUJ0*(MAX(CLOSE,OPEN)-JUJ),QUJ0*IF(HIGH=LOW,1,(MAX(CLOSE,OPEN)-JUJ)));

QUJ5:=QUJ1+QUJ2;

QUJ6:=QUJ3+QUJ4;

DD:=(QUJ5-QUJ6)/(QUJ5+QUJ6)*100;

DDZ:=DD*17;

ddx:=((QUJ1+QUJ2)-(QUJ3+QUJ4))/IF(CAPITAL=0,1000000,10000);

DX:=MA(DDX,5)*20;

DDX1:=SMA(DX,3,1);

DDX2:=SMA(DDX1,3,1);

DDX3:=EMA(DDX2,5);

DDY:=((QUJ2+QUJ4)-(QUJ1+QUJ3))/IF(CAPITAL=0,1000000,10000);

DY:=MA(DDY,5)*22;

DDY1:=SMA(DY,3,1);

DDY2:=SMA(DDY1,3,1);

DDY3:=EMA(DDY2,5);

CC:=Abs(REF(CLOSE,1)-CLOSE)/CLOSE*100;

JJ:=CC>0 AND CC<3;

AA:=DDX1>DDX2 AND DDX2>DDX3 AND DDX1>DDX3;

BB:=DDY1>DDY2 AND DDY2>DDY3 AND DDY1>DDY3;

HH:=AA>0 AND BB>0 AND DDZ>300 AND JJ>0;

HH>0,colorred;