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

    正文概述    2024-04-13 01:15:58  

    N:=22;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)));
    DRAWTEXTREL(0,0,'主力持仓'),COLORYELLOW;
    SVZL:sum(((qj1+qj2)-(qj3+qj4))/sum(VOL,60),0);
    CZ:=SVZL-REF(SVZL,1);
    STICKLINE(CZ<0,SVZL+CZ,SVZL,3,0),COLORFFFF00;
    STICKLINE(CZ>0,SVZL,SVZL+CZ,3,0),COLORRED;
    IF CZ<0 THEN
    DRAWFLAGTEXT(1,SVZL+CZ,'当日主力净卖出占流通盘的'+STR(Abs(CZ))+'%');
    ELSE
    DRAWFLAGTEXT(1,SVZL+CZ,'当日主力净买入占流通盘的'+STR(ABS(CZ))+'%'),COLORRED;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » DDX作持仓线(大智慧) 加入收藏