超强的通达信选股公式(成功率特高)

[复制链接]
查看52 | 回复0 | 2022-7-24 07:00:23 | 显示全部楼层 |阅读模式

源码如下:

DIF:=EMA(C,12)-EMA(C,26);
 DEA:=EMA(DIF,9);
 MACD:=(DIF-DEA)*2;
 RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
 K:=SMA(RSV,3,1);
 D:=SMA(K,3,1);
 J:=3*K-2*D;
 LB:=DYNAINFO(17);
 F:=COUNT(C/REF(C,1)>1.099,120)>0;
 BHC:=(DYNAINFO(4)=0);
 G:=NOT(BHC);
 XY1:=REF(C,1)>=REF(O,1)&&REF(C,1)<REF(O,1)*1.012;
 XY2:=REF(C,1)<REF(O,1)&&REF(C,1)>REF(O,1)*0.979;
 XY3:=REF(C,1)>REF(C,2)*1.099;
 A1:=O>REF(C,1)&&O<1.02*REF(C,1);
 A2:=C>MA(C,20);
 A3:=MA(C,20)>REF(MA(C,20),1);
 A4:=C/1.005>REF(C,1)&&(XY1||XY2||XY3);
 A5:=LB>2;
 A6:=MA(C,5)>REF(MA(C,5),1);
 A7:=MA(C,10)>REF(MA(C,10),1);
 A9:=K>D;
 A10:=DIF>DEA;
 A11:=DEA>REF(DEA,1);
 A12:=MACD>REF(MACD,1)&&MACD>0;
 A13:="KDJ.K#WEEK">="KDJ.D#WEEK";
 A14:="MACD.DIF#WEEK">"MACD.DEA#WEEK";
 A15:=A1&&A2&&A3&&A4;
 A16:=A5&&A6&&A7;
 A17:=A9&&A10&&A11&&A12;
 A18:=A13&&A14;
 A19:=A15&&A16&&A17&&A18;
 XG:IF(A19,10,0)&&C<18 &&F&&G;

543466141.jpg

543466141.jpg

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则