通达信异动擒妖选股指标公式

D1:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
D2:=IF(CLOSE>OPEN,CLOSE,OPEN);
D3:=IF(CLOSE>OPEN,OPEN,CLOSE);
D4:=LLV(D2,4);
D5:=HHV(D3,4);
D6:=D2>=D4 AND D3<=D4 AND D2>=D5 AND D3<=D5;
D7:=REF(D2,1)>=D4 AND REF(D3,1)<=D4 AND REF(D2,1)>=D5 AND REF(D3,1)<=D5;
D8:=REF(D2,2)>=D4 AND REF(D3,2)<=D4 AND REF(D2,2)>=D5 AND REF(D3,2)<=D5;
D9:=REF(D2,3)>=D4 AND REF(D3,3)<=D4 AND REF(D2,3)>=D5 AND REF(D3,3)<=D5;
D10:=D6 AND D7 AND D8 AND D9;
D11:=REF(D5,BARSLAST(D10));
D12:=D11=REF(D11,1);
D13:=BARSLAST(NOT(D12));
D14:=REF(D11,D13+2);
D15:=(REF(OPEN,5)+REF(CLOSE,5))/2;
D16:=(HIGH+LOW+CLOSE+OPEN)/4;
D17:=MAX(D15,MAX(D16,HHV(HIGH,5)));
D18:=MIN(D15,MIN(D16,LLV(LOW,5)));
D19:=D17=D15;
D20:=D19;
ZB:=NOT(CODELIKE('4'));
GS:=NOT(CODELIKE('688'));
DC:=IF(NAMELIKE('S'),0,1);
DCZ:=IF(NAMELIKE('*'),0,1);
DCZ8:=NOT(CODELIKE('8'));
DC8:=ZB AND DC AND GS AND DCZ AND DCZ8;
D21:=REF(D17,BARSLAST(D20));
D22:=D21=REF(D21,1);
D23:=BARSLAST(NOT(D22));
D24:=REF(D21,D23+2);
D25:=HHV(HIGH,120);
D26:=LLV(LOW,120);
D27:=(D25-D26)/2*189/100+D26/1.0618;
D28:=D27*0.8;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
macd:=(DIF-DEA)*2;
XG:=MACD>0;
T1:=C>REF(C, 1)AND V> REF(V, 1);
T2:=C< REF(C, 1)AND V< REF(V, 1);
XG1:=REF(T1, 1)AND T2;
异动:=D18>=D26 AND D17>D11 AND D17>D14 AND D17>D24 AND D17>D28 AND D17>D21 AND CLOSE>MA(CLOSE,60) AND C>3;
异动擒妖:REF(异动< 1,1) AND 异动 AND XG AND T1 AND DC8;



来函数检测结果如下:
该公式没有未来函数

解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图