当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:20最牛抄底公式及2个组合公式源码集合
软件名称:[B]20最牛抄底公式及2个组合公式源码集合[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:6.00 KB
官方主页:Home Page
更新时间:2019-01-26 01:09:39
软件简介:
{金牛起步} XA_1:=VOL<MA(VOL,5) AND MA(VOL,5)<MA(VOL,55)*0.8; XA_2:=CLOSE/REF(CLOSE,1)>1.028; XA_3:=MA(CLOSE,10)>CLOSE*1.05; XA_4:=MA(CLOSE,10)<CLOSE*1.1; XA_5:=MA(CLOSE,60)>CLOSE*1.28; XA_6:=MACD.MACD(12,26,9)>(-0.6); XA_7:=XA_1 AND XA_2 AND XA_3 AND XA_4 AND XA_5 AND XA_6; STICKLINE(XA_7,0,1,5,0),COLOR008877; STICKLINE(XA_7,0,1,3,0),COLOR00AA99; STICKLINE(XA_7,0,1,1,0),COLOR00CCBB; STICKLINE(XA_7,0,1,0.2,0),COLORYELLOW; {说明: 1,上涨没有放大量,当日成交量还低于5日平均成交量,且成交量5均线小于成交量55的8折,(var1,,是不是想找阶段地量?) 2,当天上涨大于2.8%以上,可能表示有主力行为;(var2) 3,股价还低于10均线,但距离不远,有一个中到大阳线就可以站上;(var3,var4) 4,超跌有反弹,股价远低于60均线;(VAR5) 5,MACD值大于 -0.6;(var6) 其中MACD值这个条件值得商榷,可能是想表示离0轴不远吧。实际上,macd值的单位是元,百元股和十元股的MACD值变化范围有很大区别,直接用有点不合适。} {海底活鱼} BIAS0:=(C-MA(C,2))/MA(C,2)*100; HXL:=V/CAPITAL*100; D1:=INDEXC; D2:=MA(D1,13); DR2:=D2>1.050*D1; E1:=(C-HHV(C,12))/HHV(C,12)*10; E2:=(C-REF(C,26))/REF(C,26)*10; E3:=MA(C,3); SJ1:=DR2; SJ2:=E2<-2.30; SJ3:=BIAS0<-2.7; SJ5:=SJ1 AND SJ2 AND SJ3; SJ6:=CROSS(0.5,SJ5); JS1:=CROSS(SJ6,0.5); JS2:=BARSLAST(JS1=1); JS3:=JS2<=5 AND C<REF(C,JS2); PMDY:=SJ6 OR JS3; VAR1:=CLOSE/MA(CLOSE,20)*100<80; VAR2:=CLOSE/MA(CLOSE,40)*100<78; VAR3:=CLOSE/MA(CLOSE,60)*100<72; VAR4:=HIGH>LOW*1.051; {分析家公式网www.70822.com} VAR5:=VAR4 AND COUNT(VAR4,5)>1; XG:PMDY AND VAR5 AND (VAR1 OR VAR2 OR VAR3); {钻石底} VBR:=C<REF(C,4); NT0:=BARSLASTCOUNT(VBR);TJ21:=NT0=6 ;底6:=COUNT(NT0=6,5)=1; VBR1:=DMA(CLOSE,VOL/SUM(VOL,34));VBR2:=DMA(CLOSE,VOL/SUM(VOL,13)); VBR3:=(CLOSE-VBR1)/VBR1*100;VBR4:=(CLOSE-VBR2)/VBR2*100;Y1:=VBR4<=-17 AND VBR3<=-25; 去除ST:=IF(NAMELIKE('ST') OR NAMELIKE('*ST'),0,1); 去除停牌:=DYNAINFO(4)>0; 去除:=去除ST AND 去除停牌; Q1:=底6 AND Y1 AND 去除; 超卖区:=MA((CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100 ,2); Q2:=超卖区<-20 ; 钻石底XG:Q1 AND Q2 AND O!=C AND C>REF(C,1)*0.91 AND C<REF(C,1)AND INDEXC<REF(INDEXC,1) AND REF(C>REF(C,1),1); {核心低点} X_01:=O/HHV(C,30)<0.78; X_02:=C/MA(C,50)<0.78; X_03:=O=LLV(O,30); X_04:=C/SMA(C,13,1)-1; X_05:=REF(X_04,1)<-0.13; X_06:=REF(X_04,1)/X_04>1.25; X_07:=REF(C,1)<=COST(5); X_08:=COUNT(H>L*1.05,5)>2; 核心低点:X_01 AND X_02 AND X_03 AND X_05 AND X_06 AND X_07 AND X_08; {率土之滨} X01:=MA(C,10)/C>1.055; X02:=MA(C,10)/C<1.1; X03:=MA(C,60)/C>1.28; X04:=C/REF(C,1)>1.028; X05:=H>L*1.05 AND COUNT(H>L*1.05,5)>3; X06:=O/HHV(C,30)<0.78; X07:=V<MA(V,5) AND MA(V,5)<MA(V,55); X08:=O=LLV(O,30); 率土之滨XG:X01 AND X02 AND X03 AND X04 AND X05 AND X06 AND X07 AND X08; {神剑出鞘} C2_VAR100:=IF(DATE<=1280831,1,0); C2_CSS:=((C-LLV(L,8))/(HHV(H,8)-LLV(L,8))*100)*C2_VAR100; C2_YJDD:=(EMA(C2_CSS,3)-50)*2*C2_VAR100; C2_强弱:=(C2_YJDD+100)/2*C2_VAR100; C2_T1:=(INDEXC-MA(INDEXC,58))/MA(INDEXC,58)<-0.152; C2_T2:=(C-EMA(C,58))/EMA(C,58)<-0.19; C2_买1:=C2_T2 AND C2_T1; C2_T3:=IF(DATE<=1280831,1,0); C2_T4:=(C-MA(C,2))/MA(C,2)*100*C2_T3; C2_T5:=INDEXC*C2_T3; C2_T6:=MA(C2_T5,13)*C2_T3; C2_T7:=C2_T6>1.050*C2_T5*C2_T3; C2_T8:=(C-REF(C,26))/REF(C,26)*10*C2_T3; C2_T9:=C2_T7*C2_T3; C2_T10:=C2_T8<-2.30 AND C2_T3; C2_T11:=C2_T4<-2.7 AND C2_T3; C2_T12:=C2_T9 AND C2_T10 AND C2_T11 AND C2_T3; C2_T13:=CROSS(0.5,C2_T12)*C2_T3; C2_T14:=CROSS(C2_T13,0.5)*C2_T3; C2_T15:=BARSLAST(C2_T14=1)*C2_T3; C2_T16:=C2_T15<=5 AND C<REF(C,C2_T15) AND C2_T3; C2_买2:=C2_T13 OR C2_T16; C2_T17:= (C-MA(C,2))/MA(C,2)*100; C2_T18:=INDEXC; C2_T19:=MA(C2_T18,56); C2_T20:=C2_T18/C2_T19<0.94; C2_T21:=(C-REF(C,26))/REF(C,26)*10; C2_T22:=C2_T20; C2_T23:=C2_T21<-2.55; C2_T24:=C2_T17<-2.7; C2_T25:=C2_T22 AND C2_T23 AND C2_T24; C2_T26:=CROSS(0.5,C2_T25); C2_T27:=CROSS(C2_T26,0.5); C2_T28:=BARSLAST(C2_T27=1); C2_T29:=C2_T28<=5 AND C<1.02*REF(C,C2_T28); C2_底4:=C2_T26 OR C2_T29; C2_T30:= (C-MA(C,2))/MA(C,2)*100; C2_T31:=INDEXC; C2_T32:=MA(C2_T31,13); C2_T33:=C2_T32>1.050*C2_T31; C2_T34:=(C-REF(C,26))/REF(C,26)*10; C2_T35:=C2_T33; C2_T36:=C2_T34<-2.69; C2_T37:=C2_T30<-3.09; C2_T38:=C2_T35 AND C2_T36 AND C2_T37; C2_T39:=CROSS(0.5,C2_T38); C2_T40:=CROSS(C2_T39,0.5); C2_T41:=BARSLAST(C2_T40=1); C2_T42:=C2_T41<=5 AND C<REF(C,C2_T41); C2_买3:=COUNT(C2_T39 OR C2_T42,4)=4; C2_T43:=EMA(((C*1.1-LLV(L,630))/(HHV(H,630)-LLV(L,630))-(C*0.9-LLV(L,630))/(HHV(H,630)-LLV(L,630)))*80,5); C2_T44:=INDEXC; C2_T45:=MA(C2_T44,5); C2_T46:=MA(C2_T44,20); C2_T47:=MA(C2_T44,30); C2_T48:=C2_T45>C2_T44*1.03 AND C2_T46>C2_T44*1.13; C2_T49:=C2_T48; C2_目标:=COUNT(C2_T43<6 AND C2_T49,3)>=3; C2_新目标:=C2_买3 OR C2_目标; 神剑出鞘:IF(((COUNT(C2_买1 AND C2_底4,6)=6 OR COUNT(C2_买1 AND C2_买2,4)=4 OR COUNT(C2_买2 AND C2_底4,5)=5) OR C2_新目标) AND DATE<=1280831,90,0); {神算大} BIAS0:=(C-MA(C,2))/MA(C,2)*100; D1:=INDEXC; D2:=MA(D1,13); DR2:=D2>1.050*D1; E2:=(C-REF(C,26))/REF(C,26)*10; SJ1:=DR2; SJ2:=E2<-2.30; SJ3:=BIAS0<-2.7;{-1.3} SJ5:=SJ1 AND SJ2 AND SJ3; 神算大:CROSS(0.5,SJ5); {春笋} DIF:=(CLOSE-SMA(CLOSE,7,1))/SMA(CLOSE,7,1)*(-100); DEA:=REF(DIF,1)>13 AND REF(DIF,1)/DIF>1.3 AND CLOSE/REF(CLOSE,1)>1.03; 春笋:IF(DEA AND REF(CLOSE,1)<=COST(5),1,0) AND C<MA(C,60) {AA:=(CLOSE-SMA(CLOSE,13,1))/SMA(CLOSE,13,1)*(-100); BB:=REF(AA,1)>13 AND REF(AA,1)/AA>1.23 AND CLOSE/REF(CLOSE,1)>1.03; 春笋:=BB AND REF(CLOSE,1)<=COST(5),COLORCYAN;} {短线黑马} K:=100; VAR1C:=DMA(CLOSE,VOL/MA(VOL,4)/4); VAR2C:=DMA(CLOSE,VOL/MA(VOL,33)/33); VAR3C:=(CLOSE-VAR1C)/VAR1C*100<-11/K*100; VAR4C:=(VAR1C-VAR2C)/VAR2C*100<-22.3/K*100; VAR5C:=VAR3C AND VAR4C AND (OPEN>CLOSE OR OPEN<CLOSE) AND (OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.07 AND (REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)<REF(OPEN,1)) AND (REF(OPEN,2)>REF(CLOSE,2) OR REF (OPEN,2)<REF(CLOSE,2)) AND (REF(OPEN,3)>REF(CLOSE,3) OR REF(OPEN,3)<REF(CLOSE,3)) AND (REF (OPEN,4)>REF(CLOSE,4) OR REF(OPEN,4)<REF(CLOSE,4)) AND (REF(OPEN,5)>REF(CLOSE,5) OR REF(OPEN,5) <REF(CLOSE,5)) AND (REF(OPEN,6)>REF(CLOSE,6) OR REF(OPEN,6)<REF(CLOSE,6)) AND (REF(OPEN,7)>REF (CLOSE,7) OR REF(OPEN,7)<REF(CLOSE,7)); VAR6C:=DMA(CLOSE,VOL/MA(VOL,3)/3); VAR7C:=DMA(CLOSE,VOL/MA(VOL,33)/33); VAR8C:=(CLOSE-VAR6C)/VAR6C*100<-5; VAR9C:=(VAR6C-VAR7C)/VAR7C*100<-18; VARAC:=(INDEXC-LLV(INDEXL,250))/(HHV(INDEXH,250)-LLV(INDEXL,250))*100; VARBC:=SMA(VARAC,30,1); VARCC:=SMA(VARBC,50,1); VARDC:=VAR8C AND VAR9C AND (OPEN>CLOSE OR OPEN<CLOSE) AND (OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.05 AND (REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)<REF(OPEN,1)); VAREC:=VARDC AND COUNT(VARDC,2)=1 ; 短线黑马:VAR5C OR VAREC,COLORRED; {耍无赖} BIAS0:= (C-MA(C,3))/MA(C,3)*100; HXL:=V/CAPITAL*100; D1:=INDEXC; D2:=MA(D1,13); DR2:=D2>1.050*D1; E1:=(C-HHV(C,13))/HHV(C,13)*10; E2:=(C-REF(C,21))/REF(C,21)*10; E3:=MA(C,3); SJ1:=DR2; SJ2:=E2<-2.30; SJ3:=BIAS0<-2.7; SJ5:=SJ1 AND SJ2 AND SJ3; SJ6:=CROSS(0.5,SJ5); JS1:=CROSS(SJ6,0.5);JS2:=BARSLAST(JS1=1); JS3:=JS2<=5 AND C<REF(C,JS2); TJ:=SJ6 OR JS3 ; 耍无赖:TJ=0 AND REF(TJ=1,1); {大魔鬼} 风险值:=EMA (100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3)<=10; 机会来临:=REF(IF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04,30,0),1); HJ_1:=CLOSE/MA(CLOSE,40); HJ_2:=CLOSE/MA(CLOSE,60)*100<71; 大魔鬼:CROSS(HJ_1,HJ_2) AND 风险值 AND 机会来临 ; {决策玄机3} VAR1:=EMA(CLOSE,24); LD:=EMA(VAR1*0.8,5); TJ2:COUNT(O=C AND (REF(C,1)-C)/REF(C,1)>0.098,13); TJ1:(REF(LD,1)>REF(C,1) AND C>LD AND C>REF(C,1)*1.02 AND TJ2<1) ; XG:FILTER(TJ1,3); {波段潜伏} C1:=((MA(C,30)-L)/MA(C,60))*200; M1:=REF(CLO<
[url=http://www.70822.com/soft/sort013/sort05/down-133060.html]20最牛抄底公式及2个组合公式源码集合[/url]