通达信过顶回踩(鹏腾2009版本)源码主图选股 贴图

指标介绍:一波强势上拉后,缩量回踩前期顶部,突破高1点可观注。
 

{N=0 1000 30}
 {主图}
T1:=FINDLOWBARS(L,0,N,1);
 T2:=FINDHIGHBARS(H,T1+1,N,1);
 T3:=FINDLOWBARS(L,T2+1,N,1);
 T4:=FINDHIGHBARS(H,T3+1,N,1);
 T5:=BARSLAST(CURRBARSCOUNT=CONST(T1)+1);
 T6:=BARSLAST(CURRBARSCOUNT=CONST(T2)+1);
 T7:=BARSLAST(CURRBARSCOUNT=CONST(T3)+1);
 T8:=BARSLAST(CURRBARSCOUNT=CONST(T4)+1);
 D1:REF(L,T5),COLORGREEN;
 G1:REF(H,T6),COLORRED;
 D2:=REF(L,T7);
 G2:REF(H,T8),COLORRED;
 IF(CURRBARSCOUNT=CONST(T1)+1,L,DRAWNULL),CIRCLEDOT,COLORGREEN,LINETHICK3;
 IF(CURRBARSCOUNT=CONST(T2)+1,H,DRAWNULL),CIRCLEDOT,COLORRED,LINETHICK3;
 IF(CURRBARSCOUNT=CONST(T4)+1,H,DRAWNULL),CIRCLEDOT,COLORRED,LINETHICK3;
 XG:=(COUNT(C>G1,T6)=1 AND C>G1 OR CROSS(C,G1)) AND G1>=G2 AND BETWEEN(D1/G2,0.98,1.05)AND REF(C,T5)/REF(C,T7+1)<1.3;
 DRAWICON(XG AND BARSCOUNT(C)>200,L,1);
 {选股}
T1:=FINDLOWBARS(L,0,N,1);
 T2:=FINDHIGHBARS(H,T1+1,N,1);
 T3:=FINDLOWBARS(L,T2+1,N,1);
 T4:=FINDHIGHBARS(H,T3+1,N,1);
 T5:=BARSLAST(CURRBARSCOUNT=CONST(T1)+1);
 T6:=BARSLAST(CURRBARSCOUNT=CONST(T2)+1);
 T7:=BARSLAST(CURRBARSCOUNT=CONST(T3)+1);
 T8:=BARSLAST(CURRBARSCOUNT=CONST(T4)+1);
 D1:=REF(L,T5);
 G1:=REF(H,T6);
 D2:=REF(L,T7);
 G2:=REF(H,T8);
 XG:=(COUNT(C>G1,T6)=1 AND C>G1 OR CROSS(C,G1)) AND G1>=G2
 AND BETWEEN(D1/G2,0.98,1.05) AND REF(C,T5)/REF(C,T7+1)<1.3;
 COUNT(XG AND BARSCOUNT(C)>200,5);




未来函数检测结果如下:
该公式包含未来函数:DHIGH
该公式包含未来函数:DLOW
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

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

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