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

    正文概述    2024-04-13 00:36:13  

    N:=5;
    jj:=(HIGH+LOW+CLOSE)/3;qj0:=vol/IF(HIGH=LOW,4,HIGH-LOW);
    qj1:=IF(CAPITAL=0,qj0*(jj-MIN(CLOSE,OPEN)),qj0*IF(HIGH=LOW,1,(MIN(OPEN,CLOSE)-LOW)));
    qj2:=IF(CAPITAL=0,qj0*(MIN(OPEN,CLOSE)-LOW),qj0*IF(HIGH=LOW,1,(jj-MIN(CLOSE,OPEN))));
    qj3:=IF(CAPITAL=0,qj0*(HIGH-MAX(OPEN,CLOSE)),qj0*IF(HIGH=LOW,1,(HIGH-MAX(OPEN,CLOSE))));
    qj4:=IF(CAPITAL=0,qj0*(MAX(CLOSE,OPEN)-jj),qj0*IF(HIGH=LOW,1,(MAX(CLOSE,OPEN)-jj)));
    ddx:((QJ1+QJ2)-(QJ3+QJ4))/SUM(VOL,10)*10,COLOR3D;
    DX:=ma(ddx,5)*N;
    DDX1:SMA(DX,3,1);
    DDX2:sma(DDX1,3,1);
    DDX3:wma(DDX2,5);
    1,DOTLINE;
    预警:=DDX>0 and ma(v,5)>ma(ma(v,5),5) and crOSS(DDX1,DDX2);
    天:=COUNT(DDX>0,5);
    DRAWTEXT(预警,DDX*1.06,'★'),LINETHICK3,COLOR00FFFF;
    DRAWTEXTAbs(180,0,'一周内翻红:'+NUMTOSTRN(天,0)+' 天'),Color00EEFF;
    DRAWTEXTABS(0,0,'大单动向');


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 大智慧改良DDX指标公式 加入收藏