最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 五里操底熊市抄底利器 用它抄底我看行 原码

    正文概述    2024-04-14 17:41:57  

    1.指标设计理念:A股市场走熊5年,进入熊市后半场,个股普遍杀跌惨烈,超跌严重。此时我们需要做什么?-----抄底,买入那些股价超跌、盘小、价低、基本面优质的个股,好好潜伏,等待新一轮牛市的到来!
            2.本指标设计的依据:1)价、量及其关系;2)个股与大盘比较;3)反映股价趋势与超买超卖的RSI与BAIS;4)反映个股基本面的指标。
            3.综合以上4 个方面的因素,设计出熊市抄底与逃顶的各级信号:
          ★低金--→★金底牛, 为依次加强的超跌买入信号,信号很少,一般在极度超跌或熊市末期出现, 据此信号一般可以做中线操底!  
          ★★熊双金为熊市抢反弹信号,据此信号须很谨慎, 并只能做短线, 还要及时设好止损, 止赢!  
          ★牛市初期见(★顶)为洗盘, 高位或熊市见(★顶)收兵!!
            4.本次把副图与选股指标一起发出。
            5.指标效果,见2楼图示。
            6.如果觉得这指标对你有用,如果你下了,请你提出宝贵意见,以便进一步优化!

         特别说明:由于选股公式中只列入了★低金--→★金底牛这组中线抄底信号,条件苛刻,信号极少,如果你要多选出个股,最后一句可改为阶段选股语句:

    W18:EXIST(FZXG AND XGJ,3);
     

     

    {五里操底-副图原码}

    DRAWGBK(CURRBARSCOUNT=1, RGB(110,108,108),RGB(88,30,0),0,'',0);
    {量价大盘三者关系}
    DP:=(INDEXC-REF(INDEXC,1))/REF(INDEXC,1)*100;{大盘指数涨跌幅度公式函数表达式}
    MADP60:=MA(DP,5),COLOR00FFFF;
    MADP120:=MA(DP,5),COLORFFFF00;
    NS:=MADP60>MADP120;
    MVOL5:=MA(VOL,5);
    MVOL10:=MA(VOL,10);
    MVOL20:=MA(VOL,20);
    量托:=MVOL5>=MVOL20 AND CROSS(MVOL10,MVOL20) AND REF(MVOL10,1) VJBT:=EXIST(CROSS(MVOL5,MVOL10) OR 量托,3);
    MA5:=MA(CLOSE,5);
    MA10:=MA(CLOSE,10);
    MA20:=MA(C,20);
    MA60:=MA(CLOSE,60);
    MA120:=MA(CLOSE,120);
    MA240:=MA(CLOSE,240);
    JJC:=CROSS(MA5,MA10);
    JBT:=EXIST(JJC,2);
    A8:=BARSLAST(REF(CROSS(MA(C,60),MA(C,120)),1));
    熊量价双金:20*(FILTER(JBT AND VJBT,2) AND C 牛价金叉:=30*(FILTER(JBT,2) AND C>MA(C,120) AND MA(C,60)>MA(C,120) AND A8<21
    AND CREF(MA(C,60) AND NS,1),3,0)),COLOR0000FF,LINETHICK2;
    DRAWTEXT(熊量价双金=20,20,'熊双金'),COLORBBBBBB;
    {RSI}
    80,DOTLINE,LINETHICK1,COLOR00FF00;
    LC:=REF(C,1);
    RSI5:=SMA(MAX(C-LC,0),5,1)/SMA(ABS(C-LC),5,1)*1000;
    DC:=RSI5-LLV(RSI5,10);
    AV:=(MA(DC,3)*5+DC*15)/20;
    DXRSI:=IF(AV>13,MA(AV,3),AV)/6,COLOR0078FF;
    MADXRSI:=MA(DXRSI,5),COLORBBBBBB;
    DXBT:=IF(CROSS(DXRSI,1) AND (DXRSI<30),30,1),COLOR00FFFF;
    {BIAS}
    ABS34:=MA(-100*(HHV(H,34)-C)/(HHV(H,34)-LLV(L,34)),20);
    BS13:=-100*(HHV(H,13)-C)/(HHV(H,13)-LLV(L,13));
    EBS5:=EMA(-100*(HHV(H,34)-C)/(HHV(H,34)-LLV(L,34)),5);
    VBS13:=BS13+100;
    VABS34:=ABS34+100;
    VEBS5:=EBS5+100;
    见顶:=((REF(VEBS5,1)>85 AND  REF(VBS13,1)>85 AND REF(VABS34,1)>68) AND CROSS(VABS34,VBS13));
    顶区:=(VEBS580) AND (REF(VBS13,1)>95 OR REF(VBS13,2)>95 )
     AND VABS34>60 AND VBS13<83.5 AND VBS13 顶:=FILTER(顶区,4);
    STICKLINE(顶区 OR 见顶,80,82,5,0),COLORFFFF00;
    STICKLINE(顶,80,83,5,0),COLOR00FF00;
    DRAWTEXT(顶 OR 见顶 ,84,'顶'),COLORFF0000;
    底区:=(VABS34<12 AND VEBS5<8 AND (VBS13<7.2 OR REF(VBS13,1)<5) AND (VEBS5>REF(VEBS5,1)
    OR VBS13>REF(VBS13,1))) OR (VABS34<8 AND VEBS5<7 AND VBS13<15 AND VBS13>REF(VBS13,1))
     OR (VABS34<10 AND VEBS5<7 AND VBS13<1);
    STICKLINE(底区,-4,0,4,0 ),COLORFF00FF;
    低金:30*(VABS34<15 AND REF(VABS34,1)<15 AND VEBS5<18 AND VBS13>REF(VBS13,1) AND
    CROSS(VBS13,VABS34) AND VBS13>VEBS5  AND (REF(VBS13,1)<5 OR REF(VBS13,2)<5 )  AND
     (VEBS5>=VABS34 OR REF( VBS13,1)<1 )),COLORFF00FF;
    STICKLINE(低金,0,5,3,0 ),COLORRED;
    DRAWTEXT(低金=30,30,'低金'),COLORFF00FF;
    FZBT:IF(DXBT+低金=60=0,0,60),COLOR0000FF;
    DRAWTEXT(FZBT=60,60,'金底牛'),COLOR00FFFF;
    BT01:=DXBT AND 底区 AND 低金;
    BT02:=LAST(低金,3,1) AND DXBT;
    BT03:=FILTER(DXBT AND 底区,5);
    DXXG:=BT01 OR BT02 OR BT03 OR (FZBT=60);
    FZXG:=(低金=30) OR (FZBT=60);
    年选股:SUM(FZXG,250),NODRAW;
    利润:=REF(FZXG,20) AND HHV(H,20)>=REF(C,20)*1.10;
    成功:SUM(利润,250),NODRAW;
    成功率%:成功/年选股*100,NODRAW;
    DRAWTEXT_FIX(1,0,0.06,0,'★低金--→★金底牛, 为依次加强的超跌买入信号! 
    ★★熊双金叉为熊市抢反弹信号! ★牛市初期见(★顶)为洗盘,高位或熊市见(★顶)收兵!!'),COLORBBBBBB;


    {五里操底-选股原码}
    {量价大盘三者关系}
    DP:=(INDEXC-REF(INDEXC,1))/REF(INDEXC,1)*100;{大盘指数涨跌幅度公式函数表达式}
    MADP60:=MA(DP,5),COLOR00FFFF;
    MADP120:=MA(DP,5),COLORFFFF00;
    NS:=MADP60>MADP120;
    MVOL5:=MA(VOL,5);
    MVOL10:=MA(VOL,10);
    MVOL20:=MA(VOL,20);
    量托:=MVOL5>=MVOL20 AND CROSS(MVOL10,MVOL20) AND REF(MVOL10,1) VJBT:=EXIST(CROSS(MVOL5,MVOL10) OR 量托,3);
    MA5:=MA(CLOSE,5);
    MA10:=MA(CLOSE,10);
    MA20:=MA(C,20);
    MA60:=MA(CLOSE,60);
    MA120:=MA(CLOSE,120);
    MA240:=MA(CLOSE,240);
    JJC:=CROSS(MA5,MA10);
    JBT:=EXIST(JJC,2);
    A8:=BARSLAST(REF(CROSS(MA(C,60),MA(C,120)),1));
    熊量价双金:=20*(FILTER(JBT AND VJBT,2) AND C {RSI}
    LC:=REF(C,1);
    RSI5:=SMA(MAX(C-LC,0),5,1)/SMA(ABS(C-LC),5,1)*1000;
    DC:=RSI5-LLV(RSI5,10);
    AV:=(MA(DC,3)*5+DC*15)/20;
    DXRSI:=IF(AV>13,MA(AV,3),AV)/6;
    MADXRSI:=MA(DXRSI,5),COLORBBBBBB;
    DXBT:=IF(CROSS(DXRSI,1) AND (DXRSI<30),30,1);
    {BIAS}
    ABS34:=MA(-100*(HHV(H,34)-C)/(HHV(H,34)-LLV(L,34)),20);
    BS13:=-100*(HHV(H,13)-C)/(HHV(H,13)-LLV(L,13));
    EBS5:=EMA(-100*(HHV(H,34)-C)/(HHV(H,34)-LLV(L,34)),5);
    VBS13:=BS13+100;
    VABS34:=ABS34+100;
    VEBS5:=EBS5+100;
    底区:=(VABS34<12 AND VEBS5<8 AND (VBS13<7.2 OR REF(VBS13,1)<5) AND (VEBS5>REF(VEBS5,1)
    OR VBS13>REF(VBS13,1))) OR (VABS34<8 AND VEBS5<7 AND VBS13<15 AND VBS13>REF(VBS13,1))
     OR (VABS34<10 AND VEBS5<7 AND VBS13<1);
    低金:=30*(VABS34<15 AND REF(VABS34,1)<15 AND VEBS5<18 AND VBS13>REF(VBS13,1) AND
    CROSS(VBS13,VABS34) AND VBS13>VEBS5  AND (REF(VBS13,1)<5 OR REF(VBS13,2)<5 )  AND
     (VEBS5>=VABS34 OR REF( VBS13,1)<1 ));
    FZBT:=IF(DXBT+低金=60=0,0,60),COLOR0000FF;
    BT01:=DXBT AND 底区 AND 低金;
    BT02:=LAST(低金,3,1) AND DXBT;
    BT03:=FILTER(DXBT AND 底区,5);
    DXXG:=BT01 OR BT02 OR BT03 OR (FZBT=60);
    FZXG:=(低金=30) OR (FZBT=60);
    {基本面部分 股海网提供www.guhai.com.cn}
    LTP:=FINANCE(7)<260000000 AND FINANCE(1)<500000000;   {流通盘股小于1亿股,总盘小于2亿}
    MGSY:=FINANCE(33)>=0.08 AND BARSCOUNT(C)>30;{每股收益大于0.48元,上市超过30小于240天}
    SYL:=C/FINANCE(33)<200 AND C/FINANCE(33)>5; {市盈率低于200}
    JZC:=FINANCE(34)>=2; {每股净资产}
    MGP:=FINANCE(32)>=0.6;     {每股未分配利润}
    MGGJJ:=FINANCE(18)>=1;    {每股公积金}
    MGC:=FINANCE(26)/FINANCE(1)>=0.08;  {每股现金流量}
    {通达信去掉*、S、ST}
    S2:=IF(NAMELIKE('S'),0,1);
    S3:=IF(NAMELIKE('*'),0,1);
    GJFW:=DYNAINFO(7)>3 AND DYNAINFO(7)<40;{3元-40元价格的股}
    XGJ:=LTP AND MGSY AND SYL  AND JZC AND S2 AND S3  AND GJFW AND MGP AND MGGJJ AND MGC;
    W18:FZXG AND XGJ;


     


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 五里操底熊市抄底利器 用它抄底我看行 原码 加入收藏