通达信抛吸双重操作线指标公式

通达信牛股起爆点选股指标公式

通达信抛吸双重操作线指标公式:

N:=5;

N4:=34;

VAR1:=(C-REF(C,1))/REF(C,1);

VAR2:=(INDEXC-REF(INDEXC,1))/REF(INDEXC,1);

VARA:4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1),COLORYELLOW,LINETHICK0;

VARB:8,COLORGREEN,LINETHICK0;

个股:=EMA(SUM(VAR1,20),5);

大盘:=EMA(SUM(VAR2,20),5);

领涨:=(个股-大盘)>=0;

准备拉升: IF(crOSS(VARA,VARB),40,0),stICK,COLOR0000CC;

压住庄家: IF(VARA<=8,20,0),STICK,COLORWHITE;

VAR3:=(C-LLV(L,125))/(HHV(H,125)-LLV(L,125))*100;

VAR4:=SMA(VAR3,72,1);

VAR5:=SMA(VAR4,34,1);

中线趋势:=3*VAR4-2*VAR5;

中线趋势升:=(中线趋势-REF(中线趋势,1))>=0;

均五升:(MA(C,5)-REF(MA(C,5),1))>=0;

均十升:(MA(C,10)-REF(MA(C,10),1))>=0;

STICKLINE(均五升 AND 均十升 AND 中线趋势升,0+0.5,0-0.5,6,1),COLORFFFF00,LINETHICK4;

强势:IF(均五升 AND 均十升 AND 中线趋势升 AND 领涨,4,0),COLORFF99FF;

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

VAR7:=LLV(L,N);

VAR8:=HHV(H,N);

VARO5:=LLV(LOW,27);

VARO6:=HHV(HIGH,34);

VARO7:=EMA((CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25;

操作:EMA((VAR6-VAR7)/(VAR8-VAR7)*100,13)-50,LINETHICK0,COLORRED;

趋势:EMA(0.618*REF(操作,1)+0.382*操作,3),COLORFFFF00,LINETHICK2;

建仓区:IF((VARO7<10),80,100) ,COLOR00CCFF;

短线成本:=EMA(CLOSE,17),COLORWHITE;

STICKLINE(操作>趋势 AND 操作>=REF(操作,1),操作+5,趋势-1,3.5,0),COLORRED,LINETHICK2;

STICKLINE(操作>=趋势,趋势,趋势,3.5,0),COLORYELLOW,LINETHICK2;

STICKLINE(操作<趋势,趋势+0.5,趋势-0.5,3.5,0),COLORFFFF00,LINETHICK2;

STICKLINE(强势=4,操作+6,趋势-1,4,0),COLORFF99FF;

A:=(3*C+L+O+H)/6;

X:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+

REF(A,20))/210;

强弱界:0,COLORFFFF00;

STICKLINE(操作>=趋势 AND 均五升 AND 均十升 AND 中线趋势升,趋势-3,趋势-7,4,0),COLOR64A0E6;

运动:=IF(操作>=趋势 AND 均五升 AND 均十升 AND 中线趋势升 AND 趋势<0,1,0);

买进:IF(运动=1 AND COUNT(运动=1,5)=1,8,0),COLORRED,LINETHICK1;

DRAWTEXT(买进=8,操作,'买进'),COLORCC33CC;

bias1:=(C-MA(C,6))/MA(C,6)*100;

BIAS2:=(C-MA(C,12))/MA(C,12)*100;

BIAS3:=(C-MA(C,24))/MA(C,24)*100;

BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;

乖离:=MA(BIAS,3);

准备:STICKLINE(乖离<-6 AND 乖离>=-12,-6,0,6,1 ),COLOR33FFCC;

抄底一:IF(乖离<-12 AND 乖离>=-18,-12,0),COLOR33CCCC,STICK;

STICKLINE(乖离<-12 AND 乖离>=-18,-12,0,6,0) ,COLOR33CCCC;

抄底二:IF(乖离<-18,-18,0),COLOR3399CC,STICK;

STICKLINE(乖离<-18,-18,0,6 ,0) ,COLOR3399CC;

指标网:=(HHV(HIGH,21)-C)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;

中期:=100*(C-LLV(L,N4))/(HHV(C,N4)-LLV(L,N4));

持股:=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);

抄底:IF(买进=8 AND COUNT(乖离<-12,10)>=1,10,0),LINETHICK0,COLORRED;

KJ:-20;

中线成本:=EMA(X,13),COLORFF00FF;

STICKLINE(BArslAST(短线成本<中线成本)>30,95,100,5,0),COLORRED;

STICKLINE(BARSLAST(短线成本>中线成本)>30,0,5,5,0),COLORGREEN;

通达信基金私募仓位选股指标公式