当前位置: 网站首页 > 股票软件公式 > 通达信公式 > 文章 当前位置: 通达信公式 > 文章

通达信源码:大资金进场+简单操盘+成交量

点击: 次    来源:顶尖财经    作者:股市狙击 - 小 + 大

大资金进场:

大资金进场扫货副图无未来 一直在用的指标

 
大机构仓位:100*(1-WINNER(CLOSE)),COLORRED,LINETHICK3;
 
VAR2:=1/WINNER(CLOSE);
 
VAR3:=MA(CLOSE,13);
 
VAR4:=100-ABS((CLOSE-VAR3)/VAR3*100);
 
VAR5:=LLV(LOW,120);
 
VAR6:=HHV(HIGH,120);
 
VAR7:=(VAR6-VAR5)/100;
 
VAR8:=SMA((CLOSE-VAR5)/VAR7,20,1);
 
VAR9:=SMA((OPEN-VAR5)/VAR7,20,1);
 
VARA:=3*VAR8-2*SMA(VAR8,10,1);
 
VARB:=3*VAR9-2*SMA(VAR9,10,1);
 
VARC:=100-VARB;
 
基金私募仓位: (100-VARA),COLORYELLOW,LINETHICK2;
 
VARE:=REF(LOW,1)*0.9;
 
VARF:=LOW*0.9;
 
VAR10:=(VARF*VOL+VARE*(CAPITAL-VOL))/CAPITAL;
 
VAR11:=EMA(VAR10,30);
 
VAR12:=CLOSE-REF(CLOSE,1);
 
VAR13:=MAX(VAR12,0);
 
VAR14:=ABS(VAR12);
 
VAR15:=SMA(VAR13,7,1)/SMA(VAR14,7,1)*100;
 
VAR16:=SMA(VAR13,13,1)/SMA(VAR14,13,1)*100;
 
VAR17:=BARSCOUNT(CLOSE);
 
VAR18:=SMA(MAX(VAR12,0),6,1)/SMA(ABS(VAR12),6,1)*100;
 
VAR19:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;
 
VAR1A:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
 
VAR1B:=SMA((SMA(VAR1A,4,1)-50)*2,3,1);
 
VAR1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
 
VAR1D:=SMA(VAR1C,4,1);
 
VAR1E:=SMA(VAR1D,3,1);
 
VAR1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;
 
VAR20:=VAR18<=25 AND VAR19<-95 AND VAR1F>20 AND VAR1B<-30 AND VAR1E<30 AND VAR11-CLOSE>=-0.25 AND VAR15<22 AND VAR16<28 AND VAR17>50;
 
VAR21:=(HIGH+LOW+CLOSE)/3;
 
VAR22:=(VAR21-MA(VAR21,14))/(0.015*AVEDEV(VAR21,14));
 
VAR23:=(VAR21-MA(VAR21,70))/(0.015*AVEDEV(VAR21,70));
 
VAR24:=IF(VAR22>=150 AND VAR22<200 AND VAR23>=150 AND VAR23<200,10,0);
 
VAR25:=IF(VAR22<=-150 AND VAR22>-200 AND VAR23<=-150 AND VAR23>-200,-10,VAR24);
 
STICKLINE(VAR20,0,80,5,0),LINETHICK4,COLORRED;
 
DRAWTEXT(CROSS(VAR20,0.5) AND COUNT(VAR20=1,10)=1,90,'超级主力建仓!') , COLORRED;
 
VARF1:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA
 
((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
 
VAR101:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA
 
((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
 
VAR111:=VARF1<REF(VAR101,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
 
DRAWTEXT(VAR111 AND COUNT(VAR111,30)=1,70,'大资金进场'),LINETHICK1,COLORLIMAGENTA;
 
STICKLINE(VAR111 AND COUNT(VAR111,30)=1,1,60,5,0),COLORLIMAGENTA,LINETHICK4;





简单操盘公式,务求操盘变得更简单:

指标适用于上升趋势,震荡趋势就会出现信号多的况。

至于选股公式,找个高手帮改成选股公式吧(顶尖财经 股票学院: www.58188.com)
 

不求买在最低点,不求卖在最高点,只求中间有肉的那段。

红箭头买进,绿箭头卖出,操盘就这么简单。

适用上升趋势,震荡、下跌趋势慎用。

注意:指标只是参考,决策靠自己。
 

MA5:MA(C,5),COLORWHITE,LINETHICK2; 

MA20:MA(C,20),COLORFF00FF,LINETHICK2; 

MA90:MA(C,90),COLORFFCC66,LINETHICK1; 

Y1:=MA(C,5)>MA(C,20) AND MA(C,5)>MA(C,90) AND MA(C,90)>REF(MA (C,90),1); 

Y2:=Y1 AND CROSS(MA(C,20),MA(C,90)); 

DRAWICON(Y2,L-0.10,1); 

F1:=MA(C,5)>MA(C,90) AND MA(C,20)>MA(C,90) AND MA(C,90)>REF(MA (C,90),1); 

F2:=F1 AND CROSS(MA(C,5),MA(C,20)); 

DRAWICON(F2,L-0.10,5);

DRAWICON(CROSS(MA5,MA20),LOW*0.95,1);

DRAWICON(CROSS(MA5,MA90),LOW*0.95,1);

DRAWICON(CROSS(MA20,MA5),HIGH*1.05,2);

DRAWTEXT_FIX(1,0.01,0.05,0,'适用上升趋势'),COLORRED;




成交量:

万手:VOL/10000,LINETHICK0;

AA:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);

预测:AA/10000;

BB:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));

主动买:=IF(CLOSE>OPEN,BB*(HIGH-LOW),IF(CLOSE<OPEN,BB*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));

主买:主动买/10000,COLORRED;

主动卖:=IF(CLOSE>OPEN,0-BB*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-BB*(HIGH-LOW),0-VOL/2));

主卖:-主动卖/10000,COLORGREEN;

差额:(主动买+主动卖)/10000;

STICKLINE(CLOSE=REF(CLOSE,1),0,VOL,3.5,0),COLORWHITE;

STICKLINE(CLOSE>REF(CLOSE,1),0,VOL,3.5,0),COLORRED;

STICKLINE(CLOSE<REF(CLOSE,1),0,VOL,3.5,0),COLORGREEN;

STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 3.5 , 0 ) , COLOR00FFFF ;

STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 3.2 , 0 ) , COLOR007777 ;

STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 2.7 , 0 ) , COLOR009999 ;

STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 2.1 , 0 ) , COLOR00BBBB ;

STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 1.5 , 0 ) , COLOR00DDEE ;

STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 0.9 , 0 ) , COLOR66FFFF ;

STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 0.2 , 0 ) , COLORFFFFFF ;

STICKLINE(主动买>=0,VOL,-主动卖,3.2,0),COLOR000033;

STICKLINE(主动买>=0,VOL,-主动卖,2.7,0),COLOR000066;

STICKLINE(主动买>=0,VOL,-主动卖,2.1,0),COLOR000099;

STICKLINE(主动买>=0,VOL,-主动卖,1.5,0),COLOR0000CC;

STICKLINE(主动买>=0,VOL,-主动卖,0.9,0),COLOR0000FF;

STICKLINE(主动买>=0,VOL,-主动卖,0.2,0),COLORCC66FF;

STICKLINE(主动卖<=0,0,-主动卖,3.2,0),COLOR990000;

STICKLINE(主动卖<=0,0,-主动卖,2.7,0),COLORCC0000;

STICKLINE(主动卖<=0,0,-主动卖,2.1,0),COLORFF4400;

STICKLINE(主动卖<=0,0,-主动卖,1.5,0),COLORFF8800;

STICKLINE(主动卖<=0,0,-主动卖,0.9,0),COLORFFCC00;

STICKLINE(主动卖<=0,0,-主动卖,0.2,0),COLORCYAN;

持币:IF(SAR(10,2,20)>=H,SAR(10,2,20),DRAWNULL),COLOR00FF00,LINETHICK6;

持股:IF(SAR(10,2,20)<=L,SAR(10,2,20),DRAWNULL),COLORRED,LINETHICK6;

上一篇:通达信源码:筹码重心+大盘信息+强势趋势

下一篇:通达信源码:龙头启动+红上绿下副图