盈利成功率优化: 成功率:今日尾盘买,明日涨幅0.5%以上为盈利,且N日内盈利的天数大于70% 成功率选股:市净率小于1.5,扣非市盈率小于15,40日盈利成功率大于70%(因为单纯成功率选股出票太多,所以加了市净率和扣非市盈率条件,选股前注意更新财务数据和股价历史数据) 成功率幅图:成功率低于50%后转向时可抄底,成功率突破70%可追涨,成功率从90%以上回落到70%左右后转向可做反弹,如图1 最简单的办法,设置240日盈利天数大于75%选股(说明该股长期稳定盈利),固定一只票,做波段和日内T,也可以结合其他指标,大家自己开发用法。 成功率优化: CON1:=C/FINVALUE(4)<1.5 AND FINVALUE(4)>0; CON2:=DYNAINFO(39)>0 AND DYNAINFO(39)<15; CON3:=C/FINVALUE(2)<15 AND FINVALUE(2)>0; VAR1Z:=REF(C,1); 高:=(H-VAR1Z)/VAR1Z*100; 成功:=COUNT(高*10>M,T); CON4:=成功/T*100>N; CON5:=成功/T*100<40; CON1 AND CON3 AND CON4; 分时抓涨停: 之前公式不能显示文字和线条,修改好了,重新发布(顶尖财经 股票学院: www.58188.com) BGTYU:=1; GHYJKU:=BETWEEN((DCLOSE*BGTYU)/(SUM(AMOUNT,BARSCOUNT((DCLOSE*BGTYU)))/SUM(VOL*100,BARSCOUNT((DCLOSE*BGTYU)))),1.05,0.95); VBNH:=IF(GHYJKU=0,MA((DCLOSE*BGTYU),BARSCOUNT((DCLOSE*BGTYU))),(SUM(AMOUNT,BARSCOUNT((DCLOSE*BGTYU)))/SUM(VOL*100,BARSCOUNT((DCLOSE*BGTYU))))); 底线:1.003,COLORRED,LINETHICK2; 高线:1.03,COLORRED,LINETHICK3; 黄色起动线:EXPMA((DCLOSE/VBNH),20),COLORYELLOW,POINTDOT; 洋红色主力线:EXPMA((DCLOSE/VBNH),60),COLORMAGENTA,LINETHICK2; 绿色散户线:EXPMA((DCLOSE/VBNH),120),COLORGREEN,LINETHICK2; DRAWICON(CROSS(EXPMA((DCLOSE/VBNH),60),EXPMA((DCLOSE/VBNH),120)),EXPMA((DCLOSE/VBNH),60)*1,1); DRAWICON(CROSS(EXPMA((DCLOSE/VBNH),120),EXPMA((DCLOSE/VBNH),60)),EXPMA((DCLOSE/VBNH),120)*1,2); DRAWICON(CROSS(EXPMA((DCLOSE/VBNH),20),1.02),1.02+0.005,18); STICKLINE(CROSS(EXPMA((DCLOSE/VBNH),20),1.02),1.02,1.025,4,0), , COLORMAGENTA; STICKLINE(EXPMA(C,10)>EXPMA(C,60) ,1.03,1.034,1.0,0),COLORRED; STICKLINE(EXPMA(C,10)<EXPMA(C,60) ,1.03,1.025,1.0,0),COLORGREEN; DRAWTEXT(CROSS(EXPMA((DCLOSE/VBNH),20),1.02),1.02,'拉升'),COLORWHITE; DRAWTEXT(CROSS(EXPMA((DCLOSE/VBNH),20),1.04),1.04,'可能涨停'),COLORWHITE; STICKLINE(EXPMA((DCLOSE/VBNH),120)>1.003 ,1.03,1.039,1.0,0),COLORMAGENTA; DRAWTEXT(CROSS(EXPMA((DCLOSE/VBNH),120),1.0029),1.028,'买进'),COLORWHITE; DRAWICON(CROSS(EXPMA((DCLOSE/VBNH),120),1.0029),1.0326*1,13); DRAWTEXT(CROSS(EXPMA((DCLOSE/VBNH),120),1.0029),1.036,'观察分时量'),COLORWHITE; DRAWTEXT(CROSS(EXPMA((DCLOSE/VBNH),120),1.004),1.005,'超强'),COLORWHITE; DRAWICON(CROSS(EXPMA((DCLOSE/VBNH),120),1.004),1.003*1,13); 毛利率、营业增长、换手率: DRAWTEXT_FIX(ISLASTBAR,0.01,0,0,STRCAT(STRCAT('营业收入增长率:',CON2STR(FINVALUE(183),2)),'%')),COLORYELLOW; DRAWTEXT_FIX(ISLASTBAR,0.01,0.4,0,STRCAT(STRCAT('净利润增长率:',CON2STR(FINVALUE(184),2)),'%')),COLORYELLOW; DRAWTEXT_FIX(ISLASTBAR,0.415,0.0,1.0,STRCAT(STRCAT('一日换手率累计: ', CON2STR(SUM(DYNAINFO(37)*100,1),2)),'%')),COLORYELLOW; DRAWTEXT_FIX(ISLASTBAR,0.42,0.4,1.0,STRCAT(STRCAT('五日换手率累计: ', CON2STR(SUM(DYNAINFO(37)*100,5),2)),'%')),COLORYELLOW; DRAWTEXT_FIX(ISLASTBAR,0.56,0.0,1.0,STRCAT(STRCAT('十日换手率累计: ', CON2STR(SUM(DYNAINFO(37)*100,10),2)),'%')),COLORYELLOW; DRAWTEXT_FIX(ISLASTBAR,0.577,0.4,1.0,STRCAT(STRCAT('二十日换手率累计: ', CON2STR(SUM(DYNAINFO(37)*100,20),2)),'%')),COLORYELLOW; 毛利率:=STRCAT(STRCAT('销售毛利率: ',CON2STR((FINANCE(20)-FINANCE(21))/FINANCE(20)*100,2)),'%'); 每股收益:=STRCAT(STRCAT('每股收益: ',CON2STR(FINANCE(38),2)),'元'); DRAWTEXT_FIX(ISLASTBAR,0.17,0.0,0,毛利率),COLORYELLOW; DRAWTEXT_FIX(ISLASTBAR,0.17,0.4,0,每股收益),COLORYELLOW; 上涨家数:=STRCAT('沪深总上涨家数:',CON2STR(DYNAINFO(60),0)); 下跌家数:=STRCAT('沪深总下跌家数:',CON2STR(DYNAINFO(61),0)); DRAWTEXT_FIX(ISLASTBAR,0.62,0,0,上涨家数),COLORYELLOW; DRAWTEXT_FIX(ISLASTBAR,0.62,0.4,0,下跌家数),COLORYELLOW; |