通达信【筹码突破基因】主副图指标 挖掘个股的突破潜力 源码

{筹码突破基因主图源码如下}



游资筹码:=V;

所属行业:DRAWTEXT_FIX(1,0,0.10,0,'【行业】:'),COLORFFFF00;DRAWTEXT_FIX(1,0.05,0.10,0,HYBLOCK),COLORFFFF00;

所属概念:DRAWTEXT_FIX(1,0,0.15,0,'【概念】:'),COLORFFFF00;DRAWTEXT_FIX(1,0.05,0.15,0,GNBLOCK),COLORFFFF00;

P:=FINANCE(42);

涨停价:=ZTPRICE(REF(C,1),0.1);

跌停价:=DTPRICE(REF(C,1),0.1);

开板:=((H>=涨停价) AND (C<涨停价));

涨停数:=COUNT((C>=涨停价) AND L<>C,P) NODRAW;

开板数:=COUNT(开板,P) NODRAW;

跌停数:=COUNT(C<=跌停价,P) NODRAW;

封板率:=(1-(开板数/(涨停数+开板数)))*100;

共振突破1:=100;

共振突破2:=VOL<=LLV(VOL,共振突破1)*1.2 AND VOL>0 AND BARSCOUNT(VOL)>=共振突破1;

共振突破3:=COUNT(共振突破2,5)>=3;

共振突破4:=VOL>=REF(VOL,1)*1.9 AND CLOSE>REF(CLOSE,1);

共振突破5:=REF(共振突破3,1) AND 共振突破4;

共振突破6:=20;

共振突破7:=REF(HHV(CLOSE,共振突破6),1);

捉牛突破6:=REF(COUNT(CLOSE<共振突破7,2)=2,1) AND CLOSE>共振突破7 AND CLOSE>OPEN AND VOL/REF(VOL,1)>=1.9;

STICKLINE(捉牛突破6,OPEN,CLOSE,2,0),COLORMAGENTA;

DRAWTEXT(捉牛突破6,L,'★基因');

DRAWICON(捉牛突破6,L,9);

DRAWTEXT_FIX(CLOSE>1,0,0.20,0,'【涨停数】:'),COLORFFFF00;

DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.05,0.20,0,涨停数),COLORFFFF00;

DRAWTEXT_FIX(CLOSE>1,0,0.25,0,'【开板数】:'),COLORFFFF00;

DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.05,0.25,0,开板数),COLORFFFF00;

DRAWTEXT_FIX(CLOSE>1,0,0.30,0,'【跌停数】:'),COLORFFFF00;

DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.05,0.30,0,跌停数),COLORFFFF00;

DRAWTEXT_FIX(CLOSE>1,0,0.35,0,'【封板率】:'),COLORFFFF00;

DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.05,0.35,0,封板率),COLORFFFF00;

DRAWTEXT_FIX(C>0,0.075,0.35,0,'%'),COLORFFFF00;

连板数:=HHV(BARSLAST(NOT(C>=涨停价 AND L<>C)),P);

DRAWTEXT_FIX(CLOSE>1,0,0.40,0,'【连板数】:'),COLORFFFF00;

DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.05,0.40,0,连板数),COLORFFFF00;


{筹码突破基因副图源码如下}


共振突破1:=100;
共振突破2:=VOL<=LLV(VOL,共振突破1)*1.2 AND VOL>0 AND BARSCOUNT(VOL)>=共振突破1;
共振突破3:=COUNT(共振突破2,5)>=3;
共振突破4:=VOL>=REF(VOL,1)*1.9 AND CLOSE>REF(CLOSE,1);
共振突破5:=REF(共振突破3,1) AND 共振突破4;
共振突破6:=20;
共振突破7:=REF(HHV(CLOSE,共振突破6),1);
捉牛突破6:=REF(COUNT(CLOSE< 共振突破7,2)=2,1) AND CLOSE>共振突破7 AND CLOSE>OPEN AND VOL/REF(VOL,1)>=1.9;
STICKLINE(捉牛突破6,0,1,2,0),COLORMAGENTA;
STICKLINE(捉牛突破6,0,1,1,0),COLORRED;
STICKLINE(捉牛突破6,0,1,0.5,0),COLORYELLOW;
DRAWTEXT(捉牛突破6,0.8,' ★涨停基因'),COLORRED;
DRAWICON(捉牛突破6,1,9);
DRAWTEXT_FIX(1,0.60,0.75,0,' '),COLORYELLOW;




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

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

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