金股网,有趣实用股票资讯网站!

最近更新文章排行

当前位置:首页 > 股票资讯 > 通达信资金监控分时指标公式源码副图

通达信资金监控分时指标公式源码副图

时间:2025-03-29 15:54:03 人气: 作者: 金股网

  通达信资金监控分时指标公式源码副图

通达信资金监控分时指标公式源码副图

  VAR1:=V*C/100,NODRAW;

  VAR2:=SUM((IF(((VAR1/8>20) AND (CLOSE>(REF(CLOSE,1)))),VAR1,0)),0);

  VAR3:=SUM((IF(((VAR1/8>20) AND (CLOSE<(REF(CLOSE,1)))),VAR1,0)),0);

  VAR4:=SUM((IF(((VAR1/8<20) AND (CLOSE>(REF(CLOSE,1)))),VAR1,0)),0);

  VAR5:=SUM((IF(((VAR1/8<20) AND (CLOSE<(REF(CLOSE,1)))),VAR1,0)),0);

  VAR6:=((VAR2+VAR3)+VAR4)+VAR5;

  机构买:(VAR2),LINETHICK6,COLORRED;

  机构卖:(VAR3),LINETHICK6,COLORGREEN;

  机构进出:机构买-机构卖,NODRAW;

  散户买:(VAR4),COLOR5555FF;

  散户卖:(VAR5),COLOR55FF55;

  VAR7:=散户买-散户卖;

  强势:((100*VAR2)/VAR6>50);

  STICKLINE(强势,机构买*1.02,机构买*1.1,1,0),COLORYELLOW;

  拉升:((100*VAR2)/VAR6-(100*VAR3)/VAR6)>18 AND (100*VAR2)/VAR6-(100*VAR5)/VAR6>18;

  STICKLINE(拉升,机构买*1.1,机构买*1.2,1,0),COLORRED;

  DRAWTEXT(ISLASTBAR=1,机构买*0.95,''),LINETHICK2,COLORRED;

  DRAWTEXT(ISLASTBAR=1,机构卖*0.95,''),LINETHICK2,COLORFFFF55;

  VAR8:=BETWEEN(C/(SUM(AMOUNT,BARSCOUNT(C))/SUM(vol*100,BARSCOUNT(C))),1.05,0.95);

  VAR9:=IF(VAR8=0,MA(C,BARSCOUNT(C)),(SUM(AMOUNT,BARSCOUNT(C))/SUM(VOL*100,BARSCOUNT(C))));

  DRAWICON(crOSS((C/VAR9),1.03),机构买,5);

  VAR10:=1;

  VAR11:=STRCAT(STRCAT('机买',CON2STR((100*VAR2)/VAR6,0)),'%');

  VAR12:=STRCAT(STRCAT('机卖',CON2STR((100*VAR3)/VAR6,0)),'%');

  VAR13:=STRCAT(STRCAT('机构总买',CON2STR((100*(VAR2-VAR3))/VAR6,0)),'%');

  VAR14:=STRCAT(STRCAT('散买',CON2STR((100*VAR4)/VAR6,0)),'%');

  VAR15:=STRCAT(STRCAT('散卖',CON2STR((100*VAR5)/VAR6,0)),'%');

  VAR16:=STRCAT(STRCAT('散户总买',CON2STR((100*(VAR4-VAR5))/VAR6,0)),'%');

  DRAWTEXT_FIX(VAR10=1,0.801,0.05,0,VAR11),COLORRED;

  DRAWTEXT_FIX(VAR10=1,0.801,0.15,0,VAR12),COLORGREEN;

  DRAWTEXT_FIX(VAR10=1,0.801,0.25,0,VAR14),COLORRED;

  DRAWTEXT_FIX(VAR10=1,0.801,0.35,0,VAR15),COLORGREEN;

  DRAWTEXT_FIX(VAR10=1,0.801,0.65,0,VAR13),LINETHICK5,COLORCYAN;

  DRAWTEXT_FIX(VAR10=1,0.801,0.50,0,VAR16),LINETHICK5,COLORCYAN;

  VAR17:=(机构进出+VAR7)/VAR1,NODRAW;

  VAR18:=STRCAT(STRCAT('主力净买',CON2STR(VAR17,0)),'%');

  DRAWTEXT_FIX(VAR10=1,0.801,0.80,0,VAR18),COLORMAGENTA;

  VAR19:=SUM(V*C,0)/SUM(V,0);

  地:EMA(VAR19,50)/0.97,LINETHICK2,COLORGREEN,NODRAW;

  VAR20:=COUNT(V>4000 AND C>REF(C,1),0);

  VAR21:=COUNT(V>DYNAINFO(16)*10 AND C>REF(C,1),0);

  DRAWICON(VAR20>REF(VAR20,1) AND VAR21>REF(VAR21,1) AND CROSS(C,地),机构买,24);

  VAR22:=EMA((CLOSE+HIGH+LOW)/3,2);

  VAR23:=MAX((DYNAINFO(3)),EMA(DYNAINFO(5),5));

  VAR24:=MIN((DYNAINFO(3)),EMA(DYNAINFO(6),5));

  VAR25:=(COST(95)+DYNAINFO(11))/2;

  VAR26:=(COST(5)+DYNAINFO(11))/2;

  VAR27:=CONST((VAR23+VAR25)/2);

  VAR28:=CONST((VAR24+VAR26)/2);

  VAR29:=(3*SMA((C-LLV(L,54))/(HHV(H,54)-LLV(L,54)),3,1)-2*SMA(SMA((C-LLV(L,54))/(HHV(H,54)-LLV(L,54)),3,1),3,1));

  VAR30:=MEMA(VAR29,10);

  VAR31:=EMA(VAR30,10);

  VAR38:=IF(EXIST(CROSS(VAR27,VAR22),5) AND EXIST(C>VAR27,10) AND VAR30

  VAR39:=IF(EXIST(CROSS(VAR22,VAR28),5) AND EXIST(CLLV(VAR30,10) AND VAR31>REF(VAR31,1),1,0);

  DRAWICON(VAR38=1 AND REF(VAR38,1)=0,机构买,8);

  DRAWICON(VAR39=1 AND REF(VAR39,1)=0,机构买,7);

 

最新文章

随便看看