最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 布林牛主图 源码 帖图)

    正文概述    2024-04-14 17:42:31  

    VAR3AA:=IF((CLOSE>REF(CLOSE,1)),88,0);
     VAR4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (VAR3AA>0),91,0);
     DRAWTEXT(FILTER((VAR4AA>90),45),(LOW)*(0.93),'★买入 '),COLOR00FFFF;
     DRAWTEXT(FILTER((VAR4AA>90),35),(LOW)*(0.99000001),'★加仓'),COLOR00FFFF;生命线:=MA(C,60);
    牛熊线:=MA(C,120);

     DRAWKLINE(H,O,L,C);

    压力:=MA(REF(HHV(C,30),1),2),COLOR00FF00;
    支撑:=MA(REF(LLV(C,30),1),2),COLOR0000FF;
    中:(MA(C,3)+MA(C,6)+MA(C,12)+MA(C,24))/4,COLORFF0000,LINETHICK2;
     IF(中>=REF(中,1), 中 ,DRAWNULL),LINETHICK2,COLOR00FFFF,;
    上: BBI+3*STD(BBI,10),COLORGREEN,LINETHICK3;
    下: BBI-3*STD(BBI,10),COLORMAGENTA,LINETHICK3;
    安全:=MA(C,30),CIRCLEDOT,COLORFF00FF;
     TJ1:=下*1.05>中 AND 中*1.05>上 AND 中>=REF(中,1) AND REF(中,1)>=REF(中,2);
     TJ2:=LLV(REF(VOL,1),60);
     VAR91:=REF(V,1)+REF(V,2)+REF(V,3)+REF(V,4)+REF(V,5);
     VAR92:=VAR91/5;
     LB:=V/VAR92;
     TJ8:=C>LLV(LOW,120)*1.38;
     VAR2:=(HIGH - LOW);
     VAR3:=ABS((OPEN - CLOSE));
     VAR4:=(HIGH - IF((CLOSE > OPEN),CLOSE,OPEN));
     VAR5:=(IF((CLOSE > OPEN),OPEN,CLOSE) - LOW);
     VAR6:=((VAR3 / VAR2) * VOL);
     VAR7:=((VAR4 / VAR2) * VOL);
     VAR8:=((VAR5 / VAR2) * VOL);
     GG:=(VAR6 >= VAR7) AND (VAR6 >= VAR8) AND (CLOSE > OPEN);
     TJ3:=LB>2 OR VOL/REF(VOL,1)>2 AND GG;
     WLT1:EMA(C,3);
     WLT2:EMA(C,5);
     WLT3:=EMA(WLT2,5);

     QQ:= C<上;
    MM:=WLT1  DD:=QQ AND MM;
     TJ6:=COUNT(DD,7)=1;
     TJ7:=C  XG:=FILTER(TJ1 AND TJ7 AND TJ3,5) AND C<支撑*1.13;
     DRAWICON(XG,L,23);
     DRAWICON(TJ6 AND MM AND TJ8 AND 上>中*1.1,HIGH*1.01,19);
     TJ81:=中>=REF(中,1) AND LAST( 中<=REF(中,1),8,1) AND CROSS(C,中) AND C<支撑*1.13;
     TJ82:=中>=REF(中,1) AND LAST( 中<=REF(中,1),5,1) AND CROSS(C,中) AND C  DRAWICON(TJ81,LOW*0.97,26);
     DRAWICON(TJ82,LOW*0.99,25);
     DRAWTEXT(TJ82 OR TJ81,L*0.98,'布林牛'),COLOR00FFFF;
     DRAWBAND(WLT1,RGB(200,50,55),WLT2,RGB(0,100,50));
     STICKLINE(CLOSE> REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORRED;
     STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,3,0 ),COLOR000099;
     STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLOR0000CC;
     STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,0.1,0 ),COLOR0000FF;
     STICKLINE(CLOSE< REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORCYAN;
     STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,3,0 ),COLOR999900;
     STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLORBBBB00;
     STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,0.1,0 ),COLORFFFF00;
     STICKLINE(CLOSE= REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORWHITE;


    筹码重心:IF(CURRBARSCOUNT  DRAWTEXT(CURRBARSCOUNT<4 AND CROSS(C,筹码重心) AND C/REF(C,1)>1.05,L,'---突破筹码重心买进!'),COLORMAGENTA;

     JJ:=(HIGH+LOW+CLOSE)/3,NODRAW;
     QJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW),NODRAW;
     QJ1:=IF(CAPITAL=0,QJ0*(JJ-MIN(CLOSE,OPEN)),QJ0*IF(HIGH=LOW,1,(MIN(OPEN,CLOSE)-LOW))),NODRAW;
     QJ2:=IF(CAPITAL=0,QJ0*(MIN(OPEN,CLOSE)-LOW),QJ0*IF(HIGH=LOW,1,(JJ-MIN(CLOSE,OPEN)))),NODRAW;  JJ1:=MA(C,30),NODRAW;
     JJ2:=MA(C,60);
    入1:=IF(JJ1>REF(JJ1,1),JJ1,DRAWNULL)NODRAW; 
    入2:=IF(JJ1  DRAWKLINE(H,O,L,C),NODRAW;

     QJ3:=IF(CAPITAL=0,QJ0*(HIGH-MAX(OPEN,CLOSE)),QJ0*IF(HIGH=LOW,1,(HIGH-MAX(OPEN,CLOSE))));
     QJ4:=IF(CAPITAL=0,QJ0*(MAX(CLOSE,OPEN)-JJ),QJ0*IF(HIGH=LOW,1,(MAX(CLOSE,OPEN)-JJ)));
     DDX:=((QJ1+QJ2)-(QJ3+QJ4))/IF(CAPITAL=0,10000,10000),COLOR00AAAA,LINETHICK;
     V2:=SMA(IF(C>=REF(C,1),DDX,-DDX/100),2,1);
     V5:=SMA(V2*120/FROMOPEN*5,2,1);
     V10:=SMA(V5,5,1);
     V20:=SMA(V10,5,1);
     DY:=CURRBARSCOUNT=1 AND C  DY2:=REF(V2,1)-DY;
     TT:=(V2*1.01-REF(V2,1));
     TT2:=(REF(V2*1.01,1)-REF(V2,2));
     YY:=TT>3*ABS(TT2);
     TT1:=EMA(V2,15);

     A111:=COST(85);
     A222:=COST(15);
     A333:=A111-A222;
     A444:=(A111+A222)/2;
    单峰密集:=A333/A444*100<30;
     BU1:=HHV(HIGH,250);
     BU2:=LLV(LOW,250);
     BU3:=BU1-BU2;
     V135:=MA(V,135);
    指标优化:COUNT(V>V135,10)>=6;
     BU4:=(A444-BU2);
    低位:=A444<(BU3*04+BU2);
    低位单峰密集:=单峰密集 AND 低位;
    BU5:=C/REF(C,1)>1.04; {AND V/REF(V,1)>2;{ AND H=C;}
    主力持仓%:=EMA(100*(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30)),3);
    主力持仓:=主力持仓%>=75 {AND 主力持仓%<=91} AND C>0 AND CLOSE>OPEN;
    筹码强势突破:=主力持仓 AND 低位单峰密集 AND BU4 AND WINNER(C)>=0.90 AND BU5;
    筹码集中买入:低位单峰密集 AND TT>0  AND CROSS(TT,TT1) AND YY AND WINNER(C)>=0.90;
     DRAWICON(筹码强势突破,LOW,26);
     DRAWICON(筹码集中买入,LOW*0.99,25);
     DRAWTEXT(筹码强势突破,L,'↖↖--------------------↖筹码强势突破'),COLORGREEN;

     DRAWTEXT(筹码集中买入,L*0.96,'↖↖--↖筹码集中买入'),COLORGREEN;

     {黑棒佳丽战法-牛股洗盘}
    假阴线:DRAWTEXT(O>MA(C,20) AND (O-C)/O*100>0.01 AND VOL/CAPITAL*100 >=3 AND C>REF(C,1),L-0.08,'←洗'),COLORWHITE;


     {妖股龙头}
    妖股线:=EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,30))/MA((2*CLOSE+HIGH+LOW)/4,30)*100,3);
    妖股龙头:DRAWTEXT(CROSS(妖股线,15),L-0.12,'←锁仓'),COLORMAGENTA;
    未来压力线:CONST(POW(SQRT(REF(LLV(C,60),60))+1,2)),LINETHICK3,COLORWHITE;

     A11:=BARSCOUNT(C);
    抽:=HHV(H,200);
    插:=LLV(L,200);
    高潮:=(抽-插)/43;
     B11:=L-高潮;
    STICKLINE((A11+0)/23=FLOOR((A11+0)/22),B11,B11-2.5*高潮,3,0),COLORF00FF0;
     DRAWTEXT((A11+0)/23=FLOOR((A11+0)/22),B11-1*高潮,'黑马起飞'),COLORWHITE,COLORYELLOW;

     Z1:=STRCAT(HYBLOCK,' ');
     Z2:=STRCAT(Z1,FGBLOCK);
     Z3:=STRCAT(Z2,DYBLOCK);
     Z4:=STRCAT(Z3,' ');
     DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z4,GNBLOCK)),COLORCYAN;
     {二次给力}   
    给:=EMA(C,2),COLORRED;
    力:=EMA(SLOPE(C,9)*20+C,37);
    买11:=CROSS(给,力);
    卖11:=CROSS(力,给);
    DRAWICON(买11,L*0.97,1);
     DRAWTEXT(买11,L*0.95,'进攻'),COLORYELLOW;
     AA17:=EMA(C,14)COLORWHITE,LINETHICK1;
     A17X:=(AA17-REF(AA17,1))/REF(AA17,1)*100,NODRAW;
    参考线试买:IF(A17X>=0,REF(EMA(C,14),BARSLAST(CROSS(A17X,0))+1),DRAWNULL)COLORGREEN,LINETHICK2;

     DRAWTEXT(筹码集中买入,L*0.96,'↖↖--↖筹码集中买入'),COLORGREEN;


     DRAWTEXT(参考线试买,L*0.96,'↖↖↖↖---------------参考线试买------'),COLORGREEN,LINETHICK4;

    总额:=AMOUNT;
    买:=IF(O=C AND (C-REF(C,1))/REF(C,1)*100>9.8,AMOUNT,AMOUNT/((H-L)*2-ABS(O-C))*(C-L));
    买%:=买/AMOUNT*100;
    流入:=AMOUNT*买%/10000000000;
    流出:=AMOUNT/100000000-流入;
    净流:=(流入-流出);
    总额3:=SUM(AMOUNT,3);
    流入3:=SUM(流入,3);
    流出3:=SUM(流出,3);
    净流3:=SUM(流入-流出,3);
    总额5:=SUM(AMOUNT,5);
    流入5:=SUM(流入,5);
    流出5:=SUM(流出,5);
    净流5:=SUM(流入-流出,5);
    总额10:=SUM(AMOUNT,10);
    流入10:=SUM(流入,10);
    流出10:=SUM(流出,10);
    净流10:=SUM(流入-流出,10);
    画:=CONST(FINDHIGH(总额10,0,190,1));
     DRAWTEXT_FIX(1,0.71,0.07,0,'净流(亿):'),COLORMAGENTA,LINETHICK1;
     DRAWTEXT_FIX(1,0.78,0.05,0,'1日'),COLORMAGENTA,LINETHICK1;
     DRAWTEXT_FIX(1,0.83,0.05,0,'3日'),COLORMAGENTA,LINETHICK1;
     DRAWTEXT_FIX(1,0.88,0.05,0,'5日'),COLORMAGENTA,LINETHICK1;
     DRAWTEXT_FIX(1,0.93,0.05,0,'10日'),COLORMAGENTA,LINETHICK1;
     DRAWNUMBER_FIX(1,0.78,0.10,0,CONST((净流))),COLORYELLOW;
     DRAWNUMBER_FIX(1,0.83,0.10,0,CONST((净流3))),COLORYELLOW;
     DRAWNUMBER_FIX(1,0.88,0.10,0,CONST((净流5))),COLORYELLOW;
     DRAWNUMBER_FIX(1,0.93,0.10,0,CONST((净流10))),COLORYELLOW;


     E:=(H+L+O+2*C)/5;
     CRTP:=E+(H-L);
     CRZL:=2*E-L;
     CRZC:=2*E-H;
     CRFZ:=E-(H-L);
     CRXL:=(E+CRTP+CRZL+CRZC+CRFZ)/5;
    高:=CONST(CRTP),COLORRED;
    阻:=CONST(CRZL),COLORC7C9FF;
    支:=CONST(CRZC),COLOR7C9CFF;
    反:=CONST(CRFZ),COLORDD00DD;
    心理:=CONST(CRXL);
    高压:DRAWLINE(S>1&&CURRBARSCOUNT=5+1,高,ISLASTBAR,高,1),COLOR0000FF;
    阻力:DRAWLINE(S>1&&CURRBARSCOUNT=5+1,阻,ISLASTBAR,阻,1),COLOR0099FF;
    支撑1:DRAWLINE(S>1&&CURRBARSCOUNT=5+1,支,ISLASTBAR,支,1),COLORGREEN;
    反转价:DRAWLINE(S>1&&CURRBARSCOUNT=5+1,反,ISLASTBAR,反,1),COLORDD00DD;
    次日心理价:DRAWLINE(S>1&&CURRBARSCOUNT=5+1,心理,ISLASTBAR,心理,1),COLORFFFFFF;
     DRAWTEXT(ISLASTBAR,反,' 反 转少量买'),LINETHICK1,COLORDD00DD;
     DRAWTEXT(ISLASTBAR,支,' 支 撑1'),LINETHICK1,COLOR00FF00;
     DRAWTEXT(ISLASTBAR,阻,' 阻 力'),LINETHICK1,COLOR0099FF;
     DRAWTEXT(ISLASTBAR,高,' 高 压'),LINETHICK1,COLOR0000FF;

     DIF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
     DEA:=EMA(DIF,9);
     AAA:=(DIF-DEA)*2*60;
    启动:=CROSS(AAA-REF(AAA,1),15),COLORRED,LINETHICK2;
     DRAWTEXT(启动,L*0.99,'↖金牛启动'),COLORGREEN,LINETHICK2;
     ZT:=REF(C,1)*1.1-C<0.01 AND H=C;{涨停}
    高位:=COST(99.9),COLORBROWN,NODRAW;
    主力底仓:COST(1),COLORWHITE,LINETHICK2,NODRAW;
    上突破:=高位>REF(高位,1) AND REF(高位,1)<=REF(高位,2);
    下突破:=高位<=REF(高位,1) AND REF(高位,1)>REF(高位,2);
    高点:DRAWLINE(上突破,REF(高位,1),REF(上突破,1),REF(REF(高位,1),1),1)COLORRED, LINETHICK2;
    前高:DRAWLINE(下突破,高位,REF(下突破,1),REF(高位,1),1)COLORWHITE, LINETHICK2;
    龙头启动:=CROSS(C,高点) OR CROSS(C,前高) AND ZT;
    突破:=CROSS(C,前高);
    DRAWTEXT(龙头启动,L,'↖龙头启动'),COLORGREEN; 

          参数(  s  0  2  2 )


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 布林牛主图 源码 帖图) 加入收藏