通达信机构动向副图指标 跟踪主力动向 源码 附图

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

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

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

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

量化5:=SUM(IF(量化1<100 AND CLOSE<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(趋势线>=90 AND V12,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)<1;

横涨:=横盘 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>100 AND CLOSE>REF(CLOSE,1),研究所11,0),0);

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

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

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

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

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

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

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

秋梦:=差额>0.1 AND 主力差1>0 AND REF(主力差1,1)<=0 AND 差额+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);

分时1:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;

分时2:=SMA(分时1,3,1);

分时3:=SMA(分时2,3,1);

分时4:=SMA(分时3,3,1);

分时8:=CROSS(分时2,分时3) AND 分时3>80 AND 分时3>分时4;

分时200:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;

分时300:=SMA(SMA(分时200,3,1),3,1)/28.57;

分时400:=EMA(分时300,5);

操盘:=3*分时300-2*分时400;

A1:=CROSS(操盘,分时300) AND 分时300<2.1 AND C>O;

分时E:=SMA(MAX(CLOSE-REF(CLOSE,1),0)/CLOSE,8,1)/SMA(ABS(INDEXC-REF(INDEXC,1))/INDEXC,8,1)*100-25;

分时F:=MA(分时E,3);

分时6:=((2)*(CLOSE)+HIGH+LOW)/(4);

分时11:=HHV(HIGH,34);

B1:=EMA(((分时6-分时8)/(分时11-分时8))*(100),8);

V1:=MA(C,5)=HHV(MA(C,5),20);

V2:=MA(C,5)>MA(C,10);

V3:=MA(V,5)>MA(V,40)*1.01;

V4:=COUNT(MA(C,1)>REF(C,1),2)=2;

VV:=V1 AND V2 AND V3 AND V4;

A2:=EMA(A1,20);

A3:=CROSS(A1,A2);

A4:=A1<EMA(CLOSE,120);

STICKLINE((A3 AND A4) OR (V1 AND V2 AND V3 AND V4),70,80,2,0),COLORLIRED;

现价:=CLOSE,COLORWHITE;

MA30:=EMA(CLOSE,30);

H1:=MAX(DYNAINFO(3),DYNAINFO(5));

L1:=MIN(DYNAINFO(3),DYNAINFO(6));

P1:=H1-L1;

阻力:=L1+P1*7/8,COLORGREEN;

支撑:=L1+P1*0.5/8,COLORMAGENTA;

DRAWICON(LONGCROSS(支撑,现价,2),-88,1);

DRAWICON(LONGCROSS(现价,阻力,2),95,2);

N:=1.5;

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

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

TT:=EXPMA(C,10)>EXPMA(C,60) AND EXPMA((C/VBNH),120)>1.003 AND 趋势线>=90 AND V12 AND VLST4>=0;

XG:=ABS((买-卖))/ABS((REF(买,1)-REF(卖,1)))>=N AND 买>卖 AND TT;

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

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

STJ01:=控盘2<REF(控盘2,1) AND 控盘2>0.5;

STJ02:=控盘2>0;

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

龙哥22:=控盘2>REF(控盘2,1) AND 控盘2<0 ;

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)>=4 AND (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(龙哥1 AND 龙哥2 AND 龙哥3,A);

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

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

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

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

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

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

主力差:=机买-机卖;

LQH:=主力差>0 AND REF(主力差,1)<=0;

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

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

突破:=FILTER(横涨,100);

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

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

-85;


未来函数检测结果如下:
该公式包含未来函数:DYNAINFO
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图