通达信绝地反击源码

通达信潜伏涨停3源码附图 _源码_通达信

通达信绝地反击源码 :

A:=(3*CLOSE+LOW+OPEN+HIGH)/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;

S2:=SMA(CLOSE,3,1);

S6:=SMA(CLOSE,5,1);

DK:=2*(S2-S6);

主力成本:EMA(X,13),COLORMAGENTA,LINETHICK0;

短期底部:LLV(HIGH,30),COLORFFCC00,LINETHICK2;

NOTEXT1:IF(MA(CLOSE,3),MA(CLOSE,3),DRAWNULL),COLORYELLOW,LINETHICK2;

NOTEXT2:IF(MA(CLOSE,9),MA(CLOSE,9),DRAWNULL),COLORMAGENTA,LINETHICK2;

NOTEXT3:IF(MA(CLOSE,23.5),MA(CLOSE,23.5),DRAWNULL),COLORBROWN,LINETHICK2;

TDXSTEP141:DRAWKLINE(HIGH,OPEN,LOW,CLOSE);

MA5:=MA(CLOSE,5);

MA10:=MA(CLOSE,10);

MA30:=MA(CLOSE,30);

FA:=BARSLAST(CROSS(MA10,MA5)) AND CROSS(MA5,MA10);

FB:=FA AND MA5>MA30 AND MA10>MA30 AND MA10>REF(MA10,1);

红牛:FB,NODRAW,COLORRED;

TDXSTEP142:STICKLINE(红牛,MIN(OPEN,CLOSE),MAX(OPEN,CLOSE),4,0),COLORRED;

V1:=EMA(CLOSE,5);

V2:=EMA(EMA(CLOSE,90)*1.01,10);

牛起步:CROSS(V1,V2),NODRAW,COLORMAGENTA;

TDXSTEP143:STICKLINE(牛起步,MIN(OPEN,CLOSE),MAX(OPEN,CLOSE),4,0),COLORMAGENTA;

VAR1:=LLV(LOW,21);

VAR2:=HHV(HIGH,21);

AK1:=EMA((CLOSE-VAR1)/(VAR2-VAR1)*100,5);

AK:=EMA((CLOSE-VAR1)/(VAR2-VAR1)*50,13);

AB:=CROSS(AK1,AK);

D牛窝:AB=1,NODRAW,COLORFF8080;

TDXSTEP144:STICKLINE(D牛窝,MIN(OPEN,CLOSE),MAX(OPEN,CLOSE),4,0),COLORFF8080;

AA1:=AMOUNT/VOL;

BB1:=LOW<AA1*0.9;

CC1:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>1.2;

DD1:=LOW<MA(CLOSE,5)*0.921;

EE1:=VOL<MA(VOL,5)*1.5;

铁树开花:=BB1 AND CC1 AND DD1 AND EE1;

VAR3AA:=IF(CLOSE>REF(CLOSE,1),88,0);

VAR4AA:=IF(CLOSE/REF(CLOSE,1)>1.05 AND HIGH/CLOSE<1.01 AND VAR3AA>0,91,0);

大胆搏:FILTER(VAR4AA>90,45),NODRAW,COLOR400080;

TDXSTEP145:STICKLINE(大胆搏,MIN(OPEN,CLOSE),MAX(OPEN,CLOSE),4,0),COLOR400080;

加仓:FILTER(VAR4AA>90,35),NODRAW,COLORYELLOW;

TDXSTEP146:STICKLINE(加仓,MIN(OPEN,CLOSE),MAX(OPEN,CLOSE),4,0),COLORYELLOW;

A1AA:=9;

A2AA:=REF(CLOSE,A1AA+1)<CLOSE;

小心变盘:FILTER(A2AA>(-0.5),84),NODRAW,COLOR40FF00;

TDXSTEP147:STICKLINE(小心变盘,MIN(OPEN,CLOSE),MAX(OPEN,CLOSE),4,0),COLOR40FF00;

VAR6:=REF(CLOSE,1);

VAR7:=SMA(MAX(CLOSE-VAR6,0),6,1)/SMA(ABS(CLOSE-VAR6),6,1)*100;

逃顶:CROSS(82,VAR7),NODRAW,COLORB76FFF;

TDXSTEP148:STICKLINE(逃顶,MIN(OPEN,CLOSE),MAX(OPEN,CLOSE),4,0),COLORB76FFF;

源码_通达信_通达信懒人炒股源码