杨百万选股公式源码全集(共13页).doc
精选优质文档-倾情为你奉上杨百万选股公式源码全集=条件选股公式:0股市神探 (熊末牛初.弱中选强) 缺省周期:周线Var1:=CLOSE<=OPEN;Var2:=CLOSE>OPEN;Var3:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL);Var4:=(CLOSE-Var3)/Var3*100;Var5:=REF(Var4,1)<-32 AND Var4>REF(Var4,1) AND REF(Var4,1)<REF(Var4,2) AND Var4-REF(Var4,1)>2.5 AND REF(Var4,2)-REF(Var4,1)>1;Var6:=Var2 AND REF(Var1,1) AND REF(Var1,2) AND REF(Var1,3) AND REF(Var1,4) AND REF(Var1,5) AND REF(Var2,6) AND HIGH<REF(HIGH,60) AND HIGH<REF(HIGH,120) AND HIGH<REF(CLOSE,200) AND REF(SUM(VOL,5),1)/FINANCE(7)<2.5 AND Var4-REF(Var4,1)>2 AND (REF(HIGH,1)-REF(CLOSE,2)/REF(CLOSE,2)<0.05 AND (REF(HIGH,4)-REF(CLOSE,5)/REF(CLOSE,5)<0.05 AND (REF(HIGH,2)-REF(CLOSE,3)/REF(CLOSE,3)<0.05 AND (REF(HIGH,3)-REF(CLOSE,4)/REF(CLOSE,4)<0.05 AND COUNT(INDEXC>INDEXO,6)>1;Var5 OR Var6;=条件选股公式:0紧追头彩 (强股追涨.多头市场初段) 缺省周期:周线Var1:=CLOSE/REF(CLOSE,1)>=1.09 AND HIGH/CLOSE<1.005 AND MA(CLOSE,90)/CLOSE>=1.1;Var1 AND COUNT(Var1,20)=1;=条件选股公式:0牛郎狗熊 (中位狗熊) 缺省周期:周线参数描述: N(5,26,9)M1(2,4,3)M2(2,4,3)M3(3,6,5)Var1:="SLOWKD.K"Var2:="SLOWKD.D"CLOSE/OPEN>1.07 AND HIGH/LOW<CLOSE/OPEN+0.018 AND CROSS(Var1,Var2) AND Var1<65 AND Var2<63;=条件选股公式:0牛郎股神 (胜者之星100%) 缺省周期:周线参数描述: N(5,26,9)M1(2,4,3)M2(2,4,3)M3(3,6,5)Var1:="SLOWKD.K"Var2:="SLOWKD.D"REF(CLOSE,2)/REF(OPEN,2)<0.95 AND REF(OPEN,1)<REF(CLOSE,2) AND REF(OPEN,1)<REF(CLOSE,1) AND REF(CLOSE,1)/REF(OPEN,1)<1.05 AND CLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2) AND CROSS(Var1,Var2) AND Var1<50 AND Var2<45 AND VOL>=MA(VOL,5)*1.5;=条件选股公式:0牛郎全能 (全能出击) 缺省周期:周线Var1:=MA(VOL,5);Var2:=REF(Var1,1);VOL/Var2>2 AND VOL/CAPITAL*100>2 AND CLOSE/OPEN>1.08 AND HIGH/LOW<CLOSE/OPEN+0.01;=条件选股公式:0牛郎神探 (中位频繁) 缺省周期:周线参数描述: N(5,26,9)M1(2,4,3)M2(2,4,3)M3(3,6,5)Var1:="SLOWKD.K"Var2:="SLOWKD.D"REF(CLOSE,2)/REF(OPEN,2)<0.97 AND REF(OPEN,1)<REF(CLOSE,2) AND REF(OPEN,1)<REF(CLOSE,1) AND CLOSE/OPEN>1.03 AND CLOSE>REF(HIGH,2) AND CROSS(Var1,Var2) AND Var1<50 AND Var2<45;=条件选股公式:0牛郎探长 (一呜惊人) 缺省周期:周线REF(CLOSE,2)/REF(OPEN,2)<0.95 AND REF(OPEN,1)<REF(CLOSE,2) AND REF(OPEN,1)=REF(CLOSE,1) AND CLOSE/OPEN>1.05 AND CLOSE>REF(OPEN,2);=条件选股公式:0牛郎探股 (中位形态全能) 缺省周期:周线参数描述: N(5,26,9)M1(2,4,3)M2(2,4,3)M3(3,6,5)Var1:="SLOWKD.K"Var2:="SLOWKD.D"REF(CLOSE,2)/REF(OPEN,2)<0.95 AND REF(OPEN,1)<REF(CLOSE,2) AND REF(OPEN,1)<REF(CLOSE,1) AND CLOSE/OPEN>1.05 AND CLOSE>REF(HIGH,2) AND CROSS(Var1,Var2) AND Var1<55 AND Var2<50 AND VOL>=MA(VOL,5)*2;=条件选股公式:A遍地黄金 (阶段底部) 缺省周期:周线参数描述: N(5,26,9)M1(2,4,3)M2(2,4,3)M3(3,6,5)CROSS("SLOWKD.K","SLOWKD.D") AND "SLOWKD.K"<=22 AND "SLOWKD.D"<=20 AND CLOSE>=OPEN AND VOL>=MA(VOL,5)*1.5;=条件选股公式:A遍地金银 (背离遍地) 缺省周期:周线参数描述: N(5,26,9)M1(2,4,3)M2(2,4,3)M3(3,6,5)Var1:="SLOWKD.K"Var2:="SLOWKD.D"""<=43 AND ""<=45 AND CROSS(Var1,Var2) AND Var1<25 AND Var2<20 AND CLOSE>=OPEN AND VOL>=MA(VOL,5)*1.5;=条件选股公式:A遍地金组 (遍地,背离) 缺省周期:周线Var1:="SLOWKD.K"Var2:="SLOWKD.D"""<=43 AND ""<=45 AND CROSS("SLOWKD.K","SLOWKD.D") AND "SLOWKD.K"<=22 AND "SLOWKD.D"<=20 AND CLOSE>=OPEN AND VOL>=MA(VOL,5)*1.5 OR CROSS(Var1,Var2) AND Var1<25 AND Var2<20 AND CLOSE>=OPEN AND VOL>=MA(VOL,5)*1.5;=条件选股公式:A波段低点 (试寻底部(晚) 缺省周期:日线参数描述: N(5,50,27)M1(2,5,3)M2(2,5,3)M3(3,10,3)Var1:=(CLOSE-LLV(LOW,)/(HHV(HIGH,)-LLV(LOW,)*100;Var2:=REVERSE(Var1);Var3:=SMA(Var1,1);Var4:=SMA(Var3,1);Var5:=SMA(Var4,1);Var6:=15;(CROSS(Var4,Var5) AND Var4<40 OR CROSS(Var4,Var6) AND CLOSE>=OPEN AND VOL>=MA(VOL,5)*2;=条件选股公式:A短线低点 (短线低点搜寻(早) 缺省周期:日线Var1:=(CLOSE-LLV(LOW,5)/(HHV(HIGH,5)-LLV(LOW,5)*100;Var2:=REVERSE(Var1);Var3:=SMA(Var1,2,1);Var4:=SMA(Var3,2,1);Var5:=SMA(Var4,3,1);Var6:=25;CROSS(Var4,Var5) AND Var4<35 AND CLOSE>=OPEN AND VOL>=MA(VOL,5)*1.5 OR CROSS(Var4,Var6) AND VOL>=MA(VOL,5)*1.5;=条件选股公式:A黑马神探 (综合探长和股神) 缺省周期:周线Var1:="SLOWKD.K"Var2:="SLOWKD.D"REF(CLOSE,2)/REF(OPEN,2)<0.95 AND REF(OPEN,1)<REF(CLOSE,2) AND REF(OPEN,1)<REF(CLOSE,1) AND REF(CLOSE,1)/REF(OPEN,1)<1.05 AND CLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2) AND CROSS(Var1,Var2) AND Var1<50 AND Var2<45 AND VOL>=MA(VOL,5)*1.5 OR REF(CLOSE,2)/REF(OPEN,2)<0.95 AND REF(OPEN,1)<REF(CLOSE,2) AND REF(OPEN,1)=REF(CLOSE,1) AND CLOSE/OPEN>1.05 AND CLOSE>REF(OPEN,2);=条件选股公式:A黑马显形 (低部和背离,放量) 缺省周期:周线Var1:="SLOWKD.K"Var2:="SLOWKD.D""SLOWKD.K#WEEK"<=35 AND "SLOWKD.D#WEEK"<=33 AND CROSS(Var1,Var2) AND Var1<30 AND Var2<25 AND CLOSE>=OPEN AND VOL>=MA(VOL,5)*2 OR "SLOWKD.K#WEEK"<=38 AND "SLOWKD.D#WEEK"<=38 AND CROSS(Var1,Var2) AND Var1<35 AND Var2<32 AND CLOSE>=OPEN AND VOL>=MA(VOL,5)*2.5 OR CROSS("SLOWKD.K#WEEK","SLOWKD.D#WEEK") AND "SLOWKD.K#WEEK"<=65 AND "SLOWKD.D#WEEK"<=60 AND CLOSE>=OPEN AND VOL>=MA(VOL,5)*2;=条件选股公式:A阶段低点 (阶段低点搜寻(中) 缺省周期:日线Var1:=(CLOSE-LLV(LOW,9)/(HHV(HIGH,9)-LLV(LOW,9)*100;Var2:=REVERSE(Var1);Var3:=SMA(Var1,3,1);Var4:=SMA(Var3,3,1);Var5:=SMA(Var4,3,1);Var6:=25;(CROSS(Var4,Var5) AND Var4<40 OR CROSS(Var4,Var6) AND CLOSE>=OPEN AND VOL>=MA(VOL,5)*2;=条件选股公式:A阶段短线 (强弱选股5%有利可图) 缺省周期:周线Var1:=CLOSE>OPEN;Var2:=(CLOSE-OPEN)/OPEN*100;Var3:=REF(CLOSE,1);Var4:=SMA(MAX(CLOSE-Var3,0),5,1)/SMA(ABS(CLOSE-Var3),5,1)*100;Var5:=COUNT(Var4<20,20)>=2;Var1 AND Var2>10 AND CLOSE>MA(CLOSE,300) AND OPEN<MA(CLOSE,300) AND Var5;=条件选股公式:A立地峰起 (庄股发力(日) 缺省周期:周线CROSS("SLOWKD.K","SLOWKD.D") AND "SLOWKD.K"<=25 AND "SLOWKD.D"<=20 AND VOL>REF(HHV(VOL,1),5)*1.5;=条件选股公式:A启动追涨 (牛初选股,启明星.启动追涨) 缺省周期:周线Var1:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36)*100;Var2:=SMA(Var1,5,1);Var3:=(CLOSE-LLV(LOW,8)/(HHV(HIGH,8)-LLV(LOW,8)*100;Var4:=SMA(Var3,2,1);Var5:=MA(VOL/CAPITAL,30)*MA(VOL,60)/10000+MA(CLOSE,30)*8;Var6:=MA(VOL/CAPITAL,30)*MA(VOL,60)/10000+MA(CLOSE,30);REF(CLOSE,2)/REF(OPEN,2)<0.98 AND REF(OPEN,1)<REF(CLOSE,2) AND ABS(REF(OPEN,1)-REF(CLOSE,1)/REF(CLOSE,1)<0.04 AND CLOSE/OPEN>1.06 AND CLOSE>REF(CLOSE,2) OR Var2>80 AND CAPITAL<= AND BARSCOUNT(CLOSE)>120 AND VOL/CAPITAL>0.04 AND VOL>REF(HHV(VOL,10),1)*2;=条件选股公式:A稳定寻底 (变动速率(日) 缺省周期:日线Var1:=(CLOSE-REF(CLOSE,24)/REF(CLOSE,24)*100;CROSS(Var1,MA(Var1,12) AND OPEN<CLOSE AND OPEN/REF(CLOSE,1)<=0.97 AND CLOSE/OPEN>=1.05 AND Var1<-25;=条件选股公式:A稳妥买底 (变动速率) 缺省周期:周线Var1:=(CLOSE-REF(CLOSE,12)/REF(CLOSE,12)*100;CROSS(Var1,MA(Var1,6) AND REF(CLOSE,2)/REF(OPEN,2)<0.95 AND REF(OPEN,1)<REF(CLOSE,2) AND ABS(REF(OPEN,1)-REF(CLOSE,1)/REF(CLOSE,1)<0.03 AND CLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2) AND Var1<-25;=条件选股公式:A仙人抄底 (低位晨星(日) 缺省周期:日线REF(CLOSE,2)/REF(OPEN,2)<0.95 AND REF(OPEN,1)<REF(CLOSE,2) AND ABS(REF(OPEN,1)-REF(CLOSE,1)/REF(CLOSE,1)<0.03 AND CLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2) AND CROSS("SLOWKD.K","SLOWKD.D") AND "SLOWKD.K"<=25 AND "SLOWKD.D"<=20;=条件选股公式:A先知先觉 (晨星有量(日) 缺省周期:日线CROSS("SLOWKD.K","SLOWKD.D") AND "SLOWKD.K"<=35 AND "SLOWKD.D"<=30 AND VOL>=MA(VOL,3)*1.1 AND REF(CLOSE,2)/REF(OPEN,2)<0.95 AND REF(OPEN,1)<REF(CLOSE,2) AND ABS(REF(OPEN,1)-REF(CLOSE,1)/REF(CLOSE,1)<0.03 AND CLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2);=条件选股公式:A信手拈底 (辰星强弱) 缺省周期:周线REF(CLOSE,2)/REF(OPEN,2)<0.95 AND REF(OPEN,1)<REF(CLOSE,2) AND ABS(REF(OPEN,1)-REF(CLOSE,1)/REF(CLOSE,1)<0.03 AND CLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2) AND CROSS("RSI.RSI1"(3,2,2),6);=条件选股公式:A艺高胆大 (乖离低阳晨星(日) 缺省周期:日线(CLOSE-MA(CLOSE,10)/MA(CLOSE,10)*100<-7 AND REF(CLOSE,2)/REF(OPEN,2)<0.95 AND REF(OPEN,1)<REF(CLOSE,2) AND ABS(REF(OPEN,1)-REF(CLOSE,1)/REF(CLOSE,1)<0.03 AND CLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2) AND OPEN<CLOSE AND OPEN/REF(CLOSE,1)<=0.97 AND CLOSE/OPEN>=1.04;=条件选股公式:A有机可乘 (乖离晨星(日) 缺省周期:日线(CLOSE-MA(CLOSE,10)/MA(CLOSE,10)*100<-10 AND REF(CLOSE,2)/REF(OPEN,2)<0.95 AND REF(OPEN,1)<REF(CLOSE,2) AND ABS(REF(OPEN,1)-REF(CLOSE,1)/REF(CLOSE,1)<0.03 AND CLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2);=条件选股公式:A庄股初现 (强势股浮现) 缺省周期:周线Var1:="SLOWKD.K"Var2:="SLOWKD.D"CROSS(Var1,Var2) AND Var1<30 AND Var2<25 AND CLOSE>=OPEN AND VOL>=MA(VOL,5)*2;=条件选股公式:B波短之星 (先于波段之星) 缺省周期:周线Var1:=EMA(CLOSE,6)-EMA(CLOSE,13);Var2:=EMA(Var1,5);CROSS(Var1,Var2) AND REF(CLOSE,2)/REF(OPEN,2)<0.95 AND REF(OPEN,1)<REF(CLOSE,2) AND ABS(REF(OPEN,1)-REF(CLOSE,1)/REF(CLOSE,1)<0.03 AND CLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2);=条件选股公式:B波段之星 (波段底部) 缺省周期:周线Var1:=EMA(CLOSE,12)-EMA(CLOSE,26);Var2:=EMA(Var1,9);CROSS(Var1,Var2) AND REF(CLOSE,2)/REF(OPEN,2)<0.95 AND REF(OPEN,1)<REF(CLOSE,2) AND ABS(REF(OPEN,1)-REF(CLOSE,1)/REF(CLOSE,1)<0.03 AND CLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2);=条件选股公式:B短线黑马 (短线捉庄) 缺省周期:周线参数描述: N(5,5,5)M1(2,2,2)M2(2,2,2)M3(3,3,3)CROSS("SLOWKD.K","SLOWKD.D") AND "SLOWKD.K"<=35 AND "SLOWKD.D"<=30 AND VOL>=MA(VOL,5)*2 AND CLOSE>=OPEN;=条件选股公式:B黑马成形 (背离显形) 缺省周期:周线参数描述: N(5,26,9)M1(2,4,3)M2(2,4,3)M3(3,6,5)Var1:="SLOWKD.K"Var2:="SLOWKD.D""SLOWKD.K#WEEK"<=35 AND "SLOWKD.D#WEEK"<=33 AND CROSS(Var1,Var2) AND Var1<30 AND Var2<25 AND CLOSE>=OPEN AND VOL>=MA(VOL,5)*2;=条件选股公式:B黑马显形 (主力隐身) 缺省周期:周线参数描述: N(9,9,9)M1(3,3,3)M2(3,3,3)M3(3,3,3)CROSS("SLOWKD.K","SLOWKD.D") AND "SLOWKD.K"<=45 AND "SLOWKD.D"<=40 AND CLOSE>=OPEN AND VOL>=MA(VOL,5)*2;=条件选股公式:B马吃夜草 (低位,意外,庄送红包) 缺省周期:日线CROSS(CLOSE,"BOLL.LOWER"(26,2) AND REF(CLOSE,2)/REF(OPEN,2)<0.95 AND REF(OPEN,1)<REF(CLOSE,2) AND ABS(REF(OPEN,1)-REF(CLOSE,1)/REF(CLOSE,1)<0.03 AND CLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2) AND OPEN<CLOSE AND OPEN/REF(CLOSE,1)<=0.96 AND CLOSE/OPEN>=1.05 OR REF(CLOSE,2)/REF(OPEN,2)<0.95 AND REF(OPEN,1)<REF(CLOSE,2) AND ABS(REF(OPEN,1)-REF(CLOSE,1)/REF(CLOSE,1)<0.03 AND CLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2) AND OPEN<CLOSE AND OPEN/REF(CLOSE,1)<=0.97 AND CLOSE/OPEN>=1.04 AND CROSS(CLOSE,"BOLL.LOWER"(26,2) OR (CLOSE-MA(CLOSE,12)/MA(CLOSE,12)*100<-12 AND OPEN<CLOSE AND OPEN/REF(CLOSE,1)<=0.96 AND CLOSE/OPEN>=1.06 OR OPEN<CLOSE AND OPEN/REF(CLOSE,1)<=0.97 AND CLOSE/OPEN>=1.04 AND CROSS("SLOWKD.K","SLOWKD.D") AND "SLOWKD.K"<=30 AND "SLOWKD.D"<=25 AND VOL>=MA(VOL,5)*2.5;=条件选股公式:B启动追涨 (后知后觉) 缺省周期:周线Var1:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36)*100;Var2:=SMA(Var1,5,1);Var3:=(CLOSE-LLV(LOW,8)/(HHV(HIGH,8)-LLV(LOW,8)*100;Var4:=SMA(Var3,2,1);Var5:=MA(VOL/CAPITAL,30)*MA(VOL,60)/10000+MA(CLOSE,30)*8;Var6:=MA(VOL/CAPITAL,30)*MA(VOL,60)/10000+MA(CLOSE,30);Var2>80 AND CAPITAL<= AND BARSCOUNT(CLOSE)>120 AND VOL/CAPITAL>0.04 AND VOL>REF(HHV(VOL,10),1)*2;=条件选股公式:B意外收获 (低位意外.熊) 缺省周期:日线REF(CLOSE,2)/REF(OPEN,2)<0.95 AND REF(OPEN,1)<REF(CLOSE,2) AND ABS(REF(OPEN,1)-REF(CLOSE,1)/REF(CLOSE,1)<0.03 AND CLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2) AND CROSS("SLOWKD.K","SLOWKD.D") AND "SLOWKD.K"<=25 AND "SLOWKD.D"<=20 OR CROSS("SLOWKD.K","SLOWKD.D") AND "SLOWKD.K"<=35 AND "SLOWKD.D"<=30 AND VOL>=MA(VOL,3)*1.1 AND REF(CLOSE,2)/REF(OPEN,2)<0.95 AND REF(OPEN,1)<REF(CLOSE,2) AND ABS(REF(OPEN,1)-REF(CLOSE,1)/REF(CLOSE,1)<0.03 AND CLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2) OR (CLOSE-MA(CLOSE,10)/MA(CLOSE,10)*100<-7 AND REF(CLOSE,2)/REF(OPEN,2)<0.95 AND REF(OPEN,1)<REF(CLOSE,2) AND ABS(REF(OPEN,1)-REF(CLOSE,1)/REF(CLOSE,1)<0.03 AND CLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2) AND OPEN<CLOSE AND OPEN/REF(CLOSE,1)<=0.97 AND CLOSE/OPEN>=1.04 OR (CLOSE-MA(CLOSE,10)/MA(CLOSE,10)*100<-10 AND REF(CLOSE,2)/REF(OPEN,2)<0.95 AND REF(OPEN,1)<REF(CLOSE,2) AND ABS(REF(OPEN,1)-REF(CLOSE,1)/REF(CLOSE,1)<0.03 AND CLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2);=条件选股公式:C鬼泣神钦 (熊市反弹(要选周期) 缺省周期:周线参数描述: M(2,50,21)COUNT(CLOSE,0)>30 AND (HHV(CLOSE,30)-LLV(CLOSE,30)/LLV(CLOSE,30)<=0.2;=条件选股公式:C黑马启步 (背离起步) 缺省周期:周线Var1:="SLOWKD.K"Var2:="SLOWKD.D""SLOWKD.K#WEEK"<=38 AND "SLOWKD.D#WEEK"<=38 AND CROSS(Var1,Var2) AND Var1<35 AND Var2<32 AND CLOSE>=OPEN AND VOL>=MA(VOL,5)*2.5;=条件选股公式:C黑马起步 (放量启动个股) 缺省周期:周线CROSS("SLOWKD.K#WEEK","SLOWKD.D#WEEK") AND "SLOWKD.K