最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信DDE预警指标公式

    正文概述    2024-04-14 18:32:30  

    jj:=(HIGH+LOW+CLOSE)/3;
    qj0:=vol/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>2 and DDZ>100 and DDY>3 and VOL/CAPITAL*100>3;
    {资金}
    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<2020 AND VAR28>0.1,VAR29,0)*5;
    拉升资金:=IF(YEAR<2020 AND VAR1F>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);
    组合买入:预警 and xg and 主力资金 or 预警 and xg and 拉升资金;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信DDE预警指标公式 加入收藏