通达信高成功率公式汇总
来源:股典钟量化炒股机器人 | 作者:股典钟量化炒股机器人 | 发布时间: 2024-09-02 | 292 次浏览 | 分享到:
通达信高成功率公式汇总


 may:may1 and may2;

交易次数1787-胜率45.78-成功率87.67

/////////////////////////////////

原码如下:
A11:=MA(C,55);A12:=REF(A11,1);A13:=HHV(A11,7);A14:=HHV(A11,13);
 A1:=IF(A11<A12 AND A13=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=1 OR A4=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) AND MA(C,20)>MA(C,10) AND
 MA(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);
 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>=4 AND DR8>=3,1,0);DR7:=IF(DR5>=4 OR DR6>=5 OR DR9=1,1,0);
 HC:=HHV(C,10); HC3:=hhV(C,16); hc2:=hhv(c,7);