最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信股票放量涨停支撑压力多空飘带指标公式

    正文概述    2024-05-04 13:50:25  

    支撑压力画线、放量柱涨停柱、多空飘带。


    主图源码:

    SSRP:= SSRP.SSRP

    MA1: SSRP.MA1 (6);

    MA2: SSRP.MA2 (19);

    DRAWICON(CROSS(MA1,MA2),MA1,1);

    {DRAWBAND(MA1,RGB(00,139,00),SSRP,RGB(0,129,55)); }

    DRAWBAND(MA2,RGB(81,81,81),MA1,RGB(139,29,105));

    {灰色}

    STCKLINE(O =C,H,L,0,0),COLOR909090;

    STICKLINE(O =C,C,O,3.1,0),COLOR606060;

    STICKLINE(O =C,C,O,2.1,0),COLOR707070;

    STICKLINE(O =C,C,O,1.2,0),COLOR808080;

    STICKLINE(O =C,C,O,0.2,0),COLOR909090;

    STICKLINE(O =C,H,L,0,0),COLOR666B6F;

    STICKLINE(C O,C,O,3.1,1),COLOR666B6F;

    V2V:=V/REF(V,1) =1.9 AND C REF(C,1);

    {涨停颜色粉色,完美区分20%10%5%,创业板20200823前10%照样变色}

    BK:=IF(INBLOCK( 科创板 ),0.2,IF(INBLOCK( 创业板 ),0.2,IF(INBLOCK( ST板块 ),0.05,0.1)));

    XA_1:=IF(DATE =1200823,1,0);

    ZT1:STICKLINE((C =ZTPRICE(REF(CLOSE,1),0.1) AND C=H) AND XA_1=1,O,C,2.7,0),COLORRED;

    ZB1:STICKLINE((C =DTPRICE(REF(CLOSE,1),0.1) AND C=L) AND XA_1=1,O,C,2.7,0),COLOR80FF00;

    ZT2:STICKLINE((C =ZTPRICE(REF(C,1),BK) AND C=H),C,O,2.7,0),COLORRED;

    STICKLINE((C =DTPRICE(REF(C,1),BK) AND C=L),C,O,2.7,0),COLOR80FF00;

    ZB3: STICKLINE((H =ZTPRICE(REF(C,1),BK) AND C H) OR (H =ZTPRICE(REF(CLOSE,1),0.1) AND C H AND XA_1=1),H,MAX(C,O),0.1,0),COLORMAGENTA;{涨停后回落}

    STICKLINE((L =DTPRICE(REF(C,1),BK) AND C L) OR (L =DTPRICE(REF(CLOSE,1),0.1) AND C L AND XA_1=1),L,MIN(C,O),0.1,0),COLOR80FF00;{跌停后回升};

    {LC:=REF(CLOSE,1);}


    {TR1:=MAX((HIGH - LOW),MAX((HIGH - LC),(LC - LOW)));


    {ATR:=SMA(TR1,20,1);{HTTP://WWW.GOODGUPIAO.COM}


    {ATR1:=ATR+STD(TR1,20)*1.1;}


    {波幅率:=ATR/C*100,COLORRED,NODRAW;


    VARA:=REF(H,10)=HHV(H,2*10+1);


    VARB:=FILTER(VARA,10);


    VARC:=BACKSET(VARB,10+1);


    VARD:=FILTER(VARC,10);


    VARA1:=REF(L,10)=LLV(L,2*10+1);


    VARB1:=FILTER(VARA1,10);


    VARC1:=BACKSET(VARB1,10+1);


    VARD1:=FILTER(VARC1,10);


    前期高点:REF(H,BARSLAST(VARD)),COLORRED,NODRAW;


    前期低点:REF(L,BARSLAST(VARD1)),COLORGREEN,NODRAW;


    VAR高点:=VAR2STR(前期高点,2);


    DRAWTEXT(VARD,0.002*波幅率*前期高点+前期高点,VAR高点),COLORRED;


    VAR低点:=VAR2STR(前期低点,2);


    DRAWTEXT(VARD1,前期低点-0.002*波幅率*前期低点,VAR低点),COLORGREEN;}


    A432:=EMA(CLOSE,432),COLORRED,POINTDOT;{432对应的价格}


    A864:=EMA(CLOSE,864),COLORCYAN,POINTDOT;{864对应的价格}


    IF(A432 REF(A432,1),A432,DRAWNULL),COLORGREEN,LINETHICK4;{变色432对应的价格线}


    IF(A864 REF(A864,1),A864,DRAWNULL),COLORMAGENTA,LINETHICK4;{变色864对应的价格线}


    {日周月MACD趋势}


    月DIF:=(EMA(CLOSE,12*4*4)-EMA(CLOSE,26*4*4));


    月DEA:=EMA(月DIF,9*4*4);


    月MACD:=(月DIF-月DEA),COLORSTICK,COLOR111111;


    月柱:=月MACD,COLOR99EEEE,LINETHICK3;


    周DIF:=(EMA(CLOSE,12*4)-EMA(CLOSE,26*4));


    周DEA:=EMA(周DIF,9*4),COLORWHITE,DOTLINE;


    周MACD:=(周DIF-周DEA),COLORSTICK,COLOR111111;


    周柱:=周MACD,COLORFFCC00,LINETHICK2;


    日DIF:=(EMA(CLOSE,12)-EMA(CLOSE,26));


    日DEA:=EMA(日DIF,9);


    日MACD:=2*(日DIF-日DEA),COLORWHITE;


    日柱:=日MACD,COLORRED;


    {日周月主图}


    VAR10:=日柱;


    VAR11:=HHV(HHV(LOW,14),40);


    VAR12:=HHV(MA((L+H+C)/3,8),40),COLORFF00FF;


    VAR13:=EMA(EMA(VAR12,14)+2*STD(VAR11,14),4),COLORAAAAAA;


    VAR14:=C VAR12 AND C VAR13 AND VAR10;


    VAR20:=周柱;


    VAR21:=HHV(HHV(LOW,14),120);


    VAR22:=HHV(MA((L+H+C)/3,8),60),COLORFF00FF;


    VAR23:=EMA(EMA(VAR22,14)+2*STD(VAR21,14),4),COLORAAAAAA;


    VAR24:=C VAR22 AND C VAR23 AND VAR20;


    VAR30:=月柱;


    VAR31:=HHV(HHV(LOW,14),240);


    VAR32:=HHV(MA((L+H+C)/3,8),240),COLORFF00FF;


    VAR33:=EMA(EMA(VAR32,14)+2*STD(VAR31,14),4),COLORAAAAAA;


    VAR34:=C VAR32 AND C VAR33 AND VAR30;


    三阴:=REF(DOWNNDAY(CLOSE,3),1);


    收阳:=C REF(C,1) AND C


    云析赢指标公式网:=三阴 AND 收阳;


    D4:REF(H,BARSLAST(CONST(BARSLAST(云析赢指标公式网))+4=CURRBARSCOUNT)),COLORYELLOW,DOTLINE;


    DRAWTEXT(ISLASTBAR,D4, 反转线 ),COLORFF00FF;


    XLJ龙骨线:EMA(EMA(VAR31,14)+2*STD(VAR31,14),8),LINETHICK3,COLOR0000FF;


    DRAWTEXT(ISLASTBAR,XLJ龙骨线, 龙骨线 ),COLOR808000;


    DRAWTEXT(CURRBARSCOUNT=1,A432, 432 ),COLOR0000FF;


    DRAWTEXT(CURRBARSCOUNT=1,A864, 864 ),COLORFFFF00;

    郑重声明:股市具有不确定性,行情走势是无法预测的。指标公式描述中的案例文字及截图仅代表过去,仅供参考学习研究之用,不构成投资建议或未来保证,依此操作,责任自负,本站不承担任何责任,股市有风险,入市需谨慎。

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信股票放量涨停支撑压力多空飘带指标公式 加入收藏