炒股指标

显示 收起

通达信买卖差DDV实心柱指标公式

通达信买卖差DDV实心柱指标公式:

VOLAMO:=1;{1~2,1};
 EPSL:=0.0001;
 TJ1:=H=L AND C>REF(C,1);
 TJ2:=H=L AND C<REF(C,1); {**1};
 量_价:IF(VOLAMO=1,VOL,AMOUNT),STICK,COLOREEFFEE;
 STICKLINE(C>OPEN,0,量_价,1.5,-1),COLOR1133FA;
 STICKLINE(C<=OPEN,0,量_价,2.0,-1),COLORDFDF13; {**2};
 EP:=IF(TJ1,EPSL,IF(TJ2,-EPSL,0));
 ZL:=3*((H-L)+IF(H=L,EPSL,0)); {**3};
 DDX_YFQJ_JLJ:=((2*C-(H+L))+EP)/ZL;
 买卖差:DDX_YFQJ_JLJ*量_价,COLOR13AADD,NODRAW;
 DDX%:DDX_YFQJ_JLJ*100,NODRAW;
 主动买:(量_价+买卖差)/2,COLOR1133AA,NODRAW;
 主动卖:(量_价-买卖差)/2,COLORDFDF13,NODRAW;
 STICKLINE(1,0,主动买,2.2,1),COLOR1133DE;
JDZ:=ABS(买卖差);
 STICKLINE(主动买>主动卖,0,JDZ,2,0),COLOR13BCE8;
 STICKLINE(主动买>主动卖,0,JDZ,1,0),COLOR13CDE8;
 STICKLINE(主动买>主动卖,0,JDZ,0.5,0),COLOR13DEE8;
 STICKLINE(主动买<主动卖,0,JDZ,2,0),COLOR339933;
 STICKLINE(主动买<主动卖,0,JDZ,1,0),COLOR33BB33;
 STICKLINE(主动买<主动卖,0,JDZ,0.5,0),COLOR33DD33;
MMC:=IF(BARSCOUNT(C)>0,买卖差,0);{上市第一颗不要};
 短:SMA(SUM(MMC,5),6,1)/1.3,COLORABCCBA,LINETHICK2;
 中:SMA(SUM(MMC,34),9,2)/4,COLOR13EFEF,LINETHICK1;
 长:SMA(SUM(MMC,55),9,2)/6.5,COLORFFAA55,LINETHICK1;
 强:IF(短>REF(短,1),短,MA(短,256000)),COLOR1133EF,LINETHICK2;

通达信买卖差DDV实心柱指标公式实例图解:

通达信买卖差DDV实心柱指标公式