通达信【趋势黑马】副图 中船科技等强势黑马尽在其中 源码分享 附图

V1:=MA(V,5);
V2:=MA(V,20);
D1:=V>REF(HHV(V,2),1) AND RANGE(V1,V2,V) AND UPNDAY(V1,2) AND UPNDAY(V2,2);
D2:=H>REF(HHV(H,2),1);
D3:=MAX(C,O);
D4:=D3>REF(HHV(D3,2),1);
DA:=D1 AND D2 AND D4;
P1:=BARSLAST(DA=1);
P2:=REF(REF(H,1),P1);
DB:=IF(DA,0,IF(C<P2,1,0));
LJ:=REF(HHV(H,P1+1),BARSLAST(DB));
T18:=IF(C>LJ,IF(REF(D3<LJ,1),1,0),0);
T:=IF(NAMELIKE('ST'),0,1) AND IF(NAMELIKE('*'),0,1);
T2:=NOT(CODELIKE('688'));
T3:=NOT(CODELIKE('3'));
T5:=NOT(CODELIKE('4'));
T6:=NOT(CODELIKE('8'));
T7:=NOT(INBLOCK('近期解禁'));
T8:=NOT(INBLOCK('拟减持'));
T9:=IF((INBLOCK('近期强势')OR INBLOCK('最近闪拉')
OR INBLOCK('最近异动') OR INBLOCK('绩优股')),1,0);
T101:=T AND T2 AND T5 AND T6 AND T7 AND T8 AND T9;
T10:=(H+L+O+2*C)/5;
T11:=EMA(T10,39);
T12:=EMA(T10,99);
T13:=T11>=T12;
T16:=REF(H,20);
T17:=REF((C-REF(C,20))/REF(C,20)*100,1);
T19:=REF(C,1)/REF(C,2)>1.098;
T20:=COUNT(T19,23)<3;
T21:=T18 AND T101 AND C>MA(C,T16) AND T17<15 AND T13 AND T20;
T22:=FILTER(T21,10);
T23:=REF(V>REF(V,1)*2 AND C/REF(C,1)>=1.098,1);
T24:=COUNT(T23,4)>=1;
VX1:=COUNT(EVERY(V>=MA(V,135),1),35)>=15;
VX:=(COUNT(EVERY(V>=MA(V,135),10),50)>=1 AND COUNT(EVERY(V>=MA(V,135),1),15)>=5)
OR COUNT(EVERY(VX1,1),15)>=1;
N1:=V>=REF(V,1)*1.45 AND VX;
T25量能:=COUNT(EVERY(N1,1),25)>=1;
T26:=T18 AND T9 AND T17<10 AND REF(C,2)/REF(C,1)<1.03 AND T24 AND T25量能;
T27:=T21 OR T26;
T28:=FILTER(T27,10);
STICKLINE(T28,0,1,2,0),COLORRED;



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

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

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

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