[大智慧经典版] 四合一选股公式(源码)_股票公式_顶尖财经网
  您的位置:首页 >> 股票公式 >> 大智慧公式 >> 文章正文

[大智慧经典版] 四合一选股公式(源码)

加入日期:2009-7-8 21:45:41
源码如下:

以下四个条件满足一个就可以买入,测试3天获利6%,成功率100%;就是信号太少
每天5:(CLOSE-DMA(CLOSE,VOL/SUM(VOL,13)))/DMA(CLOSE,VOL/SUM(VOL,13))*100<=-28 AND (CLOSE-DMA(CLOSE,VOL/SUM(VOL,34)))/DMA(CLOSE,VOL/SUM(VOL,34))*100<=-19
AND C/REF(C,25)<=1.1 AND IF((((HIGH > (LOW * 1.051)) AND (COUNT((HIGH > (LOW * 1.051)),5) > 1)) AND ((((CLOSE / MA(CLOSE,40)) * 100) < 78) OR
(((CLOSE / MA(CLOSE,60)) * 100) < 74))),2,0) AND
(SMA(MAX(C-REF(C,2),0),7,1)/SMA(ABS(C-REF(C,2)),7,1)*100)<15 AND IF(SMA((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100,2,1)>REF(SMA((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100,2,1),1)
AND REF(SMA((CLOSE-LLV(LOW,8))/
(HHV(HIGH,8)-LLV(LOW,8))*100,2,1),1)<REF(SMA((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100,2,1),2)
AND SMA((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100,2,1)<23 ,1.5,0) AND FILTER((C/MA(C,48))<0.75 AND (C/MA(C,70))<0.70 AND
((C-L)/C>0.02 OR C>REF(C,1)*1.01) AND V<REF(V,1)*2.8 AND (COUNT(C<O*0.93,2)=2 OR COUNT(H/L>1.1,5)>3),3)  ;
E4:=(C/MA(C,48))<0.75;
E5:=(C/MA(C,70))<0.70;
E6:=E4 AND E5;
E7:=V<REF(V,1)*2.8 AND (COUNT(C<O*0.93,2)=2 OR COUNT(H/L>1.1,5)>3);
E8:=E6 AND ((C-L)/C>0.02 OR C>REF(C,1)*1.01) AND E7;
买了涨
:Filter(E8,3);
VAR1G:=(((CLOSE / MA(CLOSE,40)) * 100) < 78);
VAR2G:=(((CLOSE / MA(CLOSE,60)) * 100) < 74);
VAR3G:=(HIGH > (LOW * 1.051));
VAR4G:=(VAR3G AND (COUNT(VAR3G,5) > 1));
AA:=IF((VAR4G AND (VAR1G OR VAR2G)),2,0);
BB:=c/ref(c,25)<=1.1;
CC:=(SMA(MAX(C-REF(C,2),0),7,1)/SMA(ABS(C-REF(C,2)),7,1)*100)<15;
V3:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
操盘线
:=SMA(V3,2,1);
V5:=SMA(
操盘线
,2,1);
抄底:=IF(操盘线>REF(操盘线,1) AND REF(操盘线,1)<REF(操盘线,2) AND 操盘线
<23 ,1.5,0);
买就赢利:=BB and AA and CC and 抄底
;
E9:=(C/MA(C,48))<0.75;
E10:=(C/MA(C,70))<0.70;
E11:=E9 AND E10;
E12:=V<REF(V,1)*2.8 AND (COUNT(C<O*0.93,2)=2 OR COUNT(H/L>1.1,5)>3);
E13:=E11 AND ((C-L)/C>0.02 OR C>REF(C,1)*1.01) AND E12;
xg:=Filter(E13,3);
Var1:=DMA(CLOSE,VOL/SUM(VOL,34));
Var2:=DMA(CLOSE,VOL/SUM(VOL,13));
Var3:=(CLOSE-Var1)/Var1*100;
Var4:=(CLOSE-Var2)/Var2*100;
XG2:=Var4<=-28 AND Var3<=-19;
百分百:=(买就赢利
OR XG2 ) AND XG;
EMA5:=EMA(c,5);
EMA8:=EMA(c,8);
EMA13:=EMA(c,13);
EMA21:=EMA(c,21);
Var22:=1;
VarA0:=(EMA5-EMA13)*100*Var22/Var22;
VarB0:=(EMA8-EMA21)*100*Var22/Var22;
DIFFx:=EMA((3*VarA0+1*VarB0)/4,3);
DEAx:=EMA(DIFFx,5);
MACDx:=(DIFFx-DEAx)*2;
MACD
趋势线
:=MACDx;
持股
A:=IF(MACDx>0 AND c>o,1,0);
持股
B:=IF(MACDx<=0 AND c>o,1,0);
持币
A:=IF(MACDx>0 AND c<=o,1,0);
持币
B:=IF(MACDx<=0 AND c<=o,1,0);
变盘点
A:=IF(COUNT(CROSS(DIFFx,REF(DIFFx,1)) OR CROSS(DEAx,REF(DEAx,1)) OR CROSS(MACDx,REF(MACDx,1)),3) AND c>o,1,0);
变盘点
B:=IF(COUNT(CROSS(REF(DIFFx,1),DIFFx) OR CROSS(REF(DEAx,1),DEAx) OR CROSS(REF(MACDx,1),MACDx),3) AND c<=o,1,0);
XGa:=ref(
持币B=1,1) and 持股
B;
精彩底部:COUNT(百分百
=1,3) and XGa;

                       Var21:=(CLOSE-REF(CLOSE,24))/REF(CLOSE,24)*100;
百年一遇:CROSS(Var21,MA(Var21,12)) AND OPEN<CLOSE AND OPEN/REF(CLOSE,1)<=0.97 AND CLOSE/OPEN>=1.05 AND Var21<-25;




以上信息为博客会员、合作方、加盟会员提供,本站不拥有版权,版权归原作者所有,所载文章、数据仅供参考,据此操作,风险自负。
顶 尖 财 经 -- 中 华 顶 尖 网 络 信 息 服 务 中 心
Copyright? 2000 - 2004 www.58188.com