通達信真實資金買賣指標公式
- 指標類別: 通達信指標公式
- 授權(quán)方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 成交量
- 畫線方法: 副圖
- 日期:2022-10-14 來源:互聯(lián)網(wǎng)
通達信真實資金買賣指標公式:
預測量:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,預測量,0,3.5,-1),COLORRED;
JJ:=(HIGH+LOW+CLOSE)/3;
QJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
主買2:=ABS(QJ0*(JJ-MIN(CLOSE,OPEN)));
STICKLINE(主買2,0,主買2,3.3,0),COLORRED;
主賣2:=ABS(QJ0*(MIN(OPEN,CLOSE)-LOW));
STICKLINE(主賣2,0,-主賣2,3.3,0),COLORGREEN;
散買2:=ABS(QJ0*(HIGH-MAX(OPEN,CLOSE)));
STICKLINE(散買2,主買2,主買2+散買2,3.3,0),COLORCBC0FF;
散賣2:=ABS(QJ0*(MAX(CLOSE,OPEN)-JJ));
STICKLINE(散賣2,-主賣2,-主賣2-散賣2,3.3,0),COLORCD0000;
資金異動:=VOL/MA(VOL,55)*100,COLORYELLOW;
STICKLINE(資金異動>100 ,0,主買2+散買2,0.2,0),COLORYELLOW;
主買:主買2,COLORRED,NODRAW;
主賣:-主賣2,COLORGREEN,NODRAW;
散買:散買2,COLORCBC0FF,NODRAW;
散賣:-散賣2,COLORCD0000,NODRAW;
FJ:0,COLORRED;
VAR1:=VOL/((H-L)*2-ABS(C-O));
主買1:=IF(C>O,VAR1*(H-L),IF(C<O,VAR1*((H-O)+(C-L)),VOL/2)),COLORRED,NODRAW;
主賣1:=IF(C>O,0-VAR1*((H-C)+(O-L)),IF(C<O,0-VAR1*(H-L),0+V/2)),COLOR00FF00,NODRAW;
AA1:=VOL<REF(LLV(VOL,20),1);
STICKLINE(AA1,(-主賣2-散賣2),(主買2+散買2),1.8,1),COLORYELLOW;
AA2:=VOL<REF(LLV(VOL,60),1);
STICKLINE(AA2,(-主賣2-散賣2),(主買2+散買2),1.4,1),COLORCD0000;
AA3:=VOL<REF(LLV(VOL,100),1);
STICKLINE(AA3,(-主賣2-散賣2),(主買2+散買2),1.0,1),COLORGREEN;
DDX:=主買1+主賣1;
DX:=MA(DDX,5)*5;
DDX1:SMA(DX,3,1),COLORRED,LINETHICK1;
DDX2:SMA(DDX1,3,1),COLORYELLOW,LINETHICK1;
DDX3:EMA(DDX2,5),COLORF0F000,LINETHICK1;
X1:=(3*C+L+H+O)/6;
F:=(EMA(CLOSE,5)-EMA(CLOSE,21))*4;
VAR10:=C=HHV(C,4) AND REF(C,1)=LLV(C,4);
VAR20:=C=LLV(C,4) AND (REF(C,1)<REF(C,2) OR REF(C,1)<REF(C,3)) OR REF(C,1)=LLV(C,4) AND C<REF(C,2) OR REF(C,2)=LLV(C,4) AND REF(C,1)=HHV(C,4) AND C<REF(C,1) OR REF(C,3)=LLV(C,4) AND C<REF(C,1) AND C<REF(C,2);
VAR30:=REF(C,1)=LLV(C,4) AND C>=REF(C,2) OR REF(C,2)=LLV(C,4) AND REF(C,1)<=REF(C,3) AND REF(C,2)<REF(C,4) AND C>=REF(C,1);
VAR40:=(20*X1+19*REF(X1,1)+18*REF(X1,2)+17*REF(X1,3)+16*REF(X1,4)+15*REF(X1,5)+
14*REF(X1,6)+13*REF(X1,7)+12*REF(X1,8)+11*REF(X1,9)+10*REF(X1,10)+9*REF(X1,11)+8*REF(X1,12)
+7*REF(X1,13)+6*REF(X1,14)+5*REF(X1,15)+4*REF(X1,16)+3*REF(X1,17)+2*REF(X1,18)+REF(X1,20))/210;
MTM:=C-REF(C,1);
DX1:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
CB:=EMA(VAR40,13);
賣1:=HHV(DX1,2)=HHV(DX1,7) AND COUNT(DX1>50,2) AND CROSS(MA(DX1,2),DX1);
DRAWTEXT(FILTER(賣1=1,1),(-主賣2-散賣2)*1.08,'賣'),COLOR00C800;
買1:=LLV(DX1,2)=LLV(DX1,7) AND COUNT(DX1<0,2) AND CROSS(DX1,MA(DX1,2));
DRAWTEXT(FILTER(DDX1>=DDX2 AND 買1=1,5),(-主賣2-散賣2)*1.08,'買'),COLORYELLOW;
ZZ:=IF(REF(C,1)>REF(O,1) AND O>REF(C,1)*1.014 AND C<O*1.02,1,3);
V5:=MA(V,5);
V12:=MA(V,12);
V34:=MA(V,34);
C6:=MA(C,6);
吸貨:=CROSS(C,C6) AND V>V5*1.2 AND V>V12*1.2 AND ZZ>2 AND C>H*0.975;
DRAWTEXT (吸貨,(主買2+散買2)*1.26,'吸'),COLORYELLOW;
通達信真實資金買賣指標公式實例圖解:
通達信真實資金買賣指標公式