以下是真正的dde指标源码和截图
真正的分时dde指标源码:
DDY系数:IF("DDY.DDY",(ORDER(2)-ORDER(1))/"DDY.DDY",0);
N:=5;
CH:=DYNAINFO(5);
CL:=DYNAINFO(6);
CO:=REF(C,N);
QJJ:=V/((CH-CL)*2-ABS(C-CO));
HSL:=IF(C!=CO,QJJ*(C-CO),0)/100;
LNGJ:=DMA(HSL,0.5);
LLJX:=EMA(LNGJ,3);
B:0,POINTDOT,COLORWHITE;
B1:SUM(LLJX,1),COLORCYAN;
B2:SUM(LLJX,2),COLORCYAN;
B3:SUM(LLJX,3),COLORCYAN;
B4:SUM(LLJX,4),COLORCYAN;
B5:SUM(LLJX,5),COLORCYAN;
H_L:=HHV(B5,240)-LLV(B5,240);
BL:=B1*1;
TJ1:=ABS(B2-B1) =BLANDABS(B3-B1) =BLANDABS(B4-B1)
TJ2:=ABS(B5-B1)
TJ4:=B1 1.05*REF(B1,1)ANDB3 1.05*REF(B3,1)ANDB5 1.05*REF(B5,1);
:=FILTER(TJ1ANDTJ2ANDTJ4,5);
DRAWICON(选股,0-H_L*0.2,1);{上升信号};
jj:=(HIGH+LOW+CLOSE)/3;
qj0:=/IF(HIGH=LOW,4,HIGH-LOW);
qj1:=qj0*(MIN(OPEN,CLOSE)-LOW);
qj2:=qj0*(jj-MIN(CLOSE,OPEN));
qj3:=qj0*(HIGH-maX(OPEN,CLOSE));
qj4:=qj0*(MAX(CLOSE,OPEN)-jj);
ddx:=IF(HIGH=LOW,4*qJ0,((qj1+qj2)-(qj3+qj4)))/SUM(VOL,10)*100;
DDY:=((qj2+qj4)-(qj1+qj3))/SUM(VOL,10)*100;
DDZ:=((qj1+qj2)-(qj3+qj4))/((qj1+qj2)+(qj3+qj4))*100*17;
预警:=DDX 2andDDZ 100andDDY 3andVOL/CAPITAL*100
{}
VAR1D:=EMA(CLOSE,2)-EMA(CLOSE,89);
VAR1E:=EMA(VAR1D,30);
VAR1F:=2*(VAR1D-VAR1E)*10;
VAR20:=POW(VAR1F,3)*0.1+POW(VAR1F,2);
VAR26:=EMA(CLOSE,2)-EMA(CLOSE,150);
VAR27:=EMA(VAR26,100);
VAR28:=2*(VAR26-VAR27);
VAR29:=POW(VAR28,3)*0.1+POW(VAR28,1);
资金:=IF(YEAR 2020ANDVAR28 0.1,VAR29,0)*5;
拉升资金:=IF(YEAR 2020ANDVAR1F 0.015,VAR20,0)/45;
{选股}
obv:=CLOSE;
P:=1;
A1:=REF(OBV,P)=HHV(OBV,2*P+1);
B1:=FILTER(A1,P);
C1:=BacKSET(B1,P+1);
D1:=FILTER(C1,P);
上:=REF(OBV,BArslAst(D1));
xg:=crOSS(OBV,上*1.01);
组合买入:预警andxgand主力资金or预警andxgand拉升资金;
真正的分时dde指标截图