通达信【跟庄打首板】主图指标 趋势龙妖的启动战法指标套装!源码

总股本:=STRCAT(STRCAT(' 总股本:',CON2STR(TOTALCAPITAL/1000000,2)),'亿');

流通股:=STRCAT(STRCAT(' 流通股:',CON2STR(CAPITAL/1000000,2)),'亿');

全流通:=STRCAT(STRCAT(' 流通比:',CON2STR(CAPITAL/TOTALCAPITAL*100,2)),'%');

市值:=STRCAT(STRCAT(' 流通市值:',CON2STR((CAPITAL/1000000)*C,2)),'亿');

股本市值:=STRCAT('【股本市值】:',STRCAT(STRCAT(STRCAT(总股本,流通股),全流通),市值));

市盈率:=STRCAT(' 市盈率:',CON2STR(C/FINANCE(33),2));

净益率:=STRCAT(' 净益率:',CON2STR(FINANCE(33)/FINANCE(34)*100,2));

主营利润率:=STRCAT(' 主营利润率:',CON2STR(FINANCE(23)/FINANCE(20)*100,2));

当前业绩:=STRCAT('【当前业绩】:',STRCAT(STRCAT(市盈率,净益率),主营利润率));

DRAWTEXT_FIX(1,0.005,0.02,0,STRCAT('【所属板块】:',STRCAT(STRCAT(' [行业]—',HYBLOCK),STRCAT(' [概念]—',GNBLOCK)))),COLORYELLOW;

DRAWTEXT_FIX(1,0.005,0.07,0,STRCAT('【风格板块】:',STRCAT(STRCAT(' [地域]—',DYBLOCK),STRCAT(' [风格]—',FGBLOCK)))),COLORYELLOW;

DRAWTEXT_FIX(1,0.005,0.12,0,股本市值),COLORMAGENTA;

DRAWTEXT_FIX(1,0.005,0.17,0,当前业绩),COLORMAGENTA;

主力:EMA(EMA(EMA(C,2),2),3),COLORRED,LINETHICK1;

散户:EMA(EMA(EMA(EMA(EMA(C,2),2),2),2),7),COLORBLUE,LINETHICK1;

DRAWBAND(主力,RGB(50,50,125),散户,RGB(0,105,0));

五日位置:=WMA(((2*C+H+L)/4-LLV(L,5))/(HHV(H,5)-LLV(L,5))*100,2);

五日加权:=WMA(0.618*REF(五日位置,1)+0.382*五日位置,2);

DRAWTEXT(CROSS(五日加权,五日位置) AND 五日位置>70 AND 主力>散户 AND ((H-O)< (O-C) AND C< O) AND REF(C,1)< REF(C,2)*1.095,H+0.07,'←洗盘'),COLORGREEN;

长庄强度:=(EMA(C,14)-REF(EMA(C,14),1))/REF(EMA(C,14),1)*100,NODRAW;

DRAWTEXT(CROSS(长庄强度,0) AND C>=REF(HHV(H,7),1) AND C>REF(C,1)*1.097 AND C=H AND CROSS(主力,散户) AND C>=主力 AND C>O,L*0.98,'←打首板')COLORYELLOW;

STICKLINE(CROSS(长庄强度,0) AND C>=REF(HHV(H,7),1) AND C>REF(C,1)*1.097 AND C=H AND CROSS(主力,散户) AND C>=主力 AND C>O,C,O,2,0),COLORYELLOW;

STICKLINE(CROSS(长庄强度,0) AND C>=REF(HHV(H,7),1) AND C>REF(C,1)*1.097 AND C=H AND CROSS(主力,散户) AND C>=主力 AND C>O,H,L,0,0),COLORYELLOW;

STICKLINE(CROSS(长庄强度,0),(C+O)/2,O,1,0),COLORRED;

STICKLINE(CROSS(0,长庄强度),(C+O)/2,O,1,0),COLORYELLOW;

生命线:MA(CLOSE,60),COLORRED,LINETHICK1;

DRAWTEXT(((REF(C,1)>REF(C,2)*1.096 AND REF(C,2)>REF(C,3)*1.096 ) AND C< REF(C,1)*1.095),H,'←清仓'),COLORYELLOW;

DRAWSL(主力=散户,REF(H,1),0,3,0),LINETHICK2;

涨停板:=(C>=ZTPRICE(REF(C,1),IF(FINANCE(3)=4,0.2,0.1)));

一板:=涨停板 AND NOT(REF(涨停板,1)) AND H=C AND FINANCE(42)>20;

二连板:STICKLINE(EVERY(涨停板,2) AND NOT(REF(涨停板,2)) AND FINANCE(42)>30 AND V< REF(V,1),(O+C)/2,C,1,0),COLORRED;

三连板:=EVERY(涨停板,3) AND NOT(REF(涨停板,3)) AND FINANCE(42)>20 AND V< REF(V,1);

DRAWTEXT(一板 AND C>O AND V>REF(MA(V,5),1)*2,L*0.9,'↑试仓'),COLORRED;

STICKLINE(一板 AND C>O AND V>REF(MA(V,5),1)*2,C,O,2,0),COLORYELLOW;

STICKLINE(一板 AND C>O AND V>REF(MA(V,5),1)*2,H,L,0,0),COLORYELLOW;

DRAWTEXT(二连板 ,L-0.07,'二进三'),COLORYELLOW;

DRAWTEXT(三连板 ,O,'龙妖'),COLORYELLOW;

T1:=C>REF(C,1)*1.095 AND REF(C,1)< REF(C,2)*1.095 AND REF(C,2)>REF(C,3)*1.095 AND REF(C,3)< REF(C,4)*1.095;

T2:=C>REF(C,1)*1.095 AND REF(C,1)< REF(C,2)*1.095 AND REF(C,2)< REF(C,3)*1.095 AND REF(C,3)>REF(C,4)*1.095 AND REF(C,4)< REF(C,5)*1.095;

DRAWTEXT(T1 OR T2 ,L-0.09,'一进二'),COLORYELLOW;

DRAWKLINE(H,O,L,C);



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

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

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