当前位置:网站首页 > 公司消息 >

通达信金宝盆主力资金指标公式

时间:2021-03-26 09:53来源:网络整理 作者:采集侠 点击:

B:=SUM(A,1)/SUM(VOL,1);

B1:=EMA(B,17);

主力:=(B-B1)*500/B,COLORRED;

进:STICKLINE(主力>=0 AND 0>=REF(0,1),0,主力,1,0),COLORRED;

出:STICKLINE(主力<0 AND 0>=REF(0,1),0,主力,1,0),COLORGREEN;

K2:=EMA(C,5),COLORFFFF00;

K3:=EMA(C,10),COLORFFFF00;

K5:=EMA(C,30),COLORFFFF00;KK5:=EMA(INDEXC,30),COLORFFFF00;

K6:=2*(K2-K5);K7:=2*(K2-K3);K8:=2*(K7+K6),COLORRED;

RSV1:= (CLOSE-LLV(LOW,4))/(HHV(HIGH,4)-LLV(LOW,4))*100;

FASTK:=SMA(RSV1,3,1);

龙K:=SMA(FASTK,2,1);

龙D:=SMA(龙K,5,1);

VA06:=(2*CLOSE+HIGH+LOW)/4;

VA07:=LLV(LOW,13);

VA08:=HHV(HIGH,13);

VA09:=EMA((VA06-VA07)/(VA08-VA07)*100,13);

VAA1:=EMA(0.667*REF(VA09,1)+0.333*VA09,2);

STICKLINE(CROSS(K8,0) AND 龙K>=龙D AND VA09>VAA1,0,1,8,0) ,COLORRED;

K1:=IF(K8>REF(K8,5) AND K3<REF(K3,5) ,1,0 ),COLORYELLOW;

K21:=IF(K8>REF(K8,7) AND K3<REF(K3,7) ,1,0 ),COLORYELLOW;

K31:=IF(K8>REF(K8,9) AND K3<REF(K3,9) ,1,0 ),COLORYELLOW;

K4:=IF(K8>REF(K8,11) AND K3<REF(K3,11) ,1,0 ),COLORYELLOW;

底部:=(K1 OR K21 OR K31 OR K4) AND K8<0 AND K8>REF(K8,1),NODRAW ,COLORYELLOW;

STICKLINE(底部 AND COUNT(底部,6)=1,0.4,0,8,0) ,COLORYELLOW;

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

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

VA3:=EMA(VA2,10)/100;

VA4:=LLV(LOW,33);

VA5:=EMA(IF(LOW<=VA4,VA3,0),3);

洗盘:=IF(VA5<REF(VA5,1),VA5,0),COLORGREEN,NODRAW;

STICKLINE(VA5<REF(VA5,1) {AND COUNT(VA5>REF(VA5,1),10)=1},0,VA5*2,3,0 ),COLORBLUE;

拉升:=IF(VA5>REF(VA5,1) {AND 平均线>=REF(平均线,1)} ,VA5,0),COLORRED,NODRAW;

VA6:=IF(VA5>=100,100,VA5);

STICKLINE(VA5>REF(VA5,1){AND 平均线>=REF(平均线,1) AND COUNT(VA5<REF(VA5,1),5)=1},0,VA6*2,3,0),COLORLIRED;

XP:=REF(洗盘,1);

LS:=拉升;

XPLS:=(XP AND LS);

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

VR4:=EMA(VR3,10);

VR5:=REF(VR4,1);

主力线:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*

SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),LINETHICK1,POINTDOT;

VAR3:=MA(CLOSE,13);

VAR4:=(100-ABS((CLOSE-VAR3)/VAR3*100))/100;

VAR5:=LLV(LOW,75);

VAR6:=HHV(HIGH,75);

VAR7:=(VAR6-VAR5)/100;

VAR8:=SMA((CLOSE-VAR5)/VAR7,20,1);

VARA:=3*VAR8-2*SMA(VAR8,15,1);

吸筹A:=(100-VARA)/100,COLOR0099FF,LINETHICK2;

吸筹:=IF(吸筹A>1.09*REF(吸筹A,1),1,0),COLORRED,NODRAW;

STICKLINE(吸筹,0,1,2,1 ),COLORYELLOW;

大底:=EXIST(CROSS( 吸筹A,1),6),NODRAW,COLORMAGENTA;

VARD:=吸筹A>VAR4;

差:=吸筹A-VAR4,COLORYELLOW,NODRAW;

JX:=(MA(C,10)*30+MA(C,30)*10+MA(C,60)*5+MA(C,120)*3)/(3+5+10+30);

JXMA:=MA(JX,10);

DRAWICON(CROSS(JX,JXMA),-0.3,1);

DRAWICON(CROSS(JXMA,JX),2,2);

DRAWICON(CLOSE>REF(HHV(HIGH,20),1),2,6);

DRAWICON(CLOSE<REF(LLV(LOW,20),1),-0.5,1),COLORYELLOW;

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

VAR300:=SMA(SMA(VAR200,3,1),3,1)/28.57;

VAR400:=EMA(VAR300,5);

操盘:=3*VAR300-2*VAR400;

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

STICKLINE(A1,主力,主力+0.4,8,0),COLORYELLOW;

STICKLINE(A1,主力,主力+0.3,4,0),COLORBB00BB;

DRAWTEXT(A1 AND 主力<0 AND VR4>=VR5 ,主力-0.06,’底部’),COLORGREEN;

DRAWTEXT(XPLS {AND VR4>=VR5} AND COUNT(XPLS,6)=1,1.35,’洗尾’),COLORGREEN;

VARE:=REF(LOW,1)*0.9;

VARF:=LOW*0.9;

VAR11:=EMA(VARF,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;

STICKLINE(VARD,VAR4,吸筹*3,1,0),COLORRED;

STICKLINE(VAR20,0,1.20,1,0),COLORBROWN,LINETHICK2;

VAR61:=(HIGH+LOW)/2;

VAR81:=LLV(LOW,35);

VARB1:=HHV(HIGH,35);

BB:=EMA((VAR61-VAR81)/(VARB1-VAR81)*100,9);

金宝盆:=EMA(0.667*REF(BB,1)+0.333*BB,2),LINETHICK0;

GC3:=LLV(BB,198);

GC4:=HHV(BB,188);

DRAWTEXT(FILTER(GC4>REF(GC4,1),7) ,2.8,’见顶’);

CC0:=(BB-金宝盆<0.3)

AND (BB<25)AND (HIGH+LOW)/2<MA((HIGH+LOW)/2,13)*0.98 AND (HIGH+LOW)/2>REF((HIGH+LOW)/2,1);

DD:=FILTER(CC0,10);

DRAWTEXT(DD ,主力+0.2,’还有一跌’);

{DRAWICON(DD,19,9);}

GG:=(BB-金宝盆<0.6)AND (BB<30)AND (HIGH+LOW)/2<MA(C,13)*0.996 AND (HIGH+LOW)/2>REF((HIGH+LOW)/2,1);

HH:=FILTER(GG,10);

{DRAWTEXT(HH AND QS<20,25,’逃底点’),COLOR43D0FA;}

{DRAWICON(HH,20,10);}

EE:=(BB-金宝盆>0.55)AND (BB>70) AND (HIGH+LOW)/2>MA((HIGH+LOW)/2,13)*0.96 AND (HIGH+LOW)/2<REF((HIGH+LOW)/2,1);

{FF:=FILTER(EE,10);

DRAWTEXT(FF AND QS>80,70,’逃’),COLOR43D0FA;}

DRAWTEXT(FILTER(GC3>REF(GC3,1),5)AND BB<40 AND 金宝盆>REF(金宝盆,1),主力-0.2,’将见底’);

DIFF1:=EMA(CLOSE,12)-EMA(CLOSE,26);

DEA1:=EMA(DIFF1,9);

买:=CROSS(DIFF1,DEA1),NODRAW;

DRAWTEXT(买 AND COUNT(买,25)=1,主力-0.6,’☆买’),COLORMAGENTA;

(责任编辑:admin)
------分隔线----------------------------