通达信“涨停双响炮主图”指标公式和选股公式——指标分享,胜率69.49%
<p data-first-child></p><p >公式如下:所属板块:=STRCAT('所属板块: ',STRCAT(STRCAT(STRCAT('[行业]-',HYBLOCK),STRCAT(' [地域]-',DYBLOCK)),STRCAT(' [概念]-',GNBLOCK)));总股本:=STRCAT(STRCAT('总股本: ',CON2STR(TOTALCAPITAL/1000000,2)),'亿');流通盘:=STRCAT(STRCAT(' 流通盘: ',CON2STR(CAPITAL/1000000,2)),'亿');全流通:=STRCAT(' 全流通: ',CON2STR((CAPITAL/1000000)/(TOTALCAPITAL/1000000),2));市值:=STRCAT(STRCAT(' 流通市值: ',CON2STR((CAPITAL/1000000)*C,2)),'亿');上市天数:=STRCAT(' 上市天数: ',CON2STR(FINANCE(42),0));股本市值:=STRCAT('股本市值: ',STRCAT(STRCAT(STRCAT(STRCAT(总股本,流通盘),全流通),市值),上市天数));市盈率:=STRCAT('市盈率: ',CON2STR(C/FINANCE(33),2));市销率:=STRCAT(' 市销率: ',CON2STR(C/(FINANCE(20)/FINANCE(1)),2));市净率:=STRCAT(' 市净率: ',CON2STR(C/FINANCE(34),2));净资收益率:=STRCAT(' 净资收益率: ',CON2STR(FINANCE(33)/FINANCE(34)*100,2));毛利率:=STRCAT(' 毛利率: ',CON2STR((FINANCE(20)-FINANCE(21))/FINANCE(20)*100,2));净利润率:=STRCAT(' 净利润率 ',CON2STR(FINANCE(30)/FINANCE(20)*100,2));主营利润率:=STRCAT(' 主营利润率 ',CON2STR(FINANCE(23)/FINANCE(20)*100,2));当前业绩:=STRCAT('当前业绩: ',STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(市盈率,市销率),市净率),净资收益率),毛利率),净利润率),主营利润率));X1:=(FINANCE(11)-FINANCE(15))/FINANCE(10)*1.2;X2:=(FINANCE(31)+FINANCE(17))/FINANCE(10)*1.4;X3:=FINANCE(23)/FINANCE(10)*3.3;X4:=FINANCE(19)/FINANCE(15)*0.6;X5:=FINANCE(20)/FINANCE(15)*0.999;Z值:=X1+X2+X3+X4+X5;预警:=IF(Z值<1.2,'重警',IF(Z值>=1.2 AND Z值<2.6,'轻警','无警'));财务预警:=STRCAT('财务预警: ',STRCAT(预警,STRCAT('-Z值: ',CON2STR(Z值,3))));优质资产率:=STRCAT(' 优质资产率: ',CON2STR((FINANCE(19)-FINANCE(22)-FINANCE(27))/FINANCE(19),2));现金负债比:=STRCAT(' 现金负债比: ',CON2STR(FINANCE(25)/FINANCE(15),3));财务系数:=STRCAT('风险系数: ',STRCAT(STRCAT(财务预警,优质资产率),现金负债比));DRAWTEXT_FIX(C>O,0.01,0.9,0,'微信公众号:欧欧量化'),COLORRED;DRAWTEXT_FIX(ISLASTBAR,0.005,0,0,所属板块),COLORYELLOW;DRAWTEXT_FIX(ISLASTBAR,0.005,0.06,0,股本市值),COLORGRAY;DRAWTEXT_FIX(ISLASTBAR,0.005,0.12,0,当前业绩),COLORGRAY;DRAWTEXT_FIX(ISLASTBAR,0.005,0.18,0,财务系数),COLORGRAY;前炮:=IF(CODELIKE('688') OR CODELIKE('300'),C/REF(C,1)>1.199,C/REF(C,1)>1.099 AND C=H);振幅:=HHV(H,30)/LLV(L,30)<1.4;距离:=COUNT(前炮,30)=1 AND BARSLAST(前炮)>1;后炮:=REF(距离,1) AND 前炮 AND 振幅;STICKLINE(前炮,C,O,3,0),COLOR00FFFF;DRAWICON(CROSS(后炮=1,0.5),L,9);DRAWTEXT(后炮 ,L,'←后炮')COLORYELLOW;</p><p >信号比较简单,就做一个“后炮”的选股吧,如果有公式问题,扫描下方二维码联系我。</p><p >选股公式如下 :</p><p >前炮:=IF(CODELIKE('688') OR CODELIKE('300'),C/REF(C,1)>1.199,C/REF(C,1)>1.099 AND C=H);振幅:=HHV(H,30)/LLV(L,30)<1.4;距离:=COUNT(前炮,30)=1 AND BARSLAST(前炮)>1;后炮:REF(距离,1) AND 前炮 AND 振幅;</p><p >测试一下,平仓规则是,不论盈亏,以持股5天后平仓为条件,胜率69.49%</p><p ><b>风险提示:本指标公式仅作为知识分享,模拟测试不构成任何投资建议,不作投资依据。</b></p><p></p>
页:
[1]