最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信东拼西凑(判大盘用)指标公式

    正文概述    2024-04-13 11:44:04  

    明:1.主图标示详细,母须多说。

    2.个股大盘比:只做比大盘强的个股(红线金叉绿线向上)那位高手优化下,可选股。

    3.大盘广量冲力(副图):标明阶段底部(红钻),抄底用。

    4.巧判大盘顶底(副图):大盘分4个区位,底部介入出出现(红+字)抄底。顶部风险区附近(蓝点)逃命。

    上述指标还是比较适合目前行情手痒的人,强势行情效果稍差。如果对你有用,那就是根拐杖。本帖希望老师同学优化,泼冷水要根据实情。但打枪的不要,因为我的出发点是!

    1.精确波段主图
    EMA13:EMA(C,13),COLORWHITE;
    EMA21:EMA(C,21),COLORYELLOW;
    EMA34:EMA(C,34),COLORFF00FF;
    EMA60:MA(C,60),COLORFFCC66;
    VAR2:=(2*CLOSE+HIGH+LOW)/4;
    VAR3:=IF(YEAR>=2099 AND MONTH>2,0,1);
    VAR4:=LLV(LOW,5);
    VAR5:=HHV(HIGH,4);
    散户:=EMA((VAR2-VAR4)/(VAR5-VAR4)*100,4)*VAR3;
    庄家:=EMA(0.667*REF(散户,1)+0.333*散户,2)*VAR3;
    DRAWTEXT(CROSS(散户,庄家) AND 散户<50 AND 29<散户,L-0.05,'短进'),COLORMAGENTA;
    DRAWTEXT(CROSS(庄家,散户) AND 散户>40 AND 71>散户,H+0.05,'短出'),COLORGREEN;
    DRAWTEXT(CROSS(散户,庄家) AND 散户<30,L-0.05,'低吸'),COLORWHITE;
    DRAWTEXT(CROSS(庄家,散户) AND 散户>70,H+0.05,'高减'),COLORYELLOW;
    DRAWICON(CROSS(散户,庄家) AND 散户<30,L-0.05,1);
    DRAWICON(CROSS(庄家,散户) AND 散户>70,H+0.05,2);
    VAR9:=CLOSE-REF(CLOSE,5);
    VARA:=EMA(EMA(VAR9,5),5)/EMA(EMA(ABS(VAR9),5),5);
    VARC:=EMA(EMA(VAR9,20),20)/EMA(EMA(ABS(VAR9),20),20);
    卖出:=IF(VARA>0 AND CROSS(VARC,VARA),90,100);
    DRAWTEXT(VARA>0 AND CROSS(VARC,VARA),H+0.05,'中线逃!'),COLORYELLOW;
    DRAWICON(卖出<0,H+0.05,2);
    买线:=EMA(CLOSE,2);
    卖线:=EMA(SLOPE(CLOSE,21)*20+CLOSE,42);
    B1:IF(CROSS(买线,卖线),L-0.02,DRAWNULL),CROSSDOT,LINETHICK3,COLORMAGENTA;
    S1:IF(CROSS(80,RSI)*30,H+0.02,DRAWNULL),CROSSDOT,LINETHICK3,COLORYELLOW;
    VC:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100)/3;
    S2:IF(VC>20 AND FILTER(VC< REF(VC,1),5),H+0.02,DRAWNULL),CIRCLEDOT,LINETHICK3,COLORGREEN;

     

    或者用高抛低吸主图也可以。

     

    2.个股大盘对比(副图)

    个股:EMA(100*(C-LLV(L,34))/(HHV(H,34)-LLV(L,34)),3),COLORRED;
    大盘:EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3),COLORGREEN;

    A1:=AMOUNT/VOL/100;
    A2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
    A3:=SUM(AMOUNT,15)/A1/100;
    A4:=SUM(AMOUNT,30)/A1/100;
    B1:=DMA(A2,VOL/A3);
    B2:=DMA(A2,VOL/A4);
    力度:(CLOSE-B1)/B1*100,COLORYELLOW,NODRAW;
    STICKLINE(力度>2.5,0,力度,3,0),COLORRED;
    50,DOTLINE; 80,DOTLINE; 20,DOTLINE;


    3.大盘广量冲力(副图)

    M:=5;
    ADVANCE,COLORRED,NODRAW;
    DECLINE,COLORRED,NODRAW;
    BTIQ:=100*ADVANCE/(ADVANCE+DECLINE);
    MABTI:MA(BTIQ,M);
    建仓:MABTI<30,COLORRED,NODRAW;
    DRAWICON(建仓,30*0.99,25);
    30;70;

    4.巧判大盘顶底(副图)
    N:=34;M:=3;
    28,COLORFFFFFF;
    STICKLINE(C>0,0,2,5,0),COLOR00008A;
    STICKLINE(C>0,2,5,5,0),COLOR85008A;
    STICKLINE(C>0,5,10,5,0),COLOR657600;
    STICKLINE(C>0,10,21.5,5,0),COLOR690079;
    STICKLINE(C>0,21.5,28,5,0),COLOR79B715;
    VAR1:=EMA(100*(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N)),M)/4,COLORFFFF00,LINETHICK2;

    VAR2:IF(VAR1>23.16,VAR1,0),COLOR00FFFF,LINETHICK1;
    BB:IF(VAR1<2,6,0),COLOR00FFFF,LINETHICK4;
    DD:IF(VAR1>21.5,25.5,28),COLOR0000FF,LINETHICK4;
    AA:IF(VAR1>23.16,24.5,28),COLORRED,LINETHICK4;
    DRAWBAND(BB,RGB(190,0,100),0,RGB(0,0,0));
    DRAWBAND(VAR2,RGB(250,250,0),0,RGB(0,0,0));
    DRAWBAND(28,RGB(210,210,210),DD,RGB(0,0,0));
    DRAWBAND(28,RGB(250,250,0),AA,RGB(0,0,0));
    STICKLINE(C>0,2,2,2,0),COLORFF00FF;
    STICKLINE(C>0,5,5,2,0),COLOR00FFFF;
    STICKLINE(C>0,23.16,23.16,2,0),COLORFF0000;
    顶底线:VAR1,,COLORFFFF00,LINETHICK2;
    DRAWICON(CROSS(顶底线,2),2,23);
    DRAWICON(CROSS(顶底线,5),5,13);
    DRAWICON(CROSS(21.5,顶底线),21.5,14);
    DRAWICON(CROSS(23.16,顶底线),23.16,15);
    DRAWTEXT(CURRBARSCOUNT=38,1,'底部区'),COLOR00FFFF;
    DRAWTEXT(CURRBARSCOUNT=38,3.5,'介入区'),COLOR00FFFF;
    DRAWTEXT(CURRBARSCOUNT=38,7.5,'加仓区'),COLOR00FFFF;
    DRAWTEXT(CURRBARSCOUNT=38,16,'安全区'),COLOR00FFFF;
    DRAWTEXT(CURRBARSCOUNT=38,22,'风险区'),COLOR0000FF;
    DRAWTEXT(CURRBARSCOUNT=38,25.5,'逃顶区'),COLORFF00FF;

     


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信东拼西凑(判大盘用)指标公式 加入收藏