最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信大胆持股主图+多头粘合买庄条件选股+成交量副图指标

    正文概述    2024-04-14 15:13:18  

    图说明:1.黄色持股,蓝色持币。2.红色B出现买入。3.绿色箭头出现“逃顶”减仓,绿色S出现卖出。主图中加入10日的成交量。

    {大胆持股2}主图指标

    趋势线:EMA(SLOPE(CLOSE,21)*20+CLOSE,55)*1,LINETHICK2,COLORCYAN;
    股价线:EMA(CLOSE,3),POINTDOT,LINETHICK1,COLORWHITE;
    DRAWTEXT(CROSS(趋势线,股价线),趋势线,'▼卖出'),LINETHICK1,COLORGREEN;
    DRAWTEXT(CROSS(股价线,趋势线),股价线,'▲买入'),LINETHICK1,COLORRED;
    STICKLINE(股价线>趋势线 AND C STICKLINE(股价线>趋势线 AND C STICKLINE(股价线>趋势线 AND C>=O,H,L,0,0),COLORYELLOW;
    STICKLINE(股价线>趋势线 AND C>=O ,O,C,3,0),COLORYELLOW;
    STICKLINE(股价线<=趋势线 AND C>O,H,L,0,0),COLORBLUE;
    STICKLINE(股价线<=趋势线 AND C>O,O,C,3,1),COLORBLUE;
    STICKLINE(股价线<=趋势线 AND C<=O ,H,L,0,0),COLORBLUE ;
    STICKLINE(股价线<=趋势线 AND C<=O,O,C,3,0),COLORBLUE ;
    DRAWTEXT(趋势线<股价线 AND ISLASTBAR,趋势线,'黄色,大胆持股'),COLORYELLOW;
    DRAWTEXT(趋势线>=股价线 AND ISLASTBAR,趋势线,'蓝色,别犯贱'),COLORBLUE ;
    多方强度:EMA(CLOSE,3),COLOR00FFFF,LINETHICK1;
    空方强度:EMA(CLOSE,8),COLORMAGENTA,LINETHICK1;
    多空平衡:EMA(CLOSE,17),COLORRED,LINETHICK2;
    洗盘线:EMA(CLOSE,27),,COLOR0080FF,LINETHICK1;
    IF(多方强度>REF(多方强度,1),多方强度,DRAWNULL),COLOR00FFFF,LINETHICK1;
    IF(多方强度


    IF(空方强度>REF(空方强度,1),空方强度,DRAWNULL),COLORMAGENTA,LINETHICK1;
    IF(空方强度

    IF(多空平衡>REF(多空平衡,1),多空平衡,DRAWNULL),COLORRED,LINETHICK2;
    IF(多空平衡 买线:=EMA(C,2);
    卖线:=EMA(SLOPE(C,21)*20+C,42);
    BU:=CROSS(买线,卖线);
    SEL:=CROSS(卖线,买线);
    DRAWICON(BU,L-0.1,7);
    DRAWICON(SEL,H+0.1,8);
    DRAWICON(CROSS(多方强度,空方强度),空方强度,1);
    DRAWICON(CROSS(空方强度,多方强度),空方强度,2);
    {DRAWTEXT(CROSS(多方强度,空方强度),空方强度,'买入'),ALIGN0,COLORRED;
    DRAWTEXT(CROSS(多方强度,空方强度),空方强度,''),ALIGN0,COLORFFFFFF;
    DRAWTEXT(CROSS(空方强度,多方强度),空方强度,'短卖'),ALIGN0,COLOR00FFFF;
    DRAWTEXT(CROSS(空方强度,多方强度),空方强度,''),ALIGN0,COLOR00FFFF;}
    LC:=REF(CLOSE,1);
    RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
    DRAWTEXT(CROSS(84,RSI) , HIGH,'逃顶'),COLORGREEN;
    TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,240,1)))));
    MTIME:=MOD(FROMOPEN,TOTAL);
    CTIME:=IF(MTIME<0.5,TOTAL,MTIME);
    VV:=IF(CURRBARSCOUNT=1,VOL*TOTAL/CTIME,V);
    N:=120;
    A:=CONST(HHV(H,N)-LLV(L,N))/CONST(HHV(VV,N));
    B:=CONST(LLV(L,N))-CONST(HHV(VV,N))*A/8;
    天数:=10;
    STICKLINE(CURRBARSCOUNT=1 && (SETCODE=0 || SETCODE=1),B+VV*A/8,B,-1,-1),COLOR00C0C0;
    STICKLINE(C>=O AND CURRBARSCOUNT<=天数,B+VV*A/8,B,3,1),COLOR3232FF;
    STICKLINE(C

     

     

     

     

     

    {多头粘合买庄}条件选股

    参数{N:30,120,65;}
    MA5:=MA(CLOSE,5);
    MA21:=MA(CLOSE,21);
    MA65:=MA(CLOSE,N);
    多头:=COUNT(MA21>MA65,10)=10;
    GX:=MAX(MA5,MAX(MA21,MA65));
    DX:=MIN(MA5,MIN(MA21,MA65));
    粘合:=ABS(GX/DX-1)*100<=15;
    DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
    DEA:=EMA(DIFF,9);
    MACD:=2*(DIFF-DEA);
    庄股:=COUNT(MACD<0,10)=10;
    目标:=IF(多头 AND 粘合 AND 庄股,5,0);
    买:CROSS(0.1,目标) AND CROSS(MACD,0);

     

     


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信大胆持股主图+多头粘合买庄条件选股+成交量副图指标 加入收藏