分时图选股:=VOL/((H-L)*2-ABS(C-O));{通达信公式-通达信指标-www.gs6699.com}
指标公式:=IF(C>O,分时图选股*(H-L),IF(C< O,分时图选股*((H-O)+(C-L)),VOL/2)),COLORRED;
通达信:=IF(C>O,0-分时图选股*((H-C)+(O-L)),IF(C< O,0-分时图选股*(H-L),0+V/2)),COLOR00FF00;
DDX:=指标公式+通达信;
DX:=MA(DDX,5)*5;
aaax3:=SMA(DX,3,1),COLORRED,LINETHICK1;
aaax4:=SMA(aaax3,3,1),COLORYELLOW,LINETHICK1;
aaax5:=EMA(aaax4,5),COLORF0F000,LINETHICK1;
X1:=(3*C+L+H+O)/6;
F:=(EMA(CLOSE,5)-EMA(CLOSE,21))*4;
分时图选股0:=C=HHV(C,4) AND REF(C,1)=LLV(C,4);
cfdeess20:=C=LLV(C,4) AND (REF(C,1)< REF(C,2) OR REF(C,1)< REF(C,3)) OR REF(C,1)=LLV(C,4) AND C< REF(C,2) OR REF(C,2)=LLV(C,4) AND REF(C,1)=HHV(C,4) AND C< REF(C,1) OR REF(C,3)=LLV(C,4) AND C< REF(C,1) AND C< REF(C,2);
cfdeess30:=REF(C,1)=LLV(C,4) AND C>=REF(C,2) OR REF(C,2)=LLV(C,4) AND REF(C,1)<=REF(C,3) AND REF(C,2)< REF(C,4) AND C>=REF(C,1);
cfdeess40:=(20*X1+19*REF(X1,1)+18*REF(X1,2)+17*REF(X1,3)+16*REF(X1,4)+15*REF(X1,5)+14 *REF(X1,6)+13*REF(X1,7)+12*REF(X1,8)+11*REF(X1,9)+10*REF(X1,10)+9*REF(X1,11)+8 *REF(X1,12)+7*REF(X1,13)+6*REF(X1,14)+5*REF(X1,15)+4*REF(X1,16)+3*REF(X1,17)+2 *REF(X1,18)+REF(X1,20))/210;
MTM:=C-REF(C,1);
DX1:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
aaax1:=LLV(DX1,2)=LLV(DX1,7) AND COUNT(DX1< 0,2) AND CROSS(DX1,MA(DX1,2));
aaax2:FILTER(aaax3>=aaax4 AND aaax1=1,5);