最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信主力机构动向指标公式源码

    正文概述    2024-05-04 04:43:19  

    以下是通达信动向指标公式源码和截图


    通达信主力机构动向指标公式源码:


       MTM:=C-REF(C,1);

       VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);

       VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);

       VAR3:=EMA(VAR2,10);

       VAR4:=LLV(LOW,33);

       VAR5:=EMA(IF(LOW =VAR4,VAR3,0),3);

       主力进场:IF(VAR5 REF(VAR5,1),VAR5,0),colorred,NODRAW;

       STICKLINE(VAR5 REF(VAR5,1),0,VAR5,3,0),COLOR000055;

       STICKLINE(VAR5 REF(VAR5,1),0,VAR5,2.6,0),COLOR000077;

       STICKLINE(VAR5 REF(VAR5,1),0,VAR5,2.1,0),COLOR000099;

       STICKLINE(VAR5 REF(VAR5,1),0,VAR5,1.5,0),COLOR0000BB;

       STICKLINE(VAR5 REF(VAR5,1),0,VAR5,0.9,0),COLOR0000DD;

       STICKLINE(VAR5 REF(VAR5,1),0,VAR5,0.3,0),COLOR0000FF;

       洗盘:IF(VAR5 REF(VAR5,1),VAR5,0),colorgreen,NODRAW;

       STICKLINE(VAR5 REF(VAR5,1),0,VAR5,3,0),COLOR005500;

       STICKLINE(VAR5 REF(VAR5,1),0,VAR5,2.6,0),COLOR007700;

       STICKLINE(VAR5 REF(VAR5,1),0,VAR5,2.1,0),COLOR009900;

       STICKLINE(VAR5 REF(VAR5,1),0,VAR5,1.5,0),COLOR00BB00;

       STICKLINE(VAR5 REF(VAR5,1),0,VAR5,0.9,0),COLOR00DD00;

       STICKLINE(VAR5 REF(VAR5,1),0,VAR5,0.3,0),COLOR00FF00;

       VAR1C:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),13)/4*VAR1;

       VAR1D:=EMA(CLOSE,2)-EMA(CLOSE,89)*VAR1;

       VAR1E:=EMA(VAR1D,21)*VAR1;

       VAR1F:=2*(VAR1D-VAR1E)*10*VAR1;

       VAR20:=POW(VAR1F,3)*0.1+POW(VAR1F,2)*VAR1;

       VAR21:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));

       VAR22:=EMA(VAR21*0.97,3)*VAR1;

       VAR23:=(HIGH+LOW+CLOSE)/3*VAR1;

       VAR24:=(VAR23-MA(VAR23,14))/(0.015*AVEDEV(VAR23,14))*VAR1;

       VAR25:=IF(VAR1F 0.013,VAR20,0)/34*VAR1;

       拉升:VAR25*5,colorred,LINETHICK2;

       VAR26:=EMA(CLOSE,3)-EMA(CLOSE,144);

       VAR27:=EMA(VAR26,55);

       VAR28:=2*(VAR26-VAR27);

       VAR29:=POW(VAR28,3)*0.1+POW(VAR28,1);

       VAR2A:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));

       VAR2B:=EMA(VAR2A*0.97,3);

       VAR2C:=(HIGH+LOW+CLOSE)/3;

       VAR2D:=(VAR2C-MA(VAR2C,14))/(0.015*AVEDEV(VAR2C,14));

       主力资金:IF(VAR28 0.01,VAR29*200,-100),LINETHICK2,coloryellow;

       STICKLINE(VAR25 0,0,拉升资金,2,1),colorred;

       N1:=13;

       N2:=5;

       MTM:=C-REF(C,1);

       ZLGJ:=MA(100*EMA(EMA(MTM,N1),N1)/EMA(EMA(ABS(MTM),N1),N1),2),colorwhite;

       MAZL:=MA(MA(ZLGJ,N2),3),coloryellow;

       DRAWICON(CROSS(ZLGJ,MAZL)ANDMA(C,5) =REF(MA(C,5),1)ANDMA(C,2) =REF(MA(C,2),1),MA(拉升资金,5),9);

       DRAWICON(CROSS(MAZL,ZLGJ)ANDMA(C,5) REF(MA(C,5),1),MA(拉升资金,5),2);

       A1:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100;

       BL:=/CAPITAL*100;

       STICKLINE(A1 =0,0,A1*50,1,1),coloryellow;

       A1Q:=34;

       实体比例:=(CLOSE-OPEN)/REF(CLOSE,1);

       冲击系数:=MA(实体比例,A1Q),colorred;

       回头线:=MA(MA(冲击系数,2),2),coloryellow;

       DRAWICON(CROSS(冲击系数,回头线)ANDMA(C,5) =REF(MA(C,5),1),MA(拉升资金,5),1);

       量化1:=(vol/C)/2,NODRAW;

       量化2:=SUM(IF(量化1 100ANDCLOSE REF(CLOSE,1),量化1,0),0);

       量化3:=SUM(IF(量化1 100ANDCLOSE REF(CLOSE,1),量化1,0),0);

       量化4:=SUM(IF(量化1 100ANDCLOSE REF(CLOSE,1),量化1,0),0);

       量化5:=SUM(IF(量化1 100ANDCLOSE REF(CLOSE,1),量化1,0),0);

       量化6:=量化2+量化3+量化4+量化5;

       机买:(量化2/量化6)*100-100,LINETHICK1,COLORRED;

       机卖:(量化3/量化6)*100-100,LINETHICK1,COLORGREEN;

       DRAWBAND(机买,RGB(80,10,10),机卖,RGB(10,80,10));

       VLST1:=(C*2+H+L)/4*10;

       VLST2:=EMA(VLST1,13)-EMA(VLST1,34);

       VLST3:=EMA(VLST2,5);VLST4:=2*(VLST2-VLST3)*5.5;

       主力进:IF(VLST4 =0,VLST4*3,0),COLORCYAN;

       DRAWBAND(主力进,RGB(200,10,10),0,RGB(10,200,10));

       V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);

       线:=EMA(V11,3);

       V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100;

       见顶清仓:STICKLINE(趋势线 =90ANDV12,50,60,2,0),COLORCYAN;

       神奇:=HHV(MA(H,13),45),COLORMAGENTA,LINETHICK1;

       :=IF(BETWEEN(C/(SUM(AMOUNT,0)/SUM(VOL*100,0)),1.05,0.95)=0,MA(C,0),(SUM(AMOUNT,0)/SUM(VOL*100,0))),COLORYELLOW;

       均线H:=(均线*1.007),COLORFF6600;

       放量:=SUM(VOL,6) REF(MA(VOL,30),1)*10;

       横盘:=((HHV(CLOSE,BARSCOUNT(CLOSE))-LLV(CLOSE,BARSCOUNT(CLOSE)))/CLOSE)

       横涨:=横盘AND放量AND(C 均线H);

       YSY1:=EMA(EMA(CLOSE,9),9);

       控盘:=(分时YSY1-REF(分时YSY1,1))/REF(分时YSY1,1)*500;

       进货:=IF(控盘 REF(控盘,1)AND控盘 0,控盘,0);

       洗盘:=IF(控盘 REF(控盘,1)AND控盘 0,控盘,0);

       出货:=IF(控盘 0,控盘,0);

       比例1:=进货+洗盘;

       比例2:=-出货;

       差额:=(SUM(比例1,0)-SUM(比例2,0))/20;

       研究所11:=(VOL/C)/2;

       研究所2:=SUM(IF(研究所11 100ANDCLOSE REF(CLOSE,1),研究所11,0),0);

       研究所3:=SUM(IF(研究所11 100ANDCLOSE REF(CLOSE,1),研究所11,0),0);

       研究所4:=SUM(IF(研究所11 100ANDCLOSE REF(CLOSE,1),研究所11,0),0);

       研究所5:=SUM(IF(研究所11 100ANDCLOSE REF(CLOSE,1),研究所11,0),0);

       研究所6:=研究所2+研究所3+研究所4+研究所5;

       机买1:=(研究所2/研究所6)*100;

       机卖1:=(研究所3/研究所6)*100;

       主力差1:=机买1-机卖1;

       秋梦:=差额 0.1AND主力差1 0ANDREF(主力差1,1) =0AND差额+0.3;

       DRAWTEXT(秋梦,-40,'搏'),COLORYELLOW;

       D:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,21)-LLV(LOW,34))*100;

       FSZX:(EMA(D,3)-50)*2,COLORGRAY;

       线:-85,COLORCYAN,POINTDOT;

       见顶线:95,COLORGREEN,POINTDOT;

       BGTYU:=IF(DATE =1150530,1,0);

       GHYJKU:=BETWEEN((C*BGTYU)/(SUM(AMOUNT,BARSCOUNT((C*BGTYU)))/SUM(VOL*100,BARSCOUNT((C*BGTYU)))),1.05,0.95);

       VBNH:=IF(GHYJKU=0,MA((C*BGTYU),BARSCOUNT((C*BGTYU))),(SUM(AMOUNT,BARSCOUNT((C*BGTYU)))/SUM(VOL*100,BARSCOUNT((C*BGTYU)))));

       STICKLINE(expma(C,10) EXPMA(C,60),0,10,2.0,0),COLORGREEN;

       STICKLINE(EXPMA(C,10) EXPMA(C,60),15,25,2.0,0),COLORRED;

       STICKLINE(EXPMA((C/VBNH),120) 1.003,30,40,2.0,0),COLORMAGENTA;

       DRAWTEXT(FSZX =-95,-85,'↑'),COLORWHITE;

       DRAWTEXT(crOSS(EXPMA((C/VBNH),20),1.04),-50,'板'),COLORCYAN;

       DRAWTEXT(CROSS(EXPMA((C/VBNH),20),1.02),-60,'追'),COLORWHITE;

       DRAWTEXT(CROSS(EXPMA((C/VBNH),120),1.0029),-80,'量'),COLORWHITE;

       DRAWICON(CROSS(EXPMA((C/VBNH),120),1.004),0,17);

       N:=1.5;

       买:=(量化2/量化6);

       卖:=(量化3/量化6);

       TT:=EXPMA(C,10) EXPMA(C,60)ANDEXPMA((C/VBNH),120) 1.003AND趋势线 =90ANDV12ANDVLST4

       XG:=Abs((买-卖))/ABS((REF(买,1)-REF(卖,1))) =NAND买 卖ANDTT;

       分时J1:=EMA(EMA(CLOSE,13),13);

       控盘2:=(分时J1-REF(分时J1,1))/REF(分时J1,1)*1000;

       STJ01:=控盘2 REF(控盘2,1)AND控盘2

       STJ02:=控盘2

       龙哥2:=控盘2 REF(控盘2,1)AND控盘2 -0.2;

       龙哥22:=控盘2 REF(控盘2,1)AND控盘2

       JJ:=DYNAINFO(11);

       P:=55;S:=8;M1:=3;

       能量:=(EMA(CLOSE,S)-EMA(C,P))*10;

       空头:=EMA(能量,M1),COLOR00FF00;

       龙哥1:=(CLOSE-JJ)/JJ -0.005;

       龙哥11:=(CLOSE-JJ)/JJ -0.03;

       龙哥12:=COUNT(JJ =REF(JJ,1),5) =4AND(CLOSE-JJ)/JJ 0.005;

       STJ1:=(C-JJ)/JJ 0.005;

       龙哥3:=CROSS(能量,空头)AND能量 -0.3;

       龙哥32:=CROSS(能量,空头)AND能量 -0.1;

       STJ31:=CROSS(空头,能量);

       STJ32:=CROSS(空头,能量)AND能量 1.618;

       A:=8;

       龙哥81:=FILTER(龙哥1AND龙哥2AND龙哥3,A);

       龙哥811:=FILTER(龙哥11AND龙哥2AND龙哥3,A);

       龙哥82:=FILTER(龙哥12AND龙哥22AND龙哥32,A);

       时长:=IF(HOUR =9ANDHOUR 14,1,0);{9点至14点}

       捡钱:=龙哥811ANDTIME 15AND时长;

       STICKLINE(捡钱,-90,-30,1,0),COLORRED;

       DRAWTEXT(捡钱,-30,'关'),COLORLIMAGENTA;

       主力差:=机买-机卖;

       LQH:=主力差 0ANDREF(主力差,1)

       STICKLINE(LQH,-30,30,2,0),COLORYELLOW;

       DRAWTEXT(LQH,-30,'入'),COLORYELLOW;

       :=FILTER(横涨,100);

       STICKLINE(突破,30,90,4,0),COLORWHITE;

       DRAWTEXT(突破,30,'突'),COLORWHITE;

       -85;

       VAR1C:=(HIGH-MIN(OPEN,CLOSE));

       VAR2C:=(CLOSE-OPEN);

       VAR3C:=(MIN(OPEN,CLOSE)-LOW);

       VAR4C:=(HIGH-LOW);

       VAR5C:=((VOL*VAR1C)/VAR4C);

       VAR6C:=((VOL*VAR2C)/VAR4C);

       VAR7C:=((VOL*VAR3C)/VAR4C);

       VAR8C:=((VAR5C-VAR6C)-VAR7C);

       大机构:SUM(VAR8C,13)/MA(VOL,13)/13,LINETHICK1,COLOR0000FF;

       小机构:SUM(VAR8C,21)/MA(VOL,21)/21,LINETHICK1,COLORFFFF00;

       :SUM(VAR8C,30)/MA(VOL,30)/30,COLORFF00FF;

       股票:SUM(VAR8C,125)/MA(VOL,125)/125,LINETHICK2,COLOR00FFFF;

       VAR4:=MA(CLOSE,5);

       VAR5:=MA(CLOSE,10);

       VAR6:=MA(CLOSE,30);

       VAR7:=MA(CLOSE,60);

       VAR8:=EMA(COST(85),7);

       VAR9:=EMA(COST(15),7);

       VARA:=(SUM(((CLOSE*VOL)*100),4)/SUM((VOL*100),4));

       VARB:=(INTPART((VARA*100))/100);

       VARC:=(SUM(((CLOSE*VOL)*100),7)/SUM((VOL*100),7));

       VARD:=(INTPART((VARC*100))/100);

       VARE:=(SUM(((CLOSE*VOL)*100),28)/SUM((VOL*100),28));

       VARF:=(INTPART((VARE*100))/100);

       趋势:(EMA(CLOSE,5)-EMA(CLOSE,10));

       趋势:EMA(短线趋势,9);

       VAR10:=((0-((100*(HHV(CLOSE,5)-CLOSE))/(HHV(CLOSE,5)-LLV(LOW,5))))+100);

       VAR11:=((0-((100*(HHV(CLOSE,10)-CLOSE))/(HHV(CLOSE,10)-LLV(LOW,10))))+100);

       VAR12:=((0-((100*(HHV(CLOSE,20)-CLOSE))/(HHV(CLOSE,20)-LLV(LOW,20))))+100);

       VAR13:=((0-((100*(HHV(CLOSE,30)-CLOSE))/(HHV(CLOSE,30)-LLV(LOW,30))))+100);

       VAR14:=REF(中线趋势,1);

       VAR15:=中线趋势;

       VAR16:=(VAR15-VAR14);

       VAR17:=REF(短线趋势,1);

       VAR18:=短线趋势;

       VAR19:=(VAR18-VAR17);

       VAR1A:=OPEN;

       VAR1B:=CLOSE;

       发现机构入场:IF((((((((VAR1A =VAR4)AND(VAR1A =VAR5))AND(VAR1A =VAR6))AND(VAR1B =VAR4))AND(VAR1B =VARF))AND(VAR16 0))AND(VAR19 0)),0.5,0),LINETHICK2,COLOR66FF00;

       短线指标:IF(((((CROSS(短线趋势,中线趋势)AND(短线趋势 0))AND(中线趋势 (0-0.2)))AND(VAR11 45))AND(VAR16 0)),0.3,0.1),COLOR66FF00;



    通达信主力机构动向指标公式截图

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信主力机构动向指标公式源码 加入收藏