《通达信真实成交量VOL指标公式.docx》由会员分享,可在线阅读,更多相关《通达信真实成交量VOL指标公式.docx(6页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。
1、通达信真实成交量VOL指标公式_正点财经VAR1:=DYNAINFO(17)*REF(MA(VOL,5),1);VAR2:=DYNAINFO(7)=CLOSEANDDYNAINFO(10)=AMOUNT;预测:=IF(DYNAINFO(7)=CLOSEANDDYNAINFO(10)=AMOUNT,VAR1,VAR2)/10000;预测量:STICKLINE(IF(DYNAINFO(7)=CLOSEANDDYNAINFO(10)=AMOUNT,VAR1,VAR2),VAR1,0,7,1),COLORGRAY;AA:=VOL/(HIGH-LOW)*2-ABS(CLOSE-OPEN);主买:=IF(
2、CLOSEOPEN,AA*(HIGH-LOW),IF(CLOSEOPEN,AA*(HIGH-OPEN)+(CLOSE-LOW),VOL/2),POINTDOT,COLORRED;主卖:=IF(CLOSEOPEN,0-AA*(HIGH-CLOSE)+(OPEN-LOW),IF(CLOSEOPEN,0-AA*(HIGH-LOW),0-VOL/2),LINETHICK0,COLORGREEN;主力持仓:EMA(100*(CLOSE-LLV(LOW,34)/(HHV(HIGH,34)-LLV(LOW,34),3),COLORFF00FF;主力筹码集中度:WINNER(C)*100,COLORRED;N
3、DDX:=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
4、,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(CREF(C,1),0,VOL,2.5,1),CO
5、LORGREEN;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;MA5:MA(V,5),COLORWHITE,LINETHICK2;MA60:=MA(V,60),COLORLIBLUE,LINETHICK2;MA3:MA(V,3),COLORYELLOW,LINETHICK2;MA40:MA(V,40),COLORBLUE,LINETHICK
6、3;DRAWTEXT(CROSS(MA5,MA60),(V*1.05),关注),COLORYELLOW;DRAWTEXT(CROSS(MA3,MA40),(V*1.05),关注),COLORWHITE;主力资金流量AACJL:=VOL/(HIGH-LOW)*2-ABS(CLOSE-OPEN);买量:=IF(CLOSEOPEN,AACJL*(HIGH-LOW),IF(CLOSEOPEN,AACJL*(HIGH-OPEN)+(CLOSE-LOW),VOL/2),LINETHICK0,COLORRED;卖量:=IF(CLOSEOPEN,0-AACJL*(HIGH-CLOSE)+(OPEN-LOW),
7、IF(CLOSEOPEN,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,
8、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.DIFMACD.DEAANDMACD.DEAQJ7:=KDJ.KKDJ.DANDKDJ.DQJ8:=MACD.DIFMACD.DEAQJ9:=KDJ.KKDJ.DANDKDJ.K特大:=QJ4*QJ5,NODRAW;大单:=QJ3*QJ5,NODRAW;中单:=QJ1*QJ5,NODRAW;小单:=QJ2*QJ5,NODRAW;W
9、1:=SUM(大单,N)+SUM(特大,N);W2:=SUM(小单,N)+SUM(中单,N);量振1:=特大大单AND大单量振2:=特大小单AND大单标振1:=QJ6ANDQJ7;标振2:=QJ8ANDQJ9;A:=W1-W2;A0:=IF(A0,A,0);B0:=IF(A0,A,0);STICKLINE(A0,0,A0,1,0),COLOR000044;DRAWICON(REF(V,2)=REF(V,3)*1.99ANDREF(C,2)REF(O,2)ANDREF(V,2)=HHV(V,3)ANDC/REF(C,2)=1.0995ANDREF(L,2)=LLV(L,3),V,1);通达信真实成交量VOL指标公式实例图解:通达信真实成交量VOL指标公式