|
{秋风扫落叶} ***** (五星级 )
Var1:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL);
Var2:=REF(HIGH,10)/CLOSE>1.35;
Var3:=(COST(20)-CLOSE)/CLOSE>0.15;
Var4:=HIGH>LOW*1.051;
秋风扫落叶:=Var4 AND COUNT(Var4,5)>1;
KKDDJ来了:(((CLOSE-Var1)/Var1*100<-30) or Var2) and Var3 and
秋风扫落叶;
公式类型:高成功率
默认周期:日
默认参数input:N(22,1,30),N2(5,1,10),N3(3,1,5),N4(-30,-50,0);:
原码:
input:N(22,1,30),N2(5,1,10),N3(3,1,5),N4(-30,-50,0);
Var1:=IF(DATE>=1090608,0,1);
Var2:=CLOSE<0.98*REF(CLOSE,1);
Var3:=OPEN<REF(CLOSE,1);
Var4:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100*Var1;
Var5:=(CLOSE-REF(OPEN,29))/REF(OPEN,29)*100*Var1;
Var6:=MA(COST(N)/LOW,N3);
Var7:=Var6>1.5 AND Var4>N2 AND Var5<N4;
Q: Var7 AND (COUNT(Var7,10) AND Var2 OR COUNT(Var7,20) AND Var3*Var1);
交易次数239-胜率51.05-成功率-93.77
好公式不需要复杂的,
s01:=c/ma(c,40)<0.74;
s02:=(h-l)/ref(c,1)>0.05;
s03:=count(s02,5)>1;
s01 and s02 and s03;
交易次数3829-胜率39.31-成功率80.06
|
|