《霸王選股》公式——挑選黑馬的核心技術(shù)(fox)條件選股公式:百法百中 缺省周期:日線
===================================== Var1:=INDEXC; Var2:=MA(Var1,6); Var3:=MA(Var1,24); Var4:=MA(Var1,32); Var5:=MA(Var1,62); Var6:=MA(Var1,105); Var7:=Var5<REF(Var5,1) AND Var6<REF(Var6,1) AND Var5<Var6*0.98; Var8:=Var4>Var2*1.11 AND Var3>Var2*1.095; Var9:=Var2>Var1*0.95; VarA:=CLOSE/MA(CLOSE,48)*100<67; VarB:=CLOSE/MA(CLOSE,50)*100<69; VarC:=HIGH>LOW*1.078; VarD:=VarC AND COUNT(VarC,4)>2; VarD AND (VarA OR VarB) AND (DATE>1020201 OR DATE<1020101) OR Var7 AND Var8 AND Var9 AND CLOSE/COST(8)<=0.8 AND (CLOSE>OPEN OR CLOSE<OPEN) AND (REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)<REF(OPEN,1)) AND DATE<1030715 OR CLOSE>0.1 AND DATE>1030715; ==================================== 條件選股公式:抄底高手 缺省周期:日線 ==================================== Var1:=(CLOSE-MA(CLOSE,48))/MA(CLOSE,48)*100<-30; Var2:=(CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100<-27; Var3:=Var1 AND Var2; Var4:=Var1 AND Var2 AND COUNT(Var3,2)=1 AND DATE>940101 AND (CLOSE>OPEN OR CLOSE<OPEN) AND (OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.07 AND (REF(OPEN,1)>REF(CLOSE,1) OR REF(OPEN,1)<REF(CLOSE,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)); Var5:=DMA(EMA(CLOSE,8),SUM(VOL,9)/2.8/CAPITAL); Var6:=(CLOSE-Var5)/Var5*100; Var7:=REF(Var6,1)<-42 AND Var6>REF(Var6,1) AND REF(Var6,1)<REF(Var6,2) AND Var6-REF(Var6,1)>1.8; (Var4 OR Var7) AND DATE<1030715 OR CLOSE>0.1 AND DATE>1030715; ===================================== 條件選股公式:乘勝追擊 缺省周期:日線 ===================================== Var1:=WINNER(CLOSE)-WINNER(OPEN); Var2:=REF(CLOSE,1); Var3:=SMA(MAX(CLOSE-Var2,0),5,1)/SMA(ABS(CLOSE-Var2),5,1)*100; Var4:=CLOSE/MA(CLOSE,3)>=1.05; Var5:=MA(VOL,8)/MA(VOL,45)>=2.5; Var6:=WINNER(CLOSE)-WINNER(OPEN); Var7:=REF(CLOSE,1); Var8:=SMA(MAX(CLOSE-Var7,0),5,1)/SMA(ABS(CLOSE-Var7),5,1)*100; Var9:=Var6>=0.3 AND MA(VOL,6)/MA(VOL,26)>=1.9 AND VOL>REF(VOL,1) AND COUNT(Var8<20,20)>=1 AND CLOSE/MA(CLOSE,3)>=1.07; VarA:=Var1>=0.4 AND Var5 AND COUNT(Var3<20,20)>=1 AND Var4 AND CLOSE>MA(CLOSE,85) AND VOL>REF(VOL,1); (VarA OR Var9) AND DATE>980101 AND DATE<1030715 OR CLOSE>0.1 AND DATE>1030715; ===================================== 屬于追漲指標,因其成功率不到90%,所以只向超級選股王用戶贈送使用,使用者請自己衡量風險。此指標在牛市中常能抓住大牛股,但在熊市中的表現(xiàn)卻不理想。 買入方法:選出股票后,把資金分成四份,次日先投入一份資金按前日收盤價掛單,如果出現(xiàn)比選出那天的收盤價低4%的價位,再投入第二份資金,如果數(shù)日后出現(xiàn)比選出那天的收盤價低8%的價位再投入第三份資金,最后一份資金永不動用。 賣出方法:不論哪天買的,一律按選出那天的收盤價計算,數(shù)20個交易日后不論盈虧都賣掉?;蛞赃x出那天的收盤價計算,升高10%時賣掉(若一直未升高10%,到20天也堅決賣掉)。 ===================================== 條件選股公式:短線黑馬 缺省周期:日線 ===================================== Var1:=DMA(CLOSE,VOL/MA(VOL,4)/4); Var2:=DMA(CLOSE,VOL/MA(VOL,33)/33); Var3:=(CLOSE-Var1)/Var1*100<-11; Var4:=(Var1-Var2)/Var2*100<-22.3; Var5:=Var3 AND Var4 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)); Var6:=DMA(CLOSE,VOL/MA(VOL,3)/3); Var7:=DMA(CLOSE,VOL/MA(VOL,33)/33); Var8:=(CLOSE-Var6)/Var6*100<-5; Var9:=(Var6-Var7)/Var7*100<-18; VarA:=(INDEXC-LLV(INDEXL,250))/(HHV(INDEXH,250)-LLV(INDEXL,250))*100; VarB:=SMA(VarA,30,1); VarC:=SMA(VarB,50,1); VarD:=Var8 AND Var9 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)) AND VarC<20; VarE:=VarD AND COUNT(VarD,2)=1 AND DATE>960101; (Var5 OR VarE) AND DATE<1030715 OR CLOSE>0.1 AND DATE>1030715; ===================================== 條件選股公式:逆勢買入 缺省周期:日線 ===================================== Var1:=DMA(CLOSE,VOL/MA(VOL,4)/4); Var2:=DMA(CLOSE,VOL/MA(VOL,32)/32); Var3:=(CLOSE-Var1)/Var1*100<-8; Var4:=(Var1-Var2)/Var2*100<-21; Var5:=Var3 AND Var4 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)) 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)); Var6:=(CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100<-23; Var7:=(INDEXC-LLV(INDEXL,275))/(HHV(INDEXH,275)-LLV(INDEXL,275))*100; Var8:=SMA(Var7,50,1); Var9:=SMA(Var8,40,1); VarA:=Var6 AND Var9<23 AND COUNT(Var6,2)=1 AND (OPEN>CLOSE OR OPEN<CLOSE) AND OPEN/REF(CLOSE,1)>0.96 AND DATE>961216; (Var5 OR VarA) AND DATE<1030715 OR CLOSE>0.1 AND DATE>1030715; ===================================== 此指標請按照“市場贏家”的使用方法買賣股票,每次投入的資金不可超過總資金的25% 。 此指標中涉及到了大盤,滬市大盤上證指數(shù)跟大勢走勢非常一致。選出的滬市股票非常準確,而深市大盤深成指的走勢跟大勢不完全一致,選出的深市股票可能準確性跟上海股票比稍差一點。 ===================================== 條件選股公式:牛市專利 缺省周期:日線 ===================================== Var1:=REF(CLOSE,3)*0.844; Var2:=REF(CLOSE,13)*0.767; Var3:=INDEXC; Var4:=INDEXV; Var5:=MIN(Var1,Var2); Var6:=100*VOL/CAPITAL; Var7:=(CLOSE-MA(CLOSE,20))/MA(CLOSE,20)*100; Var8:=(CLOSE-Var5)/CLOSE<0.07 AND SUM(Var6,3)/3<2.345 AND Var3>MA(Var3,450) AND MA(Var4,61)/MA(Var4,80)>0.923 AND CLOSE>MA(CLOSE,190); Var9:=Var3>MA(Var3,450) AND Var7<-16.5 AND MA(Var4,61)/MA(Var4,80)>0.92 AND CLOSE>MA(CLOSE,215) AND (REF(OPEN,1)>REF(CLOSE,1) OR REF(OPEN,1)<REF(CLOSE,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 VOL/CAPITAL<0.075; (Var8 OR Var9) AND HHV(CLOSE,440)/LLV(CLOSE,440)<4 AND YEAR>1998 AND DATE<1030715 OR CLOSE>0.1 AND DATE>1030715; ==================================== 條件選股公式:市場贏家 缺省周期:日線 ==================================== Var1:=CLOSE/MA(CLOSE,30)*100<75; Var2:=CLOSE/MA(CLOSE,50)*100<78; Var3:=HIGH>LOW*1.053; Var4:=Var3 AND COUNT(Var3,5)>2; Var5:=Var4 AND (Var1 OR Var2); Var6:=DMA(EMA(CLOSE,5),SUM(VOL,8)/2.8/CAPITAL); Var7:=(CLOSE-Var6)/Var6*100; REF(Var7,1)<-34 AND Var7>REF(Var7,1) AND REF(Var7,1)<REF(Var7,2) AND Var7-REF(Var7,1)>1.76 AND (DATE>1020201 OR DATE<1020101) OR Var5 AND DATE<1030715 OR CLOSE>0.1 AND DATE>1030715; ===================================== 此指標選出股票的頻率和數(shù)量都較多,但成功率只有86% ,使用者請注意防范風險。 你可把資金分成四等份,當該指標選出股票后,你在次日先投入一份資金按前日收盤價掛單,如果同一天選出的股票較多,你可每個板塊選一只,組合三至五只股票掛單等待。買上股票當天或數(shù)天后,若出現(xiàn)比你的買入價低5%的價位,再投入第二份資金;出現(xiàn)低10%的價位時,再投入第三份資金;第四份資金永不動用。 賣出方法:1.持有20個交易日賣出;2.若該股連續(xù)多次被選出,按最后一次被選出那天計算,數(shù)二十個交易日賣掉;3.喜歡做極短線者,可以盈利10%就賣掉(若買入后一直未升到10%以上,持有二十個交易日也要堅決賣掉) ==================================== 條件選股公式:順勢搭轎 缺省周期:日線 ==================================== Var1:=(CLOSE-MA(CLOSE,48))/MA(CLOSE,48)*100<-28; Var2:=SMA(MAX(CLOSE-REF(CLOSE,1),0),12,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),12,1)*100>23; Var3:=Var1 AND Var2; Var3 AND VOL>MA(VOL,18) AND (REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)<REF(OPEN,1)) AND (REF(CLOSE,2)>REF(OPEN,2) OR REF(CLOSE,2)<REF(OPEN,2)) AND (REF(CLOSE,3)>REF(OPEN,3) OR REF(CLOSE,3)<REF(OPEN,3)) AND (REF(CLOSE,4)>REF(OPEN,4) OR REF(CLOSE,4)<REF(OPEN,4)) AND (REF(CLOSE,5)>REF(OPEN,5) OR REF(CLOSE,5)<REF(OPEN,5)) AND (REF(CLOSE,6)>REF(OPEN,6) OR REF(CLOSE,6)<REF(OPEN,6)) AND DATE<1030715 OR CLOSE>0.1 AND DATE>1030715; ==================================== 條件選股公式:旭日東升 缺省周期:日線 ==================================== Var1:=(CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100<-23; Var2:=SMA(MAX(CLOSE-REF(CLOSE,1),0),3,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),3,1)*100>16; Var3:=100*(HHV(HIGH,27)-CLOSE)/(HHV(HIGH,27)-LLV(LOW,27)); Var1 AND Var2 AND CROSS(Var3,79) AND (OPEN>CLOSE OR OPEN<CLOSE) AND (OPEN-REF(CLOSE,1))/REF(CLOSE,1)<0.05 AND VOL>MA(VOL,23) AND DATE>940630 AND DATE<1030715 OR CLOSE>0.1 AND DATE>1030715; ----------------------------------------------------------------------------------------------------------------------------------------------------------
霸王選股公式第二步:也不必復制源碼,好戲在后頭
這是對公式進行整理組合,把9個指標組合在一起做成一個附圖公式,好處是看盤方便、節(jié)約股軟的附圖資源。定理:一般情況用公式的人喜歡把多個指標組合在一起,賣公式者(它們不一定都是人)喜歡把一個指標分成幾個公式。(如圖示中的一個主圖公式就包含了**王數(shù)十個指標80%的看盤內(nèi)容)整理組合后的源碼如下,顯示效果見圖示中的附圖。 {百法百中} Var7:=MA(INDEXC,62)<REF(MA(INDEXC,62),1) AND MA(INDEXC,105)<REF(MA(INDEXC,105),1) AND MA(INDEXC,62)<MA(INDEXC,105)*0.98; Var8:=MA(INDEXC,32)>MA(INDEXC,6)*1.11 AND MA(INDEXC,24)>MA(INDEXC,6)*1.095; Var9:=MA(INDEXC,6)>INDEXC*0.95; VarA:=H>L*1.078 AND COUNT(H>L*1.078,4)>2; 百法百中:VarA AND (C/MA(C,48)*100<67 OR C/MA(C,50)*100<69) OR Var7 AND Var8 AND Var9 AND C/COST(8)<=0.8 AND COUNT(c=o,2)=0; {抄底高手} Var1:=(C-MA(C,48))/MA(C,48)*100<-30 AND (C-MA(C,70))/MA(C,70)*100<-27 AND COUNT((C-MA(C,48))/MA(C,48)*100<-30 AND (C-MA(C,70))/MA(C,70)*100<-27,2)=1 AND (O-REF(C,1))/REF(C,1)>-0.07 and COUNT(c=o,6)=0; Var2:=(C-DMA(EMA(C,8),SUM(V,9)/2.8/CAPITAL))/DMA(EMA(C,8),SUM(V,9)/2.8/CAPITAL)*100; Var3:=REF(Var2,1)<-42 AND Var2>REF(Var2,1) AND REF(Var2,1)<REF(Var2,2) AND Var2-REF(Var2,1)>1.8; 抄底高手:(Var1 OR Var3); {乘勝追擊} Var4:=(WINNER(C)-WINNER(O))>=0.3 AND MA(V,6)/MA(V,26)>=1.9 AND V>REF(V,1) AND COUNT(SMA(MAX(C-REF(C,1),0),5,1)/SMA(ABS(C-REF(C,1)),5,1)*100<20,20)>=1 AND C/MA(C,3)>=1.07; Var5:=(WINNER(C)-WINNER(O))>=0.4 AND MA(V,8)/MA(V,45)>=2.5 AND COUNT(SMA(MAX(C-REF(C,1),0),5,1)/SMA(ABS(C-REF(C,1)),5,1)*100<20,20)>=1 AND C/MA(C,3)>=1.05 AND C>MA(C,85) AND V>REF(V,1); 乘勝追擊:(Var4 OR Var5); {短線黑馬} Varb:=(C-DMA(C,V/MA(V,4)/4))/DMA(C,V/MA(V,4)/4)*100<-11 AND (DMA(C,V/MA(V,4)/4)-DMA(C,V/MA(V,33)/33))/DMA(C,V/MA(V,33)/33)*100<-22.3 AND (O-REF(C,1))/REF(C,1)>-0.07 and COUNT(c=o,8)=0; Varc:=(C-DMA(CLOSE,VOL/MA(VOL,3)/3))/DMA(CLOSE,VOL/MA(VOL,3)/3)*100<-5; Vard:=(DMA(CLOSE,VOL/MA(VOL,3)/3)-DMA(C,V/MA(V,33)/33))/DMA(C,V/MA(V,33)/33)*100<-18; Vare:=Varc AND Vard AND (O-REF(C,1))/REF(C,1)>-0.05 AND COUNT(c=o,2)=0 AND SMA(SMA((INDEXC-LLV(INDEXL,250))/(HHV(INDEXH,250)-LLV(INDEXL,250))*100,30,1),50,1)<20; 短線黑馬:(Varb OR Vare AND COUNT(Vare,2)=1); {逆勢買入} Varf:=(C-DMA(C,V/MA(V,4)/4))/DMA(C,V/MA(V,4)/4)*100<-8 AND (DMA(C,V/MA(V,4)/4)-DMA(C,V/MA(V,32)/32))/DMA(C,V/MA(V,32)/32)*100<-21 AND (O-REF(C,1))/REF(C,1)>-0.05 and COUNT(c=o,8)=0; Var10:=SMA(SMA((INDEXC-LLV(INDEXL,275))/(HHV(INDEXH,275)-LLV(INDEXL,275))*100,50,1),40,1); Var11:=(C-MA(C,70))/MA(C,70)*100<-23 AND Var10<23 AND COUNT((C-MA(C,70))/MA(C,70)*100<-23,2)=1 AND (O>C OR O<C) AND O/REF(C,1)>0.96; 逆勢買入:(Varf OR Var11); {牛市專利} Var12:=(C-MIN(REF(C,3)*0.844,REF(C,13)*0.767))/C<0.07 AND SUM(100*V/CAPITAL,3)/3<2.345 AND INDEXC>MA(INDEXC,450) AND MA(INDEXV,61)/MA(INDEXV,80)>0.923 AND C>MA(C,190); Var13:=INDEXC>MA(INDEXC,450) AND (C-MA(C,20))/MA(C,20)*100<-16.5 AND MA(INDEXV,61)/MA(INDEXV,80)>0.92 AND C>MA(C,215) AND V/CAPITAL<0.075 and COUNT(c=o,5)=0; 牛市專利:(Var12 OR Var13) AND HHV(C,440)/LLV(C,440)<4; {市場贏家} Var14:=H>L*1.053 AND COUNT(H>L*1.053,5)>2 AND (C/MA(C,30)*100<75 OR C/MA(C,50)*100<78); Var15:=DMA(EMA(C,5),SUM(V,8)/2.8/CAPITAL); 市場贏家:REF((C-Var15)/Var15*100,1)<-34 AND (C-Var15)/Var15*100>REF((C-Var15)/Var15*100,1) AND REF((C-Var15)/Var15*100,1)<REF((C-Var15)/Var15*100,2) AND (C-Var15)/Var15*100-REF((C-Var15)/Var15*100,1)>1.76 OR Var14; {順勢搭轎} 順勢搭轎:(C-MA(C,48))/MA(C,48)*100<-28 AND SMA(MAX(C-REF(C,1),0),12,1)/SMA(ABS(C-REF(C,1)),12,1)*100>23 AND VOL>MA(VOL,18) AND COUNT(c=o,6)=0; {旭日東升} 旭日東升:(C-MA(C,50))/MA(C,50)*100<-23 AND SMA(MAX(C-REF(C,1),0),3,1)/SMA(ABS(C-REF(C,1)),3,1)*100>16 AND CROSS(100*(HHV(H,27)-C)/(HHV(H,27)-LLV(L,27)),79) AND (O>C OR O<C) AND (O-REF(C,1))/REF(C,1)<0.05 AND V>MA(V,23); |
|