以下是通达信条件选股公式十一

{黄进蓝出}J:=(C*2+H+L)/4;K:=(EMA(J,13) – EMA(J,21))*180;D:=EMA(K,2);KK:=(K-D);DD:=-1*(K-D);SS:=CROSS(KK,DD);SS; ======================================== {黄金坑}GJTJ1:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));GJTJ2:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));GJTJ3:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));GJTJ4:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));A:=BARSLAST(CROSS(GJTJ4,GJTJ1))>3 AND BARSLAST(CROSS(GJTJ1,GJTJ4))<3;B:=BARSLAST(CROSS(GJTJ4,GJTJ2));D:=GJTJ3E:=BARSLAST(CROSS(GJTJ4,GJTJ3))>3 AND BARSLAST(CROSS(GJTJ1,GJTJ4))<3;F:=GJTJ2B1:=A>0 AND REF(A,1)=0 AND REF(A,2)>0; ENTERLONG:A AND B AND D AND E AND F; ========================================= {预警公式}LONG:=26;SHORT:=12;MID:=9;{以上三个参数是默认参数,可修改}DIF:=EMA(C,SHORT)-EMA(C,LONG);DEA:=EMA(DIF,MID);MACD:=(DIF-DEA)*2;M5:=MA(C,5);M10:=MA(C,10);同时金叉:CROSS(M5,M10) AND CROSS(DIF,DEA);{通达信和飞狐均能通过,在飞狐的公式编辑界面可把“快速计算”数值设为26以加快预警速度}; ========================================= {筹码突破}KK:=EMA(WINNER(C)*70,3);DD:=EMA((WINNER(C*1.1)-WINNER(C*0.9))*70,3);JJ:=DD-KK;SS:=CROSS(KK,JJ);SS; ========================================== {RSI选股}LC := REF(CLOSE,1);RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;选股:REF(RSI1,2)REF(RSI1,1); ========================================== {MACD,RSI,KDJ底背离选股}KDJ_K:=”KDJ.K”(9,3,3);KDJ_D:=”KDJ.D”(9,3,3);KDJ_J:=”KDJ.J”(9,3,3);买1:=CROSS(KDJ_J,0) OR (CROSS(KDJ_J,KDJ_K) AND KDJ_D<26);买2:=CROSS(“RSI.RSI1″(6,2,2),20) OR CROSS(“RSI.RSI1″(6,12,24),”RSI.RSI2″(6,12,24));买3:=CROSS(“MACD.DIF”,”MACD.DEA”) OR CROSS(“MACD.MACD”,0);买0:=买1+买2+买3;买:IF(买0>1,买0,0); =========================================== {专吸庄血 N=1,100,10} VAR1:=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);VAR2:=8; CROSS(VAR1,VAR2); ========================================== {一招绝}VAR326:=IF(CLOSE>REF(CLOSE,1),88,0);VAR327:=IF(CLOSE/REF(CLOSE,1)>1.050 AND HIGH/CLOSE<1.010 AND VAR326>0, 91, 0);XG:FILTER(VAR327>1,5); ========================================== {试试吧}VAR1:=4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1);VAR2:=8; MA1:=MA(CLOSE,5);MA2:=MA(CLOSE,10);XG:CROSS(VAR1,VAR2); ============================================= {老鼠仓的选股公式} AA1:=AMOUNT/VOL;BB1:=LCC1:=(C-REF(C,1))/REF(C,1)*100>1.2;DD1:=LEE1:=VOLFF1:BB1 AND CC1 AND DD1 AND EE1; ============================================ {收益选股}年认同价:=MA(C,240);收益价值:=年认同价+ FINANCE(33);收益一:=收益价值*1.835;TJA:=BETWEEN(L-收益一,0.01,-0.01);选股:TJA OR REF(TJA,1) OR REF(TJA,2) OR REF(TJA,3) ; ============================================ {沿途打劫庄家}RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);XG:(KREF(K,1)); ============================================= {疯牛绝佳买点}VAR1:=MA(HHV(HIGH,485),17);VAR2:=MA(HHV(HIGH,222),17);VAR3:=MA(HHV(HIGH,96),17);VAR4:=MA(LLV(LOW,485),17);VAR5:=MA(LLV(LOW,222),17);VAR6:=MA(LLV(LOW,96),17);VAR7:=MA((VAR4*0.96+VAR5*0.96+VAR6*0.96+VAR1*0.558+VAR2*0.558+VAR3*0.558)/6,17);VAR8:=MA((VAR4*1.25+VAR5*1.23+VAR6*1.2+VAR1*0.55+VAR2*0.55+VAR3*0.65)/6,17);VAR9:=MA((VAR4*1.3+VAR5*1.3+VAR6*1.3+VAR1*0.68+VAR2*0.68+VAR3*0.68)/6,17);VARA:=MA((VAR7*3+VAR8*2+VAR9)/6*1.738,17);VARB:=IF(V>0,VARA,VARA*DAY);VARC:=LOW;VARD:=REF(LOW,1);VARE:=SMA(ABS(VARC-VARD),3,1)/SMA(MAX(VARC-VARD,0),2,1)*100;VARF:=MA(IF(CLOSE*1.35<=VARB,VARE*10,VARE/10),2);VAR10:=LLV(LOW,30);VAR11:=HHV(VARF,30);绝佳买点:=IF(V>0,MA(IF(LOW<=VAR10,(VARF+VAR11*2)/2,0),2),100000000);I:=IF(CLOSE骤雨初晴:= ABS(EMA(I,13.3)-18)/WINNER(CLOSE)*IF((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)<-0.04,1,0); IF(CROSS(绝佳买点,24000),15,0 ) ; ========================================== {神密线选}X1:=(EMA(C,5)-EMA(C,13))/EMA(C,13)*100; X4:=(EMA(C,5)-EMA(C,120))/EMA(C,13)*100; Y1:=3*SMA((C-LLV(L,75))/(HHV(H,75)-LLV(L,75))*100,20,1); Y2:=2*SMA(SMA((C-LLV(L,75))/(HHV(H,75)-LLV(L,75))*100,20,1),15,1); Y3:=Y1-Y2; Y4:=100-Y3; Y5:=(0-(EMA(Y4,1)-50))+50;Y6:=(0-(EMA(Y4,12)-50))+50; X5:=V/CAPITAL*(C+O+L+H)/4; X6:=(H-MAX(C,O))-(MIN(C,O)-L)+(C-REF(C,1)); X7:=IF(X6>0,X5,0-X5); X8:=H-MAX(C,O)-(MIN(C,O)-L); X9:=(X7+X8)/2+C-REF(C,1); X10:=SUM(X9,0)+100; X11:=EMA(X10,5)+100; X12:=EMA(X10,13)+100; X15:=EMA(X10,120)+100; X16:=(X11-X12)/EMA(C,13)*100; X19:=(X11-X15)/EMA(C,13)*100; X20:=(X19-X16); Z1:=3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1); Z2:=2*SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1),3,1); Z3:=(Z1-Z2-50)*1.032+50; Z4:=(2*C+H+L+O)/5; Z5:=EMA((Z4-LLV(L,34))/(HHV(H,34)-LLV(L,34))*100,13); P0:=X4-X1+X20+Y5-Y6,COLORYELLOW;P4:=(Z3-Z5)/2+P0,COLORGREEN;CROSS(P4,P0) AND P4<40; ================================== {VR容量比率交易系统}WVR := SUM((IF(CLOSE>OPEN,VOL,0)+IF(CLOSE=OPEN,VOL/2,0)),26)/SUM((IF(CLOSEVOL变异率VR买入:CROSS(70,WVR); ======================================== {KDJMTM金叉选股}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;MTM:=CLOSE-REF(CLOSE,12);MAMTM:=MA(MTM,6);选股:CROSS(J,K)&&CROSS(MTM,MAMTM); ====================================== {通达信高手 N=20} M3:=MA(C,3);M5:=MA(C,5);M8:=MA(C,8);M13:=MA(C,13);TJ1:=M3>M5 AND M5>M8 AND M8>M13;DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIFF,9);MACD:=2*(DIFF-DEA);TJ2:=COUNT(MACD>0,N)=N;WR6:=100*(HHV(HIGH,6)-CLOSE)/(HHV(HIGH,6)-LLV(LOW,6));TJ3:=WR6>REF(WR6,1) AND REF(WR6,1)<70;选股:TJ1 AND TJ2 AND TJ3; ==================================== {红绿线选股}A:=MA(C,3)COLORGREEN,LINETHICK2;B:=A买: B-1 AND A ; ================================= {操盘黄金}新价:=(C+0.618*REF(C,1)+0.382*REF(C,2)+0.236*REF(C,3)+0.146*REF(C,4))/2.382,COLORYELLOW,LINETHICK1;GAO:=HHV(H,30)-LLV(L,30);指导线:=新价+(SMA(MAX(新价-REF(新价,1),0),5,1)/SMA(ABS(新价-REF(新价,1)),5,1)*GAO-GAO*0.5),COLORMAGENTA,LINETHICK1;平衡:=EMA(((SLOPE(CLOSE,22) * 20) + CLOSE),55),COLORRED,LINETHICK0;买:C>=平衡 AND CROSS(指导线,平衡); ========================================== {底部买入信号的选股公式}RSV:=((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9)))*(100);K:=SMA(RSV,3,1); D:=SMA(K,3,1); VAR1:=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);VAR2:=(CLOSE-LLV(CLOSE,62))/(HHV(CLOSE,62)-LLV(CLOSE,62))*100;VARB:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*(-100);VARC:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;VARD:=SMA(VARC,3,2);VARE:=SMA(VARD,3,2);AA:=EMA(VARE,2);买入:AA<20 AND AA>REF(AA,1)AND REF(AA,1)

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。