通达信实战好指标 买卖点清晰 机会高一切 别错过通达信公式
公式源码:
WY:EMA(C,12)LINETHICK2,COLORYELLOW;
VAR1:=REF(CLOSE,1);
VAR2:=SMA(MAX(CLOSE-VAR1,0),7,1)/SMA(ABS(CLOSE-VAR1),7,1)*100;
VAR3:=CROSS(69,VAR2);
VARA:=FILTER(VAR3,4);
DRAWICON(VARA,HIGH*1.035,2);
DRAWTEXT(VARA,HIGH*1.04,'卖出'),COLORGREEN;
缩量:=V<REF(V,1);
新高:=C=HHV(C,20);
下跌:=LLV(C,3)*1.04<HHV(C,10);
回调:=BARSLASTCOUNT(缩量)>3 AND
EXIST(新高,8) AND 下跌 AND C>MA(C,60) AND O<MA(C,20);
DRAWTEXT(回调,LOW*1.04,'补仓'),COLORYELLOW;
VAR4:=REF(CLOSE,1);
VAR5:=SMA(MAX(CLOSE-VAR4,0),6,1)/SMA(ABS(CLOSE-VAR4),6,1)*100;
ROC:=(CLOSE-REF(CLOSE,12))/REF(CLOSE,12)*100;
DRAWTEXT(VAR5>REF(VAR5,1) AND VAR5>80 AND ROC<REF(ROC,1),HIGH*1.04,'风险'),COLORLIBLUE;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
G1:=C<REF(C,1) AND (REF(C,1)<REF(C,2)) AND (REF(C,2)<REF(C,3));
MA45:=MA((2*CLOSE+1.2*OPEN+HIGH+LOW)/5.2,4);
J5:=MA((2*CLOSE+1.2*OPEN+HIGH+LOW)/5.2,5);
MA4:=MA((MA45+J5)/2,1);
SSV:=(CLOSE-LLV(LOW,6))/(HHV(HIGH,6)-LLV(LOW,6))*100;
KKK:=SMA(SSV,3,1);
H1:=EMA(EMA(LLV(J5,15),2),2);
YY4:=LLV(C,5)*1.15<HHV(C,15)
AND LOW<H1 AND KKK<20
AND VOL/MA(V,10)<1.4
AND CLOSE/REF(CLOSE,1)>1.02
AND COUNT(G1,6)>=1
AND CLOSE>OPEN;
大盘股:=SUM(REF(V,1),8)/CAPITAL<15/100;
中盘股:=SUM(REF(V,1),8)/CAPITAL<25/100;
小盘股:=SUM(REF(V,1),8)/CAPITAL<30/100;
大盘股1:=SUM(REF(V,1),5)/CAPITAL<10/100;
中盘股1:=SUM(REF(V,1),5)/CAPITAL<14/100;
小盘股1:=SUM(REF(V,1),5)/CAPITAL<15/100;
DP:=CAPITAL>2500000;
ZP:=CAPITAL>600000 AND CAPITAL<2500000;
XP:=CAPITAL<600000;
综合:=IF(DP=1,大盘股 ,IF(ZP=1,中盘股,小盘股));
综合1:=IF(DP=1,大盘股1 ,IF(ZP=1,中盘股1,小盘股1));
振幅:=(REF(HHV(C,5),1)-REF(LLV(C,5),1))/REF(LLV(C,5),1)<5.3/100;
涨幅:=CLOSE/REF(C,1)>=1.048;
JX3:=V/MA(V,10);
YY3:=振幅 AND( 涨幅) AND C=HHV(C,5) AND 综合1 AND 综合
AND JX3<1.8 AND HHV(H,20)/C>1.04 ;
买入:=YY4 OR YY3 ;
DRAWTEXT(买入,LOW*1.01,'买入'),COLORLIRED;
BB:=C/HHV(C,5)<1.15;
下:=C<REF(C,1);
YF:=LAST(下,4,1)AND COUNT(C<REF(C,1)*0.95,5)>=2
AND (C>REF(C,1) OR C/O>1.035 OR (O/L>0.03 AND C>O))
AND BB AND (C-L)/C>0.02 AND J<0 AND (H-C)<(C-O);
YF1:=COUNT(下,5)>=3 AND COUNT(C<REF(C,1)*0.95,6)>=3
AND C*1.15<HHV(C,5) AND C>REF(C,1)
AND C>O AND J<2;
A44:=V<REF(V,1)*2.8 AND COUNT(C<O*0.95,2)=2;
A55:=((C-L)/C>0.02 OR C>REF(C,1)*1.01) AND A44;
A6:=FILTER(A55,1);
YF2:=A6 AND BB AND H>REF(L,1);
二档:=YF OR YF1 OR YF2;
DRAWTEXT(二档,LOW*1.01,'二档'),COLORLIMAGENTA;
TQ1:=(INDEXC-MA(INDEXC,58))/MA(INDEXC,58)<-0.152;
TQ2:=(C-EMA(C,58))/EMA(C,58)<-0.19;
买1:=TQ2 AND TQ1;
T4:=(C-MA(C,2))/MA(C,2)*100;
T5:=INDEXC;
T6:=MA(T5,13);
T7:=T6>1.050*T5;
T8:=(C-REF(C,26))/REF(C,26)*10;
T9:=T7;
T10:=T8<-2.30 ;
T11:=T4<-2.7 ;
T12:=T9 AND T10 AND T11 ;
T13:=CROSS(0.5,T12);
T14:=CROSS(T13,0.5);
T15:=BARSLAST(T14=1);
T16:=T15<=5 AND C<REF(C,T15) ;
买2:=T13 OR T16;
T17:= (C-MA(C,2))/MA(C,2)*100;
T18:=INDEXC;
T19:=MA(T18,56);
T20:=T18/T19<0.94;
T21:=(C-REF(C,26))/REF(C,26)*10;
T22:=T20;
T23:=T21<-2.55;
T24:=T17<-2.7;
T25:=T22 AND T23 AND T24;
T26:=CROSS(0.5,T25);
T27:=CROSS(T26,0.5);
T28:=BARSLAST(T27=1);
T29:=T28<=5 AND C<1.02*REF(C,T28);
底4:=T26 OR T29;
T30:= (C-MA(C,2))/MA(C,2)*100;
T31:=INDEXC;
T32:=MA(T31,13);
T33:=T32>1.050*T31;
T34:=(C-REF(C,26))/REF(C,26)*10;
T35:=T33;
T36:=T34<-2.69;
T37:=T30<-3.09;
T38:=T35 AND T36 AND T37;
T39:=CROSS(0.5,T38);
T40:=CROSS(T39,0.5);
T41:=BARSLAST(T40=1);
T42:=T41<=5 AND C<REF(C,T41);
买3:=COUNT(T39 OR T42,4)=4;
T43:=EMA(((C*1.1-LLV(LOW,630))/(HHV(HIGH,630)-LLV(LOW,630))-(C*0.9-LLV(LOW,630))/(HHV(HIGH,630)-LLV(LOW,630)))*80,5);
T44:=INDEXC;
T45:=MA(T44,5);
T46:=MA(T44,20);
T47:=MA(T44,30);
T48:=T45>T44*1.03 AND T46>T44*1.13;
T49:=T48;
目标:=COUNT(T43<6 AND T49,3)>=3;
新目标:=买3 OR 目标;
WYY:=((COUNT(买1 AND 底4,6)=6 OR COUNT(买1 AND 买2,4)=4 OR COUNT(买2 AND 底4,5)=5) OR 新目标)
AND C<MA(C,3) AND O<MA(C,3) ;
三档:=WYY;
DRAWTEXT(三档,LOW*1.01,'三档'),COLORLIMAGENTA;
VARQ1:=AMOUNT/VOL/14;
VARQ2:=(3*HIGH+LOW+OPEN+2*CLOSE)/14;
VARQ3:=SUM(AMOUNT,N)/VARQ1/14;
VARQ4:=DMA(VARQ2,VOL/VARQ3);
抄底:=(CLOSE-VARQ4)/VARQ4*100;
AAQ:=O>MA(C,5) OR O<MA(C,3);
BBQ:=(H-O)<(O-C)/2;
CCQ:=(O-C)/O>7/100;
WY7:=CROSS(-1.65,抄底) AND AAQ AND BBQ AND CCQ;
四档:=WY7;
DRAWTEXT(四档,LOW*1.01,'四档'),COLORLIMAGENTA;
特别提示:
选股预警指标编写 ,不同主流行情软件间指标转换。 请联系微信:396950280
一个聚百万原创指标公式圈子