通达信呼应涨停及选股指标公式

N:=20;
ZT:=IF(C/REF(C,1)>1.0975 AND C=H,1,-1);
TS:=BArslAST(ZT=1);
TJ1:=O<=REF(O,REF(TS,1)+1) AND ZT=1 AND REF(TS,1)<=N AND C>=REF(O,REF(TS,1)+1) AND REF(TS,1)+1>=2;
TJ2:=O>=REF(O,REF(TS,1)+1) AND L<=REF(C,REF(TS,1)+1)*1.03 AND ZT=1 AND REF(TS,1)<=N AND C>=REF(C,REF(TS,1)+1) AND REF(TS,1)+1>=2;
TJ3:=O<=REF(C,REF(TS,1)+1)*1.05 AND ZT=1 AND C> REF(C,REF(TS,1)+1) AND REF(TS,1)<=N AND REF(TS,1)+1>=2;
呼应涨停:TJ1 OR TJ2 OR TJ3,NODRAW;
DRAWTEXT_FIX(呼应涨停<>10,0.12,0.05,2,'欢迎使用春秋作品 ')COLORRED;
STICKLINE( ZT>0,0,1,2,0 ),COLOR00FFFF;
二次涨停:EVERY(ZT>0,2),COLOR0066FF,NODRAW;
三级跳涨停:EVERY(ZT>0,3),COLORLIRED,NODRAW;
STICKLINE( EVERY(ZT>0,2),0,1,2,0 ),COLOR0066FF;
STICKLINE( EVERY(ZT>0,3),0,1,2,0 ),COLORLIRED;
STICKLINE(REF(C,1)/C>1.0975 AND C=L,0,1,2,0 ),COLORGREEN;
跌停:REF(C,1)/C>1.0975 AND C=L ,NODRAW,COLORGREEN;
STICKLINE( 呼应涨停>0,0,1,2,0 ),COLORRED;

{
选股公式:

N:=20;
ZT:=IF(C/REF(C,1)>1.0975 AND C=H,1,-1);
TS:=BARSLAST(ZT=1);
TJ1:=O<=REF(O,REF(TS,1)+1) AND ZT=1 AND REF(TS,1)<=N AND C>=REF(O,REF(TS,1)+1) AND REF(TS,1)+1>=3;
TJ2:=O>=REF(O,REF(TS,1)+1) AND L<=REF(C,REF(TS,1)+1)*1.03 AND ZT=1 AND REF(TS,1)<=N AND C>=REF(C,REF(TS,1)+1) AND REF(TS,1)+1>=3;
TJ3:=O<=REF(C,REF(TS,1)+1)*1.05 AND ZT=1 AND C> REF(C,REF(TS,1)+1) AND REF(TS,1)<=N AND REF(TS,1)+1>=3;
选股:(TJ1 OR TJ2 OR TJ3) AND (REF(TS,1)>N-5);
}




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

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

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

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