最强选股战法推荐:
通达信顶底分型线段主图未加密选股指标公式源码
源码正文:
局部低点预选A:=BacKSET(LLV(L,5)<REF(LLV(L,4),1),4){XG51};
局部低点预选B:=BACKSET(局部低点预选A=0 AND REF(局部低点预选A,1)=1,2){XG51};
局部低点预选C:=IF(局部低点预选B=1 AND REF(局部低点预选B,1)=0,-1,0){XG51};
局部高点预选A:=BACKSET(HHV(H,5)>REF(HHV(H,4),1),4){XG51};
局部高点预选B:=BACKSET(局部高点预选A=0 AND REF(局部高点预选A,1)=1,2){XG51};
局部高点预选C:=IF(局部高点预选B=1 AND REF(局部高点预选B,1)=0,1,0){XG51};
缺口判断:=IF(L>REF(H,1),1,IF(H<REF(L,1),-1,0)){XG51};
距前高天:=BArslAst(局部高点预选C=1){XG51};
距前低天:=BARSLAST(局部低点预选C=-1){XG51};
小值周期:=LOwrANGE(L){XG51};
大值周期:=topRANGE(H){XG51};
低保留AA:=IF(局部低点预选C=-1 AND REF(距前高天,1)>REF(距前低天,1) AND LLV(L,距前高天+1)<REF(LLV(L,距前高天+1),1),-1,0){XG51};
低保留AB:=IF(局部低点预选C=-1 AND REF(距前高天,1)<=REF(距前低天,1) AND (距前高天>=4 OR LLV(缺口判断,距前高天)=-1 OR LLV(L,距前低天+2)<REF(LLV(L,距前低天+1),1)),-1,0){XG51};
低保留S:=IF((低保留AA=-1 OR 低保留AB=-1) AND L<REF(H,距前高天+1),-1,0){XG51};
预判:=IF((距前低天<4 AND HHV(缺口判断,距前低天)!=1) OR REF(低保留S,距前低天)=0,1,0){XG51};
判断:=IF(局部高点预选C=1 AND REF(距前低天,1)<=REF(距前高天,1) AND 预判=1 AND 大值周期>REF(小值周期,距前低天+1) AND 大值周期>REF(小值周期,距前低天) AND 大值周期>REF(大值周期,距前高天),1,0){XG51};
高保留A:=IF(局部高点预选C=1 AND REF(距前低天,1)>REF(距前高天,1) AND HHV(H,距前低天+1)>REF(HHV(H,距前低天+1),1),1,0){XG51};
高保留B:=IF(局部高点预选C=1 AND REF(距前低天,1)<=REF(距前高天,1) AND REF(低保留S,距前低天)=-1 AND (距前低天>=4 OR HHV(缺口判断,距前低天)=1),1,0){XG51};
高保留:=IF((高保留A=1 OR 高保留B=1 OR 判断=1) AND H>REF(L,距前低天+1),1,0){XG51};
预判A:=IF((距前高天<4 AND HHV(缺口判断,距前高天)!=1) OR REF(高保留,距前高天)=0,1,0){XG51};
判断A:=IF(局部低点预选C=-1 AND REF(距前高天,1)<=REF(距前低天,1) AND 预判A=1 AND 小值周期>REF(大值周期,距前高天+1) AND 小值周期>REF(大值周期,距前高天) AND 小值周期>REF(小值周期,距前低天),-1,0){XG51};
低保留A:=IF(局部低点预选C=-1 AND REF(距前高天,1)>REF(距前低天,1) AND LLV(L,距前高天+1)<REF(LLV(L,距前高天+1),1),-1,0){XG51};
低保留B:=IF(局部低点预选C=-1 AND REF(距前高天,1)<=REF(距前低天,1) AND (距前高天>=4 OR LLV(缺口判断,距前高天)=-1 OR 判断A=-1),-1,0){XG51};
低保留:=IF((低保留A=-1 OR 低保留B=-1) AND L<REF(H,距前高天+1),-1,0){XG51};
距前高天A:=BARSLAST(高保留=1){XG51};
距前低天A:=BARSLAST(低保留=-1){XG51};
预判X:=IF((距前低天A<4 AND HHV(缺口判断,距前低天A)!=1) OR REF(低保留,距前低天A)=0,1,0){XG51};
判断X:=IF(局部高点预选C=1 AND REF(距前低天A,1)<=REF(距前高天A,1) AND 预判X=1 AND 大值周期>REF(小值周期,距前低天A+1) AND 大值周期>REF(小值周期,距前低天A) AND 大值周期>REF(大值周期,距前高天A),1,0){XG51};
高保留XA:=IF(局部高点预选C=1 AND REF(距前低天A,1)>REF(距前高天A,1) AND HHV(H,距前低天A+1)>REF(HHV(H,距前低天A+1),1),1,0){XG51};
高保留XB:=IF(局部高点预选C=1 AND REF(距前低天A,1)<=REF(距前高天A,1) AND REF(低保留,距前低天A)=-1 AND (距前低天A>=4 OR HHV(缺口判断,距前低天A)=1),1,0){XG51};
高保留X:=IF((高保留XA=1 OR 高保留XB=1 OR 判断X=1) AND H>REF(L,距前低天A+1),1,0){XG51};
预判XA:=IF((距前高天A<4 AND HHV(缺口判断,距前高天A)!=1) OR REF(高保留XA,距前高天A)=0,1,0){XG51};
判断XA:=IF(局部低点预选C=-1 AND REF(距前高天A,1)<=REF(距前低天A,1) AND 预判XA=1 AND 小值周期>REF(大值周期,距前高天A+1) AND 小值周期>REF(大值周期,距前高天A) AND 小值周期>REF(小值周期,距前低天A),-1,0){XG51};
低保留XA:=IF(局部低点预选C=-1 AND REF(距前高天A,1)>REF(距前低天A,1) AND LLV(L,距前高天A+1)<REF(LLV(L,距前高天A+1),1),-1,0){XG51};
低保留XB:=IF(局部低点预选C=-1 AND REF(距前高天A,1)<=REF(距前低天A,1) AND (距前高天A>=4 OR LLV(缺口判断,距前高天A)=-1 OR 判断XA=-1),-1,0){XG51};
低保留X:=IF((低保留XA=-1 OR 低保留XB=-1) AND L<REF(H,距前高天A+1),-1,0){XG51};
距前高天YA:=BARSLAST(高保留X=1){XG51};
距前低天YA:=BARSLAST(低保留X=-1){XG51};
预判YX:=IF((距前低天YA<4 AND HHV(缺口判断,距前低天YA)!=1) OR REF(低保留X,距前低天YA)=0,1,0){XG51};
判断YX:=IF(局部高点预选C=1 AND REF(距前低天YA,1)<=REF(距前高天YA,1) AND 预判YX=1 AND 大值周期>REF(小值周期,距前低天YA+1) AND 大值周期>REF(小值周期,距前低天YA) AND 大值周期>REF(大值周期,距前高天YA),1,0){XG51};
高保留YXA:=IF(局部高点预选C=1 AND REF(距前低天YA,1)>REF(距前高天YA,1) AND HHV(H,距前低天YA+1)>REF(HHV(H,距前低天YA+1),1),1,0){XG51};
高保留YXB:=IF(局部高点预选C=1 AND REF(距前低天YA,1)<=REF(距前高天YA,1) AND REF(低保留X,距前低天YA)=-1 AND (距前低天YA>=4 OR HHV(缺口判断,距前低天YA)=1),1,0){XG51};
高保留YX:=IF((高保留YXA=1 OR 高保留YXB=1 OR 判断YX=1) AND H>REF(L,距前低天YA+1),1,0){XG51};
预判YXA:=IF((距前高天YA<4 AND HHV(缺口判断,距前高天YA)!=1) OR REF(高保留YXA,距前高天YA)=0,1,0){XG51};
判断YXA:=IF(局部低点预选C=-1 AND REF(距前高天YA,1)<=REF(距前低天YA,1) AND 预判YXA=1 AND 小值周期>REF(大值周期,距前高天YA+1) AND 小值周期>REF(大值周期,距前高天YA) AND 小值周期>REF(小值周期,距前低天YA),-1,0){XG51};
低保留YXA:=IF(局部低点预选C=-1 AND REF(距前高天YA,1)>REF(距前低天YA,1) AND LLV(L,距前高天YA+1)<REF(LLV(L,距前高天YA+1),1),-1,0){XG51};
低保留YXB:=IF(局部低点预选C=-1 AND REF(距前高天YA,1)<=REF(距前低天YA,1) AND (距前高天YA>=4 OR LLV(缺口判断,距前高天YA)=-1 OR 判断YXA=-1),-1,0){XG51};
低保留YX:=IF((低保留YXA=-1 OR 低保留YXB=-1) AND L<REF(H,距前高天YA+1),-1,0){XG51};
AAAD:=IF(高保留YX=1 AND 低保留YX=-1 AND H>REF(H,REF(距前高天YA,1)+2),1,IF(高保留YX=1 AND 低保留YX=-1 AND L<REF(L,REF(距前低天YA,1)+2),-1,0)){XG51};
极点保留:=IF(AAAD=0,高保留YX+低保留YX,AAAD){XG51};
局部极点:IF(极点保留=-1,L,IF(极点保留=1,H,DRAWNULL)) CIRCLEDOT COLORBLUE{XG51};
DRAWLINE(极点保留=-1,局部极点,极点保留=1,局部极点,0)COLORYELLOW;
DRAWLINE(极点保留=1,局部极点,极点保留=-1,局部极点,0)COLORYELLOW{XG51};
DRAWICON(极点保留=-1,L-0.03,1){X_G-5?1_C_N_{};
通达信UMA财务主图未加密选股指标公式源码
源码正文:
ma5:MA(CLOSE,5),COLORRED{XG51};
MA10:MA(CLOSE,10),COLORBLUE{XG51};
MA20:MA(CLOSE,20),COLORFF00FF{XG51};
MA30:MA(CLOSE,30), COLORCYAN{XG51};
MA46:=MA(CLOSE,46),COLORYELLOW{XG51};
MA60:MA(CLOSE,60),COLORWHITE{XG51};
MA120:=MA(CLOSE,120),COLOR2F4F2F{XG51};
MA250:=MA(CLOSE,250),COLOR871F78{XG51};
stICKLINE(C/REF(C,1)>1.095,C,O,2,0),COLORBLUE{XG51};
VARZT:=BArslAST(C/REF(C,1)>1.094){XG51};
DRAWTEXT(VARZT=2,L*0.95,'3T'),COLORBLUE{XG51};
DRAWTEXT(VARZT=4,H*1.06,'5T'),COLORBLUE{XG51};
DRAWTEXT(VARZT=7,L*0.95,'8T'),COLORBLUE{XG51};
DRAWTEXT(VARZT=12,H*1.06,'13T'),COLORBLUE{XG51};
DRAWTEXT(VARZT=20,L*0.95,'21T'),COLORBLUE{XG51};
DRAWTEXT(VARZT=33,H*1.03,'34T'),COLORBLUE{XG51};
DRAWTEXT(VARZT=54,L*0.95,'55T'),COLORBLUE{XG51};
DRAWTEXT(VARZT=88,H*1.06,'89T'),COLORBLUE{XG51};
DRAWTEXT(VARZT=143,L*0.95,'144T'),COLORBLUE{XG51};
DRAWTEXT(VARZT=232,H*1.06,'233T'),COLORBLUE{XG51};
DRAWTEXT(VARZT=376,L*0.95,'377T'),COLORBLUE{XG51};
总股本:=STRCAT(STRCAT('总股本: ',CON2STR(TOTALCAPITAL/1000000,2)),'亿'){XG51};
流通盘:=STRCAT(STRCAT(' 流通盘: ',CON2STR(CAPITAL/1000000,2)),'亿'){XG51};
全流通:=STRCAT(' 全流通: ',CON2STR((CAPITAL/1000000)/(TOTALCAPITAL/1000000),2)){XG51};
市值:=STRCAT(STRCAT(' 流通市值: ',CON2STR((CAPITAL/1000000)*C,2)),'亿'){XG51};
上市日期:=STRCAT(' 上市日期: ',CON2STR(HHV((BARSCOUNT(C)=0)*(DATE+19000000),0),0)){XG51};
股本市值:=STRCAT('股本市值: ',STRCAT(STRCAT(STRCAT(STRCAT(总股本,流通盘),全流通),市值),上市日期)){XG51};
市盈率:=STRCAT('市盈率: ',CON2STR(C/FINANCE(33),2)){XG51};
市销率:=STRCAT(' 市销率: ',CON2STR(C/(FINANCE(20)/FINANCE(1)),2)){XG51};
市净率:=STRCAT(' 市净率: ',CON2STR(C/FINANCE(34),2)){XG51};
净资收益率:=STRCAT(' 净资收益率: ',CON2STR(FINANCE(33)/FINANCE(34)*100,2)){XG51};
毛利率:=STRCAT(' 毛利率: ',CON2STR((FINANCE(20)-FINANCE(21))/FINANCE(20)*100,2)){XG51};
净利润率:=STRCAT(' 净利润率 ',CON2STR(FINANCE(30)/FINANCE(20)*100,2)){XG51};
主营利润率:=STRCAT(' 主营利润率 ',CON2STR(FINANCE(23)/FINANCE(20)*100,2)){XG51};
当前业绩:=STRCAT('当前业绩: ',STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(市盈率,市销率),市净率),净资收益率),毛利率),净利润率),主营利润率)){XG51};
每股收益:=STRCAT('每股收益: ',CON2STR(FINANCE(33),2)){XG51};
每股净资:=STRCAT('每股净资: ',CON2STR(FINANCE(34),2)){XG51};
每股未分:=STRCAT('每股未分: ',CON2STR(FINANCE(32),2)){XG51};
每股公积:=STRCAT('每股公积: ',CON2STR(FINANCE(18),2)){XG51};
每股现金:=STRCAT('每股现金: ',CON2STR(FINANCE(25)/FINANCE(1),2)){XG51};
每股指标:=STRCAT('每股指标: ',STRCAT(STRCAT(STRCAT(STRCAT(每股收益,每股净资),每股未分),每股公积),每股现金)){XG51};
DRAWTEXT_FIX(ISLASTBAR,0.46,0.99,0,当前业绩),COLORFFFFFF{XG51};
DRAWTEXT_FIX(ISLASTBAR,0.01,0.99,0,每股指标),COLORFFFF80{XG51};
DRAWTEXT_FIX(ISLASTBAR,0.12,0.01,0,股本市值),COLOR00FF80{XG51};
DRAWTEXT_FIX(1,0.01,0.13,0,EXTERNSTR(0,1)),COLORWHITE;
DRAWTEXT_FIX(1,0.38,0.066,0,EXTERNSTR(0,2)),COLORDD00DD;
DRAWTEXT_FIX(1,0.01,0.066,0,EXTERNSTR(0,3)),COLOR00DD00{XG51};
DRAWTEXT_FIX(ISLASTBAR ,0.06,0.01,1,DYBLOCK),COLORBLUE{XG51};
DRAWTEXT_FIX(ISLASTBAR ,0.065,0.01,0,HYBLOCK),COLORBLUE{XG51};
DRAWTEXT_FIX(1,0.63,0.01,0,'愚民概念:'),COLOR00FFFF{XG51};
DRAWTEXT_FIX(1,0.69,0.01,0,EXTERNSTR(0,4)),COLOR00FFFF{X~G~5?1~C~N~{};
重要申明:本站所有的文章、图片、评论等,均由网友发表或上传并维护或收集自网络,属个人行为,与本站立场无关。
如果侵犯了您的权利,请与我们联系,我们将在24小时内进行处理、任何非本站因素导致的法律后果,本站均不负任何责任。
选股无忧网是股票软件指标公式分享平台,不开展相关证券业务,平台展示的所有股票资料由网络收集,不保障实时性和真实性,请勿以此为依据进行股票交易。
联系QQ:875328188 | 邮箱:875328188@qq.com
Copyright © 2002-2021 选股无忧网桂ICP备18001383号-7