通达信经典博弈成交量分析指标公式:
成交量:VOL,VOLSTICK;
CC:=(OPEN+HIGH+LOW)/3;
CM:=CLOSE-EMA(CC,3);
KS:=BARSCOUNT(CLOSE)>0;
KF:=EMA(EMA(KS*(CLOSE<=CC)*(CM<=0)*(0.1+成交量),18),4);
DF:=EMA(EMA(KS*(CLOSE>=CC)*(CM>=0)*(0.1+成交量),18),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,IF(MIN(C,O)>ZZ,-1,0));
ZL:=ABS(HIGH-LOW)+ABS(CM/EMA(CC,3))*ABS(CLOSE-OPEN)/2+3*IF(HIGH=LOW,0.001,0);
DX%:(IF(CT=0,ABS(CM/EMA(CC,3))*(ZZ-(CLOSE+OPEN)/2),
CT*ABS(CM/EMA(CC,3))*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,18),4),COLORFF33FF,LINETHICK2;
通达信经典博弈成交量分析指标公式