通達信資金流向K線指標公式
- 指標類別: 通達信指標公式
- 授權(quán)方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 均線
- 畫線方法: 主圖
- 日期:2020-06-12 來源:互聯(lián)網(wǎng)
通達信資金流向K線指標公式:
MA5:MA(CLOSE,5);
MA10:MA(CLOSE,10);
MA20:MA(CLOSE,20);
MA30:MA(CLOSE,30);
MA60:MA(C,60);MA120:MA(C,120);
量_價:=1;CTKG:=1;
W:=量_價;
EPSL:=0.0001;
ZZ:=(C+H+L)/3;
TJA:=ZZ>=MAX(C,O) AND CTKG=1;{倒錘頭};
TJB:=ZZ<=MIN(C,O) AND CTKG=1;{正錘頭};
ZF:=IF(TJA,1,IF(TJB,-1,0));{正負數(shù)};
TJ0:=TJA OR TJB;
TJ1:=H=L AND C>REF(C,1);{一字漲停};
TJ2:=H=L AND C<REF(C,1);{一字跌停};
TJ3:=H=L AND C=REF(C,1);{連續(xù)一字漲、跌停};
{股旁網(wǎng)-股票公式網(wǎng)站 www.gupang.com}
量_價:=IF(W=1,VOL,AMOUNT),STICK,COLOREEFFEE;{平盤量,白色}
EE:=IF(TJ1,EPSL,IF(TJ2,-EPSL,0));
ZL:=2*(H-L)+ABS(C-O)+3*IF(TJ3,EPSL,ABS(EE));
JGL_DX:=(IF(TJ0,2/3*(2*C-H-L)+ZF*ABS(C-O),(C-O))+EE)/ZL;
差:=(JGL_DX*量_價)/20000,COLOR13AADD,NODRAW;
DX:=JGL_DX*100,NODRAW;
買:=量_價*(1+JGL_DX)/20000,COLOR1133AA,NODRAW;
賣:=量_價*(1-JGL_DX)/20000,COLORFFFF00,NODRAW;
量差:=買-賣,NODRAW,COLORYELLOW;
STICKLINE(量差<=0,CLOSE,OPEN,3,0),COLOR009900;
STICKLINE(量差<=0,CLOSE,OPEN,2.2,0),COLOR00BB00;
STICKLINE(量差<=0,CLOSE,OPEN,1.5,0),COLOR00DD00;
STICKLINE(量差<=0,CLOSE,OPEN,0.5,0),COLOR00FF00;
STICKLINE(量差>=0,CLOSE,OPEN,3,0),COLOR000099;
STICKLINE(量差>=0,CLOSE,OPEN,2.2,0),COLOR0000CC;
STICKLINE(量差>=0,CLOSE,OPEN,1.5,0),COLOR0000FF;
STICKLINE(量差>=0,CLOSE,OPEN,0.5,0),COLORCC66FF;
V2V:=V/REF(V,1)>=1.9 AND C>REF(C,1);
STICKLINE(V2V,OPEN,CLOSE,0.5,0),COLORYELLOW;
ZT:=C/REF(C,1)>1.097;
STICKLINE(ZT,OPEN,CLOSE,0.5,0),COLORYELLOW;
V3V:=V/REF(V,1)>=1.9 AND C<REF(C,1);
STICKLINE(V3V,OPEN,CLOSE,0.5,0),COLORBLUE;
通達信資金流向K線指標公式實例圖解:
通達信資金流向K線指標公式