最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 自用多年的赢指标公式【主图、说明、源码、贴图】

    正文概述    2024-04-14 15:20:28  

    说明:只有经过长期实践和在牛、熊市中经得起时间考验的指标才是好指标,慢慢揣摩,必有收获

    {蓝}
    STICKLINE(OPEN>=CLOSE,H,L,0,0),COLORFFFF00,LINETHICK1;{此为日K线的竖细线}
    STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,2.4,0),COLORFF8800;
    STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,1.2,0),COLORFFBB00;
    STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,0.6,0),COLORFFDD00;
    STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,0,0),COLORFFFF00;


    {红}
    STICKLINE(CLOSE>OPEN,H,L,0,0),COLORRED,LINETHICK1;{此为日K线的竖细线}
    STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2.4,0),COLOR000088;
    STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1.2,0),COLOR0000BB;
    STICKLINE(CLOSE>OPEN,CLOSE,OPEN,0.6,0),COLOR0000DD;
    STICKLINE(CLOSE>OPEN,CLOSE,OPEN,0,0),COLOR0000FF;


    {看多线}
    A1:=EMA(C,14)COLORWHITE,LINETHICK1;
    A1X:=(A1-REF(A1,1))/REF(A1,1)*100,NODRAW;
    看多:IF(A1X>=0,REF(EMA(C,14),BARSLAST(CROSS(A1X,0))+1),DRAWNULL),COLOR4080FF,LINETHICK1;


    {止损线}
    动态止损度:=3;
    止损价:=CONST(HHV(C,5)*(100-动态止损度)/100);
    止损:PLOYLINE(CONST(C)<=止损价,止损价),COLOR008000;

     

    熊五:MA(CLOSE,5),COLORWHITE,LINETHICK2;
    牛十:MA(CLOSE,10),COLORMAGENTA,LINETHICK2;
    工作线:EMA(CLOSE,34),COLOR00FFFF,LINETHICK2;
    生命线:EXPMA(EXPMA(CLOSE,50),1),COLORRED,LINETHICK2;
    半:MA(CLOSE,125),COLORCYAN,LINETHICK1;
    年:MA(CLOSE,250),COLORFF7F00,LINETHICK1;
    {生命线变色}
    IF(生命线<=REF(生命线,1),生命线,DRAWNULL),COLOR00FF00,LINETHICK2;


    {绿色箭头}
    阻力价:=HHV(HIGH,19),COLORBLUE, LINETHICK1;
    VAR3:=(CLOSE*2.5/100+CLOSE);
    DRAWICON(阻力价>REF(阻力价,1) AND CROSS(阻力价,VAR3)AND C


    {卖}
    VAR27:=REF(CLOSE,1);
    VAR28:=SMA(MAX(CLOSE-VAR27,0),5.5,1)/SMA(ABS(CLOSE-VAR27),6,1)*100;
    DRAWTEXT((IF(CROSS(76,VAR28),1,0)) OR CROSS(84,RSI),H*1.03,'卖'),COLORGREEN,LINETHICK1;


    {涨停秘笈}
    {VOL}
    VOLUME:=VOL;
    换手:=VOL/CAPITAL*100;
    十日换手:=SUM(换手,10)>80;
    B7:=工作线>REF(工作线,1) AND 生命线>REF(生命线,1) AND 半>REF(半,1) AND 年>REF(年,1);
    B8:=熊五>牛十 AND 牛十>工作线 AND 工作线>生命线 AND 生命线>半;
    TJ1:=B7 AND B8;

    N1G:=CLOSE/REF(CLOSE,1)>=1.097 AND HIGH=CLOSE AND NOT(OPEN=HIGH);
    A1G:=BARSLAST(N1G);
    A2G:=LLV(LOW,A1G-1)>REF(LOW,A1G) AND CLOSE/REF(OPEN,A1G)>1 AND CLOSE/REF(OPEN,A1G)<=1.04;
    TJ2:=FILTER(A2G,3) AND A1G>=4 AND A1G<=20;
    XGGG:=十日换手 AND TJ1 AND TJ2;
    DRAWTEXT(XGGG,LOW*0.96,'涨停秘笈'),COLORCYAN,LINETHICK1;


    {追}
    VAR112:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));
    VAR113:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34));
    DRAWTEXT(CROSS(VAR112,MA(VAR113,6)) AND 熊五>REF(熊五,1),(LOW * 1) ,'↖买'),COLOR00FFFF,LINETHICK1;


    {回调K线 黑马}
    涨幅%:=(C-REF(C,1))/REF(C,1)*100,LINETHICK0;
    条件10:=C>=工作线 AND 熊五<牛十 AND 牛十<工作线 AND 工作线<生命线 AND 熊五>REF(熊五,1);
    DIF:=EMA(CLOSE,6) - EMA(CLOSE,19),COLOR00FFFF;
    DEA1:=EMA(DIF,9),COLORWHITE;
    条件11:=DIF>DEA1 AND DIF>REF(DIF,1) AND DEA1>REF(DEA1,1);
    上影幅:=IF(CLOSE>OPEN,100*(H-C)/C,100*(H-O)/O),NODRAW,COLORYELLOW;
    下影幅:=IF(CLOSE>OPEN,100*(O-L)/L,100*(C-L)/L),NODRAW,COLORWHITE;
    涨停B:=CLOSE>1.1*REF(CLOSE,1)-0.005 AND H>L;
    首个涨停:=BARSLAST(涨停B);
    VAR32:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*10;
    火:=BARSLAST(EMA(CLOSE,5) CRXP:=((REF(上影幅,1)>3 AND REF(下影幅,1)<1.15))
    AND ((下影幅>3 AND 上影幅<1.55)) AND 涨幅%<8;
    JM:=(3*SMA(SMA(VAR32,2,1),2,1)-2*SMA(SMA(SMA(VAR32,2,1),2,1),3,1));
    强势回调:=(首个涨停<14 OR (首个涨停<26 AND 首个涨停>19));
    搓揉:=((强势回调 AND CRXP) OR (CRXP AND (JM>REF(JM,1) OR (火>0 AND JM<7)))) AND 条件10 AND 条件11;
    DRAWTEXT(搓揉,L*0.999,'↖黑马'),COLORRED,LINETHICK1;


    {三进场}
    EMA3:=EMA(C,3),COLORWHITE,LINETHICK2;
    EMA13:=EMA(C,13),COLORYELLOW;
    EMA21:=EMA(C,21),COLORFF00FF;
    EMA55:=EMA(C,55),COLORGREEN;
    追:=CROSS(VAR112,MA(VAR113,6)) AND 熊五>REF(熊五,1);
    条件7:=熊五<工作线 AND 工作线<生命线 AND 牛十>REF(牛十,1) AND C>工作线 AND 涨幅%>3.6 AND 涨幅%<6 AND 追;
    HR2:=EMA3>=REF(EMA3,3) AND EMA13>=REF(EMA13,1) AND EMA21>=REF(EMA21,1) AND CROSS(C,EMA3) AND CROSS(C,EMA13) AND CROSS
    (C,EMA21){ AND CROSS(C,EMA55)};
    DRAWTEXT(HR2 AND FILTER(HR2,10) AND 条件7,L-0.3,'三进场! '),COLORA943FF,LINETHICK1;


    {突破买}
    EM1:=EMA(C,5);
    EM2:=EMA(C,7);
    EM3:=EMA(C,11);
    TJ:=BETWEEN(EM2,EM1,EM3);
    立桩量:=FILTER(TJ=0,5);
    突破买:REF(H,BARSLAST(立桩量)),NODRAW;
    STICKLINE(C,REF(H,BARSLAST(立桩量)),REF(H,BARSLAST(立桩量)),6,0),COLORGREEN;
    DRAWTEXT(C AND ISLASTBAR,突破买,' 突破买');

     

    {介入点}
    VAR1A:=CROSS(MA(CLOSE,5),MA(CLOSE,30)) AND 涨幅%>1.8;
    DRAWICON(VAR1A,L*0.98,11);
    DRAWTEXT(VAR1A,LOW-LOW*0.005,'关注'),COLORYELLOW;

     

    {高低点定位}
    TC1:=IF(H=HHV(H,8*14),H,DRAWNULL);
    TC2:=CONST(BARSLAST(TC1=H))+1;
    UPPER:=CONST(IF(TC2=1,H,REF(H,TC2-1)));
    BC1:=IF(L=LLV(L,8*20),L,DRAWNULL);
    BC2:=CONST(BARSLAST(BC1=L))+1;
    LOWER:=CONST(IF(BC2=1,L,REF(L,BC2-1)));
    LP:=CURRBARSCOUNT<=BC2 AND L=LOWER;{低点定位}
    HP:=CURRBARSCOUNT<=TC2 AND H=UPPER;{高点定位};
    STICKLINE(LP,L*0.992,L,13,0),COLORFF00FF;
    STICKLINE(HP,H,H*1.005,13,0),COLOR00FF00;


    {看多 虚线}
    IF(A1X>=0,REF(EMA(C,14),BARSLAST(CROSS(A1X,0))+1),DRAWNULL),COLOR4080FF,POINTDOT,LINETHICK4;
    DRAWTEXT(ISLASTBAR,看多*1.008,' 看多'),COLOR4080FF,LINETHICK1;

     

    {止损线 虚线}
    PLOYLINE(CONST(C)<=止损价,止损价),COLOR008000,POINTDOT,LINETHICK4;
    DRAWTEXT(DYNAINFO(7)<=止损价 AND ISLASTBAR,止损价*1.02,'☆止损'),COLOR008000,LINETHICK1;

     

    {负乖离}
    离基:=熊五;
    离C:=离基*0.90,COLOR555555;
    DRAWTEXT(CROSS(离C,L) AND CURRBARSCOUNT<10 ,LLV(L,3),'负乖离'),COLORWHITE;


    {企稳箭头}
    MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;
    金牛线:=(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)+15
    *REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+10
    *REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+5
    *REF(MID,15)+4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210,COLOR999900,DOTLINE;
    金马线:=MA(金牛线,6),COLORYELLOW;
    DRAWICON(FILTER(CROSS(金牛线,金马线),20),金马线-0.3 ,1);


    {黄金分割}
    高1:=REF(HHV(H,150),3);
    低1:=REF(LLV(L,150),3);
    H1:=高1-(高1-低1)*0.191;
    H2:=高1-(高1-低1)*0.382;
    一:REFDATE(H1,DATE),POINTDOT,COLORYELLOW;
    二:REFDATE(H2,DATE),POINTDOT,COLORMAGENTA;
    TT4:=(CURRBARSCOUNT=5+3);
    DRAWTEXT(TT4 AND 一,一,'809:'),COLOR208FFF;
    DRAWTEXT(TT4 AND 二,二,'618:'),COLOR208FFF;

     


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 自用多年的赢指标公式【主图、说明、源码、贴图】 加入收藏