当前位置:→ 公式网 > 通达信公式 > 正文 ℃ 公式解密、改选股等业务 联系点击查看详情...
以下是条件选股公式(无源码的请下载附件导入)
C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- MA5:=MA(C,5);
- X:=(3*C+L+O+H)/6;
- 多空线:=(20*X+19*REF(X,1)+18*REF(X,2)+17*REF(X,3)+16*REF(X,4)+15*REF(X,5)+14*REF(X,6)
- +13*REF(X,7)+12*REF(X,8)+11*REF(X,9)+10*REF(X,10)+9*REF(X,11)+8*REF(X,12)
- +7*REF(X,13)+6*REF(X,14)+5*REF(X,15)+4*REF(X,16)+3*REF(X,17)+2*REF(X,18)+
- REF(X,20))/210;
- VAR111:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
- K:=SMA(VAR111,3,1);
- D:=SMA(K,3,1);
- 叉1:=CROSS(K,D);
- AA:=MACD.DIF;
- AB:=MACD.DEA;
- 叉2:=CROSS(AA,AB);
- AB1:=DRAWLINE(HIGH>=HHV(HIGH,10),HIGH,LOW<=LLV(LOW,3),HHV(HIGH,3),1),COLORYELLOW;
- VAR1:=MA((LOW+HIGH+CLOSE)/3,5);
- VAR2:=CLOSE=HHV(C,4) AND REF(C,1)=LLV(C,4);
- VAR3:=REF(C,1)=LLV(C,4) AND C>=REF(C,2) OR REF(C,2)=LLV(C,4) AND REF(C,1)<=REF(C,3) AND REF(C,2)<REF(C,4) AND C>=REF(C,1);
- VAR4:=VAR1>REF(VAR1,1) AND REF(VAR1,1)<REF(VAR1,2);
- VAR5:=LOW<HHV(VAR1,13) AND HIGH>HHV(VAR1,13) AND CLOSE>REF(C,1) AND CLOSE>OPEN;
- VAR6:=VAR5 AND COUNT(VAR4,2);
- VAR7:=VAR6 AND NOT(REF(VAR6,1));
- VAR8:=100*EMA(EMA(C-REF(C,1),6),6)/EMA(EMA(ABS(C-REF(C,1)),6),6);
- VAR9:=EMA(MA(C,13),13);
- VAR10:=FILTER((LLV(VAR8,2)=LLV(VAR8,7) AND COUNT(VAR8<0,2) AND CROSS(VAR8,MA(VAR8,2)))=1,5);
- VAR11:=SMA(EMA((C-REF(C,1))/REF(C,1),5)*100,3,1)*10;
- VAR12:=FILTER(((CROSS(VAR11,0) OR CROSS(C,VAR9)) AND VAR10)=1,3);
- VAR13:=MA(C,18)>=REF(MA(C,18),3) AND CROSS(C,MA(C,18));
- RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
- K1:=SMA(RSV,3,1);
- D1:=SMA(K1,3,1);
- J:=3*K1-2*D1;
- 金叉:=CROSS(J,D1);
- 死叉:=CROSS(D1,J);
- 买1:=(VAR12 OR VAR13) AND VAR10;
- 买2:=(VAR12 OR VAR13) AND VAR3;
- 买3:=(VAR12 OR VAR13) AND VAR2;
- 买4:=(VAR2 AND VAR10) OR (VAR3 AND VAR10);
- 买5:=(金叉 AND VAR3) OR (金叉 AND VAR2) OR (金叉 AND VAR10);
- ST:=EXIST(C/REF(C,1)>1.06,50);
- 输出:=(买1 OR 买2 OR 买3 OR 买4 OR 买5 OR VAR7) AND ST;
- XG:CROSS(MA5,多空线) AND 叉1 AND 叉2 AND CROSS(C,AB1) AND 输出;
上一篇:同花顺主力雷达的通达信公式 下一篇:基本面选股与黑马起飞排序的结合运用