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

    正文概述    2024-04-13 17:28:24  

    {参数设置: N(1,500,3); M(1,500,18) };
    {参数其他: (TDX版)坐标线位置 自动;(TDX版)额外Y轴分界 值1=0};
    {用法: N--调节空方出没及量度; M--调节曲线平滑;适用于宽屏幕};

    成交量:vol,VOLSTICK;
    CC:=(OPEN+HIGH+LOW)/3;
    CM:=CLOSE-EMA(CC,N);
    KS:=BARSCOUNT(CLOSE)>0;
    KF:=EMA(EMA(KS*(CLOSE<=CC)*(CM<=0)*(0.1+成交量),M),4);
    DF:=EMA(EMA(KS*(CLOSE>=CC)*(CM>=0)*(0.1+成交量),M),4);
    TT:=HIGH=REF(HIGH,1)AND LOW=REF(LOW,1)AND CLOSE=REF(CLOSE,1);
    TJ:=BArslASTCOUNT(TT);
    DT:=0.001*(HIGH=LOW)*SIGN(CLOSE-REF(CLOSE,TJ+1));
    ZZ:=(CLOSE+HIGH+LOW)/3;
    CT:=IF(MAX(C,O)ZZ,-1,0));
    ZL:=Abs(HIGH-LOW)+ABS(CM/EMA(CC,N))*ABS(CLOSE-OPEN)/2+3*IF(HIGH=LOW,0.001,0);
    DX%:(IF(CT=0,ABS(CM/EMA(CC,N))*(ZZ-(CLOSE+OPEN)/2),
    CT*ABS(CM/EMA(CC,N))*ABS(CLOSE-OPEN)/2)+2*ZZ-HIGH-LOW+DT)/ZL*100,NODRAW;
    DV:DX%*(0.1+成交量)/100,NODRAW;
    买:(1+DX%/100)*成交量/2,NODRAW,COLORRED;
    卖:(1-DX%/100)*成交量/2,NODRAW,COLORCYAN;
    STICKLINE(DV>0,0,ABS(DV),0.8,1),COLORYELLOW;
    STICKLINE(DV<0,0,ABS(DV),0.8,1),COLORDE5533;
    空方:KF*1.0,COLORDEEdde,LINETHICK2;
    多方:DF*1.0,COLOR33FFFF,LINETHICK2;
    表观趋势:(多方-空方),COLOR33FF33,LINETHICK2;
    资金流势:EMA(EMA(KS*DV*8,M),4),COLORFF33FF,LINETHICK2;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信经典博弈指标公式 加入收藏