通達信大慶資金流向指標公式
- 指標類別: 通達信指標公式
- 授權方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 量能
- 畫線方法: 副圖
- 日期:2022-11-08 來源:互聯網
通達信大慶資金流向指標公式:
A股:CAPITAL/1000000,LINETHICK0,COLORWHITE;
實際量:=VOL,LINETHICK0;
{VAR1:=DYNAINFO(17)*REF(MA(VOL,5),1);
VAR2:=DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT;
預測:=IF(DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT,VAR1,VAR2)/10000;
預測量:STICKLINE(IF(DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT,VAR1,VAR2),VAR1,0,7,1),COLORGRAY;}
AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主買:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+ (CLOSE-LOW)),VOL /2)),POINTDOT,COLORRED;
主賣:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0- AA*(HIGH-LOW),0-VOL /2)),LINETHICK0,COLORGREEN;
NDDX:=10;
JJDDX:=(HIGH+LOW+CLOSE)/3;
QJ0DDX:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
QJ1DDX:=IF(CAPITAL=0,QJ0DDX*(JJDDX-MIN(CLOSE,OPEN)),QJ0DDX*IF(HIGH=LOW,1,(MIN(OPEN,CLOSE)-LOW)));
QJ2DDX:=IF(CAPITAL=0,QJ0DDX*(MIN(OPEN,CLOSE)-LOW),QJ0DDX*IF(HIGH=LOW,1,(JJDDX-MIN(CLOSE,OPEN))));
QJ3DDX:=IF(CAPITAL=0,QJ0DDX*(HIGH-MAX(OPEN,CLOSE)),QJ0DDX*IF(HIGH=LOW,1,(HIGH-MAX(OPEN,CLOSE))));
QJ4DDX:=IF(CAPITAL=0,QJ0DDX*(MAX(CLOSE,OPEN)-JJDDX),QJ0DDX*IF(HIGH=LOW,1,(MAX(CLOSE,OPEN)-JJDDX)));
大單流向: ((QJ1DDX+QJ2DDX)-(QJ3DDX+QJ4DDX))/IF(CAPITAL=0,1000000,10000),COLORRED;
STICKLINE(C>=REF(C,1) ,0,VOL,2.5,1),COLORRED;
STICKLINE(C<REF(C,1),0,VOL,2.5,1),COLORGREEN;
STICKLINE(主買>0,0,主買,2.5,0),COLORRED;
STICKLINE(主賣<0 ,0,主賣,2.5,0),COLORGREEN;
資金異動:VOL/MA(VOL,55)*100,COLORYELLOW;
STICKLINE(資金異動>100 ,0,VOL,0.6,0),COLORYELLOW;
{主力資金流量}
AACJL:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
買量:=IF(CLOSE>OPEN,AACJL*(HIGH-LOW),IF(CLOSE<OPEN,AACJL*((HIGH- OPEN)+(CLOSE-LOW)),VOL/2)),LINETHICK0,COLORRED;
賣量:=IF(CLOSE>OPEN,0-AACJL*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE< OPEN,0-AACJL*(HIGH-LOW),0-VOL/2)),LINETHICK0,COLORGREEN;
進出量:=買量+賣量,COLOR00FFFF;STICKLINE(進出量<0,0,進出量,1,0),COLORFF6600;
STICKLINE(進出量<0,0,進出量,1.5,0),COLORFFCC00;
STICKLINE(進出量<0,0,進出量,0.5,0),COLORCYAN;
N:=1;QJ0:=(HIGH+LOW+CLOSE)/3;
QJ1:=IF(HIGH=LOW,1,HIGH-MAX(OPEN,CLOSE));
QJ2:=IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-QJ0);
QJ3:=IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW);
QJ4:=IF(HIGH=LOW,1,QJ0-MIN(CLOSE,OPEN));
QJ5:=VOL/(IF(HIGH=LOW,4,HIGH-LOW));
QJ6:="MACD.DIF">"MACD.DEA" AND "MACD.DEA"<0;
QJ7:="KDJ.K">"KDJ.D" AND "KDJ.D"<30;
QJ8:="MACD.DIF"<"MACD.DEA";
QJ9:="KDJ.K"<"KDJ.D" AND "KDJ.K">80;
特大:=QJ4*QJ5,NODRAW;大單:=QJ3*QJ5,NODRAW;
中單:=QJ1*QJ5,NODRAW;小單:=QJ2*QJ5,NODRAW;
W1:=SUM(大單,N)+SUM(特大,N);W2:=SUM(小單,N)+SUM(中單,N);
量振1:=特大>大單 AND 大單>小單;
量振2:=特大<小單 AND 大單<小單;
標振1:=QJ6 AND QJ7;
標振2:=QJ8 AND QJ9;
A:=W1-W2;A0:=IF(A>0,A,0);B0:=IF(A<0,A,0);
STICKLINE(A0,0,A0,1,0),COLOR000044;
DRAWICON(REF(V,2)>=REF(V,3)*1.99 AND REF(C,2)>REF(O,2) AND
REF(V,2)=HHV(V,3) AND C/REF(C,2) >=1.0995 AND REF(L,2)=LLV(L,3),V,1);
通達信大慶資金流向指標公式實例圖解:
通達信大慶資金流向指標公式