通达信主力机构动向副图指标 源码 贴图
2023-05-17 11:53:00来源:本站整理浏览:1358
通达信主力机构动向副图指标 源码 贴图
量化1:=(VOL/C)/2,NODRAW;{公式网WWW.GPXIAZAI.COM}
量化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);
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;{公式网WWW.GPXIAZAI.COM};
量化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);
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;{公式网WWW.GPXIAZAI.COM};
- 上一篇公式:通达信反弹出击副图指标 源码 贴图
- 下一篇公式:通达信上涨回踩买副图指标 源码 贴图