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

{黑马摇篮之小黑马} A:=(3*CLOSE+LOW+OPEN+HIGH)/6; D1:=(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))/211; D2:=EMA(D1,2); D3:=EMA(D2,2); K1:=EMA(D3,2); 小黑马:CROSS(D1,K1); ========================================== {黑马摇篮之大黑马} SS1:=(LOW+HIGH+CLOSE*2)/4; SS2:= MA(SS1,4); SS3:=HHV(SS2,10); SS4:=MA(SS3,3); SS5:=1.25*SS4-0.25*SS3; XKKJ:=IF(SS5>SS3,SS3,SS5); FF1:=LLV(SS2,10); FF2:=MA(FF1,3); FF3:=1.25*FF2-0.25*FF1; DKKJ:=IF(FF3MA13:=MA(C,13); ZDHM:=CROSS(C,DKKJ) AND CROSS(C,MA13) AND CROSS(C,XKKJ); ZHM:=CROSS(C,MA13) AND CROSS(C,XKKJ); 大黑马:ZDHM OR ZHM; ==================================== {黑马起步} A1:=VOL=HHV(VOL,120); A2:=CLOSE/OPEN>1.05; TJ:=A1 AND A2; TJ AND (REF(BARSLAST(TJ),1)>80 OR BARSSINCE(TJ)=0); ================================= {波段底部} YTC1:=LLV(LOW,5)=LLV(LOW,45) AND CLOSE>=OPEN*1.02; 底部吸筹指标:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100*YTC1, ; 波段底部:IF(CROSS(底部吸筹指标,-24),0,15)*YTC1; ================================= {起攀选股} VAR6:=(2*C+H+L)/4; VAR7:=LLV(L,27); VAR8:=HHV(H,27); 攀登:=EMA((VAR6-VAR7)/(VAR8-VAR7)*100,13)-50; 金山:=EMA(0.618*REF(攀登,1)+0.382*攀登,3); 起攀:CROSS(攀登,金山) AND C/REF(C,1)>1.02; {根据起攀图指标改编,这是精简后的指标}; ================================= {来抢钱吧} VAR1:=88; VAR2:=68; VAR3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; VAR4:=SMA(VAR3,3,1); VAR5:=SMA(VAR4,3,1); VAR6:=3*VAR4-2*VAR5; VAR7:=SMA(CLOSE/HHV(HIGH,120),3,1)*100; VAR7<68 AND BARSLAST(CROSS(VAR2,VAR7))>2 AND VAR5<30 AND CROSS(VAR6,VAR5); ============================================ {天堂星踏金浪1} VARC:=(2*CLOSE+HIGH+LOW)/4; VARD:=LLV(LOW,34); VARE:=HHV(HIGH,34); VARF:=LLV(LOW,13); VAR10:=HHV(HIGH,13); VAR11:=EMA((VARC-VARF)/(VAR10-VARD)*100,5); VAR12:=EMA((VARC-VARD)/(VARE-VARD)*100,8); 金浪:= VAR11; AA:=EMA(VAR11,7); 海浪:= VAR12; IF(CROSS(金浪,AA) AND AA<=25 ,1,0); ========================================== {缺口回补} V1:=BARSLAST(L>REF(H,1) AND C/O>1.05); L ============================================ {超跌买点} A1:=(CLOSE-MA(CLOSE,10))/MA(CLOSE,10)*100; A2:=A1>REF(A1,1); A1<-0.18 AND A2; ============================================ {中短波选股} HZ:=EMA(CLOSE,13); 短波:=EMA(HZ,1); 中波:=EMA(HZ,26); 均线148天:=EMA(C,148); 成本:=SUM(AMOUNT,0)/SUM(VOL,0)/100; HZ2:=EMA(HZ,8); CROSS(短波,HZ2); {结合中短波主图使用}; ======================================== {猎庄} VAR2:=(CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100; VAR3:=SMA(VAR2,20,1); VAR4:=SMA(VAR3,15,1); 猎庄:=VAR3-VAR4; 多空分界:=1; CROSS(猎庄,多空分界) AND 猎庄>=REF(MA(猎庄,多空分界),1); ======================================== {领头羊选股} 白色:=SMA(HIGH,21,2)*1.05,; 黄色:=SMA(LOW,21,2)*0.95; 粉色:=SMA(LOW,5,1); 绿色:=SMA(CLOSE,2,1),; 波段买入:=IF(CROSS(绿色,粉色),白色*1.05,粉色); 领头羊:=IF(CROSS(绿色,白色),白色*1.10,黄色); 领头羊>黄色 OR 波段买入>粉色 { 绿线上穿紫线时,可作波段买入,绿线上穿白线时很可能是大牛股。 可作为预警选股公式} {结合寻找领头羊指标使用}; ========================================= {未来星} 骚动:=(EMA(WINNER(CLOSE),7)-EMA(WINNER(CLOSE),35))*5; 未来:=EMA(CLOSE,7)-EMA(CLOSE,21); {解脱:=EMA(CLOSE/REF(HHV(CLOSE,7),50),1);} CROSS(骚动,未来) AND 骚动>=REF(MA(骚动,未来),1); {未来之星改编}; ======================================= {放量反转} VAR1:=VOLREF(VOL,3)>REF(VOL,4); VAR2:=CLOSE>REF(CLOSE,1)>REF(CLOSE,2)放量反转:VAR1 AND VAR2 AND MA(CLOSE,5); ========================================= {波段王抄底}{结合波段王指标} 趋势线:=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); CROSS(趋势线,10) AND 趋势线>=REF(MA(趋势线,10),1); =========================================== {出手就赢}{结合波段王} RSV9:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K1:=SMA(RSV9,3,1); DK1:=K1-REF(K1,1); 出手就赢:=IF(DK1>7 AND REF(DK1,1)<0 AND (DK1-REF(DK1,1))>9,50,0); 出手赢:(出手就赢>0); =========================================== {稳赢剑抄底 N:1 100 12} VAR1:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45))*100; VAR2:=SMA(VAR1,3,1); VAR3:=SMA(VAR2,3,1); VAR4:=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); VAR5:=CROSS(VAR4,10) AND VAR3抄底:VAR5 {结合稳赢剑指标使用}; ============================================ {百万买入} 趋势线:=(((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))-50)*(1.032)+50); CROSS(趋势线,21); {结合百万精品用}; ============================================ {龙行短线选股} RSV:=(CLOSE-LLV(LOW,7))/(HHV(HIGH,7)-LLV(LOW,7))*100; 短K:=SMA(RSV,3,1); 短D:=SMA(短K,3,1); CROSS(短K,短D) {配合龙行KDJ指标使用}; ============================================ {放量拉升} 底部吸筹指标:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100; IF(CROSS(底部吸筹指标,-5.4),(8+底部吸筹指标)*10,0); {结合底部吸筹指标使用}; ============================================= {稳健追涨选股} MA1:=EMA(CLOSE,5); MA2:=EMA(CLOSE,10); MA3:=EMA(CLOSE,20); MA4:=EMA(CLOSE,30); MA5:=EMA(CLOSE,60); VAR1:=MAX(MA1,MAX(MA2,MAX(MA3,MA4))); VAR2:=MIN(MA1,MIN(MA2,MIN(MA3,MA4))); VAR3:=(VAR1-VAR2)/VAR2*1000; VAR4:=MA1>REF(MA1,1) AND MA2>REF(MA2,1) AND MA3>REF(MA3,1) AND MA4>REF(MA4,1) AND MA5>REF(MA5,1); VAR5:=VAR3<5; VAR6:=COUNT(VAR5=1,5)>0; VAR7:=CROSS(MA1,MA4); VAR8:=VAR4 AND VAR6 AND VAR7; VAR8 {结合稳健追涨主图指标使用};

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