《股票-理想论坛分析家选股公式原码交流大赛参赛帖中选出的高加分公式.docx》由会员分享,可在线阅读,更多相关《股票-理想论坛分析家选股公式原码交流大赛参赛帖中选出的高加分公式.docx(13页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、理想论坛分析家选股公式原码交流大赛参赛帖中选出的高加分公式名称:筹码底部类型:买点参数:N=27,N2=8,N329,N414周期:日Var1:=(CLOSE-REF(OPEN,N)/REF(OPEN,N)*100;Var2:=(CLOSE-REF(CLOSE,1)/REF(CLOSE,1)*100;Var3:=WINNER(CLOSE*1)*100;Var4:=EMA(Var3,4);Var5:=CLOSE<0.980*REF(CLOSE,1);Var6:=OPEN<REF(CLOSE,1);Var7:=(Var2>Var4ANDVar1<N3ANDVar2>N
2、2);CM:Var7OR(COUNT(Var7,N4)ANDVar5ORCOUNT(Var7,N4)ANDVar6);交易次数1716-胜率50.99-成功率90.41-公式加分4853-对“铁底公式的优化公式名称:铁底+公式类型:买点公式默认周期:日默认参数:input:M(30,2,45);a:=indexc/ma(indexc,58)<0.848andc/ema(c,58)<0.81;b:=barslast(a)+1;d:=between(b,2,M)andc<ref(c,b);count(a,2)ord;讲明:如默认参数的测试结果不能知足要求,可降低M的取值,直至符合
3、要求;反之,可调高M,以进步信号次数。烦请风雅颂扬版主根据您的数据优化参数,谢谢!按帖主要求并考虑规那么后取参数25是比拟好的选择!相应取消公式LX64的加分资格!交易次数3298-胜率50.45-成功率82.18-公式加分8748-重发贴,请版主评价我在6月1日于87楼发了竞赛贴,但是未见风雅颂扬班长作出评价,不符合要求?现重发如下公式名称:铁底公式类型:买点公式默认周期:日默认参数:无原码:var1:=(indexc-MA(indexc,58)/MA(indexc,58)<-0.152;var2:=(C-EMA(C,58)/EMA(C,58)<-0.19;count(var2a
4、ndvar1,2);呵呵确实是我忽略,没注意,望见谅!交易次数2021-胜率51.75-成功率87.17-公式加分5598-公式名称:耍无赖参数:已固化周期:日线原码:自编用法:出信号即买入BIAS0:=(C-MA(C,2)/MA(C,2)*100;BIAS1:=(C-MA(C,12)/MA(C,12)*100;BIAS2:=(C-MA(C,26)/MA(C,26)*100;BIAS3:=(C-MA(C,48)/MA(C,48)*100;hxl:=v/capital*100;d1:=INDEXC;d2:=MA(d1,13);dr2:=d2>1.050*d1;E1:=(C-hhv(c,12
5、)/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:=sj1andsj2andsj3;sj6:=cross(0.5,sj5);js1:=cross(sj6,0.5);js2:=barslast(js1=1);js3:=js2<=5andc<ref(c,js2);sj6orjs3;交易次数2624-胜率53.16-成功率82.91-公式加分7141-LG8金矿石一:(CLOSE-REF(CLOSE,2)/REF(CLOSE,2
6、)>=0.2AND(CLOSE-REF(CLOSE,2)/REF(CLOSE,2)<=0.27AND(CLOSE-REF(CLOSE,10)/REF(CLOSE,10)>=0.3ANDCLOSE=HHV(HIGH,60);E1:=(CLOSE-REF(CLOSE,1)/REF(CLOSE,1)*100;E2:=MA(CLOSE-REF(OPEN,29)/REF(OPEN,29),1)*100;E3:=VOL/CAPITAL*100;E4:=REVERSE(SUM(E3,30);E5:=E2/E4;E6:=CLOSE<0.980*REF(CLOSE,1);金矿石二:E5&
7、gt;95/100ANDE2<-25ANDE1>6ORCOUNT(E5>95/100ANDE2<-25ANDE1>6,12)ANDE6;E7:=C<=MA(C,45)*0.75;E8:=1/(WINNER(C*1.2)-WINNER(C*0.8)>=10;金矿石三:E7ANDE8ANDC>llV(L,3);E9:=(CLOSE-MA(CLOSE,48)/MA(CLOSE,48)*100<-25;E10:=(CLOSE-MA(CLOSE,70)/MA(CLOSE,70)*100<-27;E11:=E9ANDE10;E12:=VOL<
8、;REF(VOL,1)*2.8ORCLOSE<MA(CLOSE,48)*0.7AND(COUNT(CLOSE<OPEN*0.97,2)=2AND"DPO">-3.7ORCOUNT(HIGH/LOW>1.065,5)>3);金矿石四:E11AND(CLOSE>OPEN*1.06ORCLOSE>REF(CLOSE,1)*1.038)ANDE12;股道金矿:金矿石一OR金矿石二OR金矿石三OR金矿石四;A1:=EMA(WINNER(CLOSE*1.15)-WINNER(CLOSE*0.95),7);B1:=CLOSE/MA(CLOSE,4
9、0)*100<76;B2:=CLOSE/MA(CLOSE,60)*100<74;B3:=HIGH>LOW*1.1;B4:=B3ANDCOUNT(B3,5)>1;股道银矿:A1<6AND(B1ORB2)ANDB4;股道发大财:股道金矿OR股道银矿;此式为4+1组合,分别测试如下:金矿石一交易次数638-胜率60.34-成功率72.36-公式加分0金矿石二交易次数1508-胜率51.99-成功率87.82-公式加分4217金矿石三交易次数2255-胜率47.69-成功率82.97-公式加分0金矿石四交易次数1234-胜率49.84-成功率80.49-公式加分0股道金矿
10、交易次数4553-胜率48.87-成功率81.86-公式加分0股道银矿交易次数2023-胜率44.09-成功率84.51-公式加分0现取最优者进展加分!-参赛公式:dr001公式类型:买点型周期:日线原码:完全自编讲明:前二日所发“十拿九稳公式固然得了第一,但个人以为其潜力尚未完全挖掘。当时急于参赛,随意测试了几个数据就将帖子发了。公式中尚有许多参数仍不如意,十分是买点的选择不够科学。因此周末在家重新设想了买点的设置,并将公式中许多不关键的局部删除,这样虽是十拿九稳的改编,但其真正的内涵却有非常大的变化。公式的编写经过其实也不复杂,重点选择了人们常用的均线、KD、量能变化等,但因为我刚下载的分
11、析家系统没有个股流通盘的数据,使得我对换手率的经历判断无法在公式中得到表达,多少影响了其效率的进步。该公式我自己的测试结果是次数1400次左右、胜率52%、成功率82%,较原帖分数有50%的提升。公式原码如下:A11:=MA(C,55);A12:=REF(A11,1);A13:=HHV(A11,7);A14:=HHV(A11,13);A1:=IF(A11<A12ANDA13=A14,1,0);A2:=IF(A11>1.0015*A12,1,0);A41:=MA(C,12);A42:=REF(A41,1);A4:=IF(A41>1.003*A42,1,0);A5:=IF(A2=
12、1ORA4=1,1,0);RSV:=(C-LLV(L,3)/(HHV(H,3)-LLV(L,3)*100;K:=SMA(RSV,2,1);D:=SMA(K,2,1);A31:=IF(MA(C,40)>MA(C,20)ANDMA(C,20)>MA(C,10)ANDMA(C,10)>MA(C,5),1,0);A32:=COUNT(A31=1,7);A33:=COUNT(A31=1,21);A3:=IF(A32=7,1,0);a341:=ma(c,34);a342:=ref(a341,1);a34:=if(a341>1.0005*a342,1,0);LC:=REF(C,1);
13、BIAS0:=(C-MA(C,2)/MA(C,2)*100;BIAS1:=(C-MA(C,3)/MA(C,3)*100;BIAS2:=(C-MA(C,7)/MA(C,7)*100;bia:=bias1+bias2;DR4:=COUNT(BIAS2<-7.8,10);DR5:=COUNT(BIAS1<-2.91,10);DR6:=COUNT(BIAS1<-2.1,10);DR8:=COUNT(BIAS1<-4,10);DR9:=IF(DR6>=4ANDDR8>=3,1,0);DR7:=IF(DR5>=4ORDR6>=5ORDR9=1,1,0);HC
14、:=HHV(C,10);HC3:=hhV(C,16);hc2:=hhv(c,7);DYF:=IF(HC/c>1.19orhc3/c>1.26orhc2/c>1.17,3,0);BUY1:=IF(A3=1ANDDYF=3ANDC<LCANDO>C,6,0);BUY2:=IF(a1=0andDR7=1ANDDYF=3ANDC<LCANDO>Candbias0<-1,9,0);ZHBUY:=IF(BUY1=6ANDBUY2=9,1,0);BUY3:=IF(ZHBUY=1ANDA1=0andbias0<-(26/10)andv<3*ma(v,
15、55)andv>0.3*ma(v,55),12,0);yxhb:count(buy3,5)>0andcross(k,d)andc>o;交易次数1401-胜率51.11-成功率81.66-公式加分3720鉴于是在LX47十拿九稳根底上改编而来LX47以及LX48两个公式取优者进入大赛-公式名称:专抄大底公式类型:买点公式默认周期:日线默认参数:无Var2:=IF(EMA(CLOSE,5)/EMA(EMA(CLOSE,9),16)<=0.85ANDCLOSE/REF(CLOSE,1)>0.905ANDCLOSE/REF(CLOSE,1)<1.05ANDVOL/C
16、APITAL*100<5,50,0);Var3:=(-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)+100;Var4:=(-100)*(HHV(HIGH,50)-CLOSE)/(HHV(HIGH,50)-LLV(LOW,50)+100;Var5:=(-100)*(HHV(HIGH,70)-CLOSE)/(HHV(HIGH,70)-LLV(LOW,70)+100;Var6:=(CLOSE-MA(CLOSE,34)/MA(CLOSE,34)*100+10)*5;Var7:=(CLOSE-MA(CLOSE,50)/MA(CLOSE,50
17、)*100+10)*5;Var8:=(CLOSE-MA(CLOSE,70)/MA(CLOSE,70)*100+10)*5;Var9:=(Var3+Var4+Var5+Var6+Var7+Var8)/6;VarB:=ABS(Var6-Var8);VarC:=(Var9+VarB)/2;Var10:=IF(VarC<0ANDCLOSE=LLV(CLOSE,5)ANDCLOSE/REF(CLOSE,1)>0.905ANDCLOSE/REF(CLOSE,1)<1.05ANDVOL/CAPITAL*100<5,-50,0);Var13:=REF(CLOSE,2)*0.865;Var14:=REF(CLOSE,13)*0.772;Var15:=MIN(Var13,Var14);Var16:=100*VOL/CAPITAL;Var18:=IF(CLOSE-Var15)/CLOSE<0.03ANDSUM(Var16,5)/5<1.8,1,0);Var19:=IF(Var18>0AND(Var10<0ORVar2>0),100,0);aa:=MA(CLOSE,80)-MA(CLOSE,10)/3;Var19andCLOSE<aa;交易次数697-胜率57.25-成功率89.04-加分2039-
限制150内