当前位置:→ 公式网 > 通达信公式 > 正文 ℃ 公式解密、改选股等业务 联系点击查看详情...
以下是通达信预警选股(无源码的请下载附件导入)
C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- 水平面:=EMA(CLOSE,89);
- AAA:=(3*C+H+L+O)/6;
- 短趋:=(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)+4*REF(AAA,4)+3*REF(AAA,5)+2*REF(AAA,6)+REF(AAA,8))/36;
- 中趋:=(LLV(短趋,2)+LLV(短趋,4)+LLV(短趋,6))/3;
- TJ1:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>短趋;
- 立桩量:=FILTER(TJ1,5);
- TJ2:=IF(BARSLAST(立桩量)=1 AND CLOSE>REF(HIGH,1),1,IF(BARSLAST(立桩量)=2 AND CLOSE>REF(HIGH,2),1,IF(BARSLAST(立桩量)=3 AND CLOSE>REF(HIGH,3),1,0)));
- 突破:=TJ2=1;
- TJ3:=IF(BARSLAST(立桩量)=1 AND CLOSE>REF(LOW,1),1,IF(BARSLAST(立桩量)=2 AND CLOSE>REF(LOW,2),1,IF(BARSLAST(立桩量)=3 AND CLOSE>REF(LOW,3),1,0)));
- 三天法则:=TJ3=1;
- 成立:=三天法则 AND 突破;
- A:=IF((BARSCOUNT(C) > 7),(100)*((MA(C,7))/(LLV(MA(C,7),7)) - 1),1);
- N:=IF((A > 0.35),6,65);
- 去掉停牌:=V>0;
- MA1:=MA(CLOSE,5);
- MA2:=MA(CLOSE,15);
- MA3:=MA(CLOSE,25);
- AAW:=(C<MA1)OR(C<MA2)OR(C<MA3);
- BBW:=(C>MA1)AND(C>MA2)AND(C>MA3);
- CCW:=(REF(AAW,1))AND(BBW);
- 条件成立:FILTER(成立,3) AND CCW ;