最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 量能饱和度源码副图通达信

    正文概述    2024-04-13 21:07:13  

    量能饱和度指标公式源码
    A:=EMA(EMA(AMOUNT/10000000,5),10);

    MID:(EMA(A,3)+EMA(A,6)+EMA(A,12)+EMA(A,24))/4,COLOR00FFFF;

    B:=REF(A,1);

    UP:=MID+3*STD(MID,10);

    DW:=MID-3*STD(MID,10);

    STICKLINE(UPREF(UP,1),UP,REF(UP,1),3,1),COLORFFFFFF;

    STICKLINE(DWREF(DW,1),DW,REF(DW,1),3,1),COLOR00FFFF;

    STICKLINE(UPREF(UP,1),UP,REF(UP,1),3,1),COLOR33FF33;

    STICKLINE(DWREF(DW,1),DW,REF(DW,1),3,1),COLOR33FF33;

    持多:STICKLINE(AB,A,B,8,0),colorred;

    持空:STICKLINE(AB,A,B,8,0),COLORFF0000;

    猎狐雷达: 100*(WINNER(CLOSE)-REF(WINNER(CLOSE),1));

    Var1:=(WINNER(MONEY/VOL)-WINNER(REF(MONEY/VOL,5)))*100;

    雷达: IF(猎狐雷达20,猎狐雷达,0);

    天线: 20;

    地线: -20

    VA1:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4),0.9);

    HY1:=REF(EMA(VA1,3),1);

    多空趋势:=MA((CLOSE - HY1) * 10,2);

    操盘:STICKLINE(多空趋势=0 AND 多空趋势=REF(多空趋势,1),0,多空趋势,2,0),coloryellow;

    减仓:STICKLINE(多空趋势=0 AND 多空趋势 REF(多空趋势,1),0,多空趋势,2,0),coloryellow;

    反弹:STICKLINE(多空趋势0 AND 多空趋势=REF(多空趋势,1),0,多空趋势,2,0),colorgreen;

    寻底:STICKLINE(多空趋势0 AND 多空趋势 REF(多空趋势,1),0,多空趋势,2,0),colorgreen;

    r:=((ZDMR[-1]+BDMR[-1])-(ZDMC[-1]+BDMC[-1]))/SHGZG*100;

    t:=BARSCOUNT(SHGZG);

    b:=SUM(r,t);

    主力持仓:b;

    n:=5;

    x2:=HHV(r,n);

    S:=STD(SHGZG,2)/1000000;

    S1:=-STD(SHGZG,2)/1000000;

    STICKLINE(r0,r+b,b,2),colorred;

    STICKLINE(r0,b,b+r,2),colorgreen;

    STICKLINE(s0,x2+b,b+r*3,3),coloryellow;

    STICKLINE(s10,b+r*3,b-x2,3),coloryellow;

    IF(ISNULL(r))

    a=(ZDMR[-1]+BDMR[-1]);

    b=(ZDMC[-1]+BDMC[-1]);

    a3=SUM(a,n)/1000000;

    b3=SUM(b,n)/1000000;

    VOL1=SUM(VOL,n)/1000000;

    S3=STD(SHGZG,2)/10000;

    IF(a3b3)

    {

    y=a3-b3;

    z=y/VOL1*100;

    主力增加:TOSTRING(r,2)+%.+TOSTRING(n,0)+天主力净买入+TOSTRING(y,1)+万手.占总成交+TOSTRING(z,1)+%.+流通盘增加+TOSTRING(s3,2)+万.;

    }

    ELSE

    {

    y=b3-a3;

    z=y/VOL1*100;

    主力增加:TOSTRING(r,2)+%.+TOSTRING(n,0)+天主力净买入+TOSTRING(y,1)+万手.占总成交+TOSTRING(z,1)+%.+流通盘增加+TOSTRING(s3,2)+万.;

    }

    Var1:=(CLOSE+HIGH+LOW)/3;

    Var2:=EMA(EMA(EMA(Var1,1),13),21);

    控盘度: (Var2-REF(Var2,1))/REF(Var2,1)*1000;

    强弱分界:= 0;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 量能饱和度源码副图通达信 加入收藏