大智慧资金流指标副图源码附图
-
相关简介:VOL,VOLSTICK; VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN)); 主买:IF(CLOSEOPEN,VAR1*(HIGH-LOW),IF(CLOSEOPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),Color0055ff,LineThick0; 主卖:IF(CLOSEOPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSEOPEN,0-VAR1*(HIGH-LOW),0-VOL/
-
文章来源:股海网作者:股海网发布时间:2015-05-28浏览次数:
VOL,VOLSTICK;
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主买:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),Color0055ff,LineThick0;
主卖:IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2)),Colorf0f000,LineThick0;
买卖差:主买+主卖,ColorWhite,LineThick0;
{红色3D}
STICKLINE(买卖差>0 ,0,买卖差,8,0),color070084;
STICKLINE(买卖差>0 ,0,买卖差,5,0),color0000CD;
STICKLINE(买卖差>0 ,0,买卖差,3,0),color0000E9;
STICKLINE(买卖差>0 ,0,买卖差,1,0),{color077BF3}ColorWhite;
{绿色3D}
STICKLINE(买卖差<0 ,0,买卖差,8,0),COLOR008800;
STICKLINE(买卖差<0 ,0,买卖差,5,0),COLOR00aa00;
STICKLINE(买卖差<0 ,0,买卖差,3,0),COLOR00cc00;
STICKLINE(买卖差<0 ,0,买卖差,1,0),{COLOR00ee00}ColorWhite;
0,ColorGray,LAYER1;
{虚拟成交量}
预测量:IF(DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT,MAX(VOL,DYNAINFO(17)*REF(MA(VOL,5),1)),0),ColorYellow;
STICKLINE(DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT,VOL,MAX(VOL,DYNAINFO(17)*REF(MA(VOL,5),1)),7.5,-21),ColorYellow;
a16:= VOL = (HHV(VOL,10));
IF(a16,VOL,(REF(VOL,BARSLAST(a16)))),DOTLINE,colorYellow;
A1:=amount*(bigorder(1,2)-bigorder(2,2))/10000;
A5:=sum(A1,5);
A10:=sum(A1,10);
A20:=sum(A1,20);
drawtextrel(0,10,'今日资金流入:'+numtostrn(A1,1)+'万'),colorwhite;
drawtextrel(0,50,'5日 资金流入:'+numtostrn(A5,1)+'万'),colorgreen;
drawtextrel(0,90,'10日资金流入:'+numtostrn(A10,1)+'万'),coloryellow;
drawtextrel(0,130,'20日资金流入:'+numtostrn(A20,1)+'万'),colorred;