最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信加强版T2+0分时主图未加密选股指标公式源码

    正文概述    2023-02-09 00:00:00  

    量价:=(VOL/CLOSE)/3;
    A2:=SUM((IF(((量价>0.20) AND (CLOSE>(REF(CLOSE,1)))),量价,0)),0);
    A3:=SUM((IF(((量价>0.20) AND (CLOSE<(REF(CLOSE,1)))),量价,0)),0);
    A6:=A2+A3;DD1:=1;比:=A2/A3;
    AAA1:=STRCAT(STRCAT('买= ',CON2STR((100*A2)/A6,0)),'%');
    AAA2:=STRCAT(STRCAT('卖= ',CON2STR((100*A3)/A6,0)),'%');
    AAA3:=STRCAT(STRCAT('差= ',CON2STR((100*(A2-A3))/A6,0)),'%');
    DRAWTEXT_FIX(DD1=1,0,0.04,0,AAA1),COLORWHITE;
    DRAWTEXT_FIX(DD1=1,0,0.12,0,AAA2),COLORCYAN;
    DRAWTEXT_FIX(DD1=1,0,0.20,0,AAA3),COLOR00FFFF;
    DRAWTEXT_FIX(比>2,0,0.40,0,'涨'),COLORGREEN;
    DRAWTEXT_FIX(比>2,0,0.48,0,'停'),COLORLIMAGENTA;
    DRAWTEXT_FIX(比>2,0,0.56,0,'板'),COLORWHITE;
    中期线:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4)+100;
    DRAWTEXT(比<1.1,(DYNAINFO(5)+DYNAINFO(6))/2,'○'),COLORCYAN;
    DRAWTEXT(比>1.5,(DYNAINFO(5)+DYNAINFO(6))/2,'○'),COLORGREEN;
    DRAWTEXT(比>2,(DYNAINFO(5)+DYNAINFO(6))/2,'○'),COLORLIMAGENTA;
    DRAWTEXT(比>2.5,(DYNAINFO(5)+DYNAINFO(6))/2,'○'),COLORWHITE;
    DRAWTEXT((比>1.1 AND 中期线<5),(DYNAINFO(5)+DYNAINFO(6))/2,'●'),COLORRED;
    DRAWTEXT((比<1.1 AND 中期线>98.0),(DYNAINFO(5)+DYNAINFO(6))/2,'●'),COLORRED;
    DRAWTEXT((比>1.1 AND 中期线<5),C,'--机会'),COLORBLUE;
    DRAWTEXT((比<1.1 AND 中期线>98.0),C,'--风险'),COLORBLUE;
    H1:=MAX(DYNAINFO(3),DYNAINFO(5));
    L1:=MIN(DYNAINFO(3),DYNAINFO(6));
    P1:=H1-L1;
    阻力:=L1+P1*7/8,COLORCYAN;
    支撑:=L1+P1*0.5/8,COLORLIMAGENTA;
    DRAWTEXT(LONGCROSS(支撑,C,2),C,'--买入'),COLORFF00FF;
    DRAWTEXT(LONGCROSS(C,阻力,2),C,'--出货'),COLOR70DB93;

    LC:=REF(CLOSE,1);
    WRSI:=SMA(MAX(CLOSE-LC,0),9,1)/SMA(ABS(CLOSE-LC),9,1)*100;
    DRAWICON(CROSS(20,WRSI),C,1);
    DRAWICON(CROSS(WRSI,80),C,2);

    {DRAWICON(CROSS(20,"RSI.RSI1"(9)),C,1);
    DRAWICON(CROSS("RSI.RSI1"(9),80),C,2);}

    均价:=SUM(C*V,240)/SUM(V,240),COLORBLUE,LINETHICK1;
    TT:=BARSCOUNT(C);均:=MA(C,TT);
    上均线:=均+2*STD(C,3);下均线:=均-2*STD(C,3);
    时长:=TIME>93000;涨幅:=C/REF(C,1)>1.02;跌幅:=C/REF(C,1)<0.98;
    横盘:=((HHV(C,TT)-LLV(C,TT))/C)<0.05;YY:=SMA(VOL,30,1);
    放量:=(YY-LLV(LLV(YY,1),30))/(HHV(HHV(YY,1),30)-LLV(LLV(YY,1),30))>0.95;
    涨跌幅:=涨幅 OR 跌幅;
    横涨1:=涨跌幅=0 AND 横盘 AND 放量 AND CROSS(均价,均);
    DRAWTEXT(FILTER(横涨1,10),C,'突'),COLORBLUE;
    DRAWICON(FILTER(横涨1,10),均价,1);
    IF(MACD.DEA<0,C,DRAWNULL),COLORBLUE ,LINETHICK9;
    XX:=SUM(AMOUNT,BARSCOUNT(CLOSE))/SUM(V*100,BARSCOUNT(CLOSE));
    主力:=EXPMA(CLOSE/XX,20);大户:=EXPMA(CLOSE/XX,60);散户:=EXPMA(CLOSE/XX,120);
    底:=1;1.02,NODRAW;高:=1.03;
    AA:=主力>大户 AND 主力>1.003 AND 大户>散户 AND C>EXPMA(C,20) AND EXPMA(C,10)>EXPMA(C,20) AND EXPMA(C,20)>EXPMA(C,60);
    DRAWICON(主力>大户 AND 大户>散户 AND C>EXPMA(C,20) AND EXPMA(C,10)>EXPMA(C,20) AND EXPMA(C,20)>EXPMA(C,60) AND 主力=HHV(主力,30) AND CROSS(主力,1.003),C,38);
    DRAWTEXT(主力>大户 AND 大户>散户 AND C>EXPMA(C,20) AND EXPMA(C,10)>EXPMA(C,20) AND EXPMA(C,20)>EXPMA(C,60) AND 主力=HHV(主力,30) AND CROSS(主力,1.003),C*0.999,'-主力'),COLORBLUE;
    {DRAWICON(CROSS(主力,1.02),C,24);}
    DRAWTEXT(CROSS(主力,1.02),C*0.999,'--拉升'),COLORGREEN;
    {DRAWICON(CROSS(主力,1.04),C,6);}
    DRAWTEXT(CROSS(主力,1.04),C*0.999,'--冲涨停'),COLORMAGENTA;
    {DRAWICON(CROSS(散户,主力),C,6);}
    DRAWTEXT(CROSS(散户,主力),C*0.9995,'--小心'),COLORCYAN;
    {DRAWICON(CROSS(散户,大户),C,6);}
    DRAWTEXT(CROSS(散户,大户),C*0.9995,'--走弱'),COLORCYAN;



    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信加强版T2+0分时主图未加密选股指标公式源码 加入收藏