最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信强势追涨主图指标公式

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

    MA5:MA(C,5)LINETHICK1;
    MA10:MA(C,10) ,LINETHICK1;
    MA20:MA(C,20) ,LINETHICK1;
    MA30:MA(C,30),LINETHICK1;
    MA62:MA(C,62),LINETHICK1 ;
    MA133:MA(C,133),LINETHICK1;
    DIF2:=(EMA(CLOSE,252)-EMA(CLOSE,546));
    DEA2:=EMA(DIF2,189);
    MACD:=(DIF2-DEA2)/2,STICK,LINETHICK9,COLORGREEN;
    DIF1:=(EMA(CLOSE,60)-EMA(CLOSE,130));
    DEA1:=EMA(DIF1,40);
    昨月:=MACD.DIF#MONTH REF(MACD.DIF#MONTH,1) AND MACD#MONTH 0 AND MACD#MONTH
    MACD月:=MACD.DIF#MONTH MACD.DEA#MONTH AND MACD.DIF#MONTH 0 AND 昨月;
    DRAWICON(MACD月,L-0.25,25),COLORYELLOW,LINETHICK3;

    DRAWKLINE(H,O,L,C);
    ZKP:=IF(C REF(C,1),REF(C,1),DRAWNULL);
    ZSP:=IF(C REF(C,1),C,DRAWNULL);
    DKP:=IF(C =REF(C,1),REF(C,1),DRAWNULL);
    DSP:=IF(C =REF(C,1),C,DRAWNULL);
    DRAWKLINE(H,DKP,L,DSP);
    STICKLINE(C =REF(C,1),DKP,DSP,3.05,0),COLORBLUE;
    STICKLINE(C =REF(C,1),DKP,DSP,2.2,0),COLORFF7700;
    STICKLINE(C =REF(C,1),DKP,DSP,1.5,0),COLORFF9900;
    STICKLINE(C =REF(C,1),DKP,DSP,0.5,0),COLORFFBB00;
    DRAWKLINE(H,ZKP,L,ZSP);
    STICKLINE(C REF(C,1),ZKP,ZSP,3.05,0),COLOR000099;
    STICKLINE(C REF(C,1),ZKP,ZSP,2.2,0),COLOR0000CC;
    STICKLINE(C REF(C,1),ZKP,ZSP,1.5,0),COLOR0000FF;
    STICKLINE(C REF(C,1),ZKP,ZSP,0.5,0),COLORCC66FF;
    STICKLINE(V/REF(V,1) 2 AND CLOSE =OPEN,ZKP,ZSP,1,0),COLORYELLOW;


    DRAWRECTREL(0,500,147,999.4,IF(120,RGB(10,0,0),0));
    超B:=L2_AMO(0,2)/10000.0;
    大B:=L2_AMO(1,2)/10000.0;
    中B:=L2_AMO(2,2)/10000.0;
    小B:=L2_AMO(3,2)/10000.0;
    超S:=L2_AMO(0,3)/10000.0;
    大S:=L2_AMO(1,3)/10000.0;
    中S:=L2_AMO(2,3)/10000.0;
    小S:=L2_AMO(3,3)/10000.0;
    TESTSKIP(NOT(超B OR 大B OR 中B OR 小B OR 超S OR 大S OR 中S OR 小S)!=0);
    大宗进:=(超B)+(大B),NODRAW;
    大宗出:=(超S)+(大S),NODRAW;
    非大宗进:=(中B)+(小B),NODRAW;
    非大宗出:=(中S)+(小S),NODRAW;
    大宗进限制:=IF((超B+大B)=0,0,大宗进);
    大宗出限制:=IF((超S+大S)=0,0,大宗出);
    非大宗进限制:=IF(中B+小B=0,0,非大宗进);
    非大宗出限制:=IF(中S+小S=0,0,非大宗出);
    主力净流入:=(超B+大B)-(超S+大S),COLORRED,NODRAW;
    散户净流入:=(中B+小B)-(中S+小S),COLORRED,NODRAW;
    净流入:=(超B+大B+中B+小B)-(超S+大S+中S+小S),COLORRED,NODRAW;
    大单流入:=(超B+大B)/(超B+大B+超S+大S)*100,NODRAW;
    大单流入限制:=IF((超B+大B+超S+大S)=0,0,大单流入);
    大单流出比:=(超S+大S)/(超B+大B+超S+大S)*100,NODRAW;
    大单流出限制:=IF((超B+大B+超S+大S)=0,0,大单流出比);
    总流入比:=(超B+大B+中B+小B)/(超B+大B+中B+小B+超S+大S+中S+小S)*100,NODRAW;
    总流出比:=(超S+大S+中S+小S)/(超B+大B+中B+小B+超S+大S+中S+小S)*100,NODRAW;
    成交总量:=(超B+大B+中B+小B+超S+大S+中S+小S),NODRAW;
    机构参与度:=(超B+超S+大B+大S)/成交总量*100,COLORYELLOW,NODRAW;
    大单强度:=(超B+大B-超S-大S)/成交总量*100,COLORYELLOW,NODRAW;
    大单强度限制:=IF(大单强度=0,-100,大单强度);
    大单强度比:=IF(大单强度 =0,(大单强度限制+100)/2,100-ABS((大单强度限制-100)/2)),NODRAW;
    超单强度:=(超B-超S)/(超B+超S)*100,COLORYELLOW,NODRAW;
    超单强度限制:=IF(超单强度=0,-100,超单强度);
    超单强度比:=IF(超单强度 0,(超单强度限制+100)/2,IF(超单强度 0,100-ABS((超单强度限制-100)/2),0)),NODRAW;

    DAZHIV:=CONST(MAX(ABS(大宗进),MAX(ABS(大宗出),MAX(ABS(非大宗进),ABS(非大宗出))))),NODRAW;
    DRAWRECTREL(0,CONST(930-(ABS(大宗进)*250/DAZHIV)),35,950,IF(CONST(大宗进 0),RGB(255,0,0),RGB(23,125,255)));
    DRAWRECTREL(37,CONST(930-(ABS(大宗出)*250/DAZHIV)),72,950,IF(CONST(大宗出 0),RGB(23,125,255),RGB(255,0,0)));
    DRAWRECTREL(75,CONST(930-(ABS(非大宗进)*250/DAZHIV)),110,950,IF(CONST(非大宗进 0),RGB(255,0,0),RGB(23,125,255)));
    DRAWRECTREL(112,CONST(930-(ABS(非大宗出)*250/DAZHIV)),147,950,IF(CONST(非大宗出 0),RGB(23,125,255),RGB(255,0,0)));
    DRAWRECTREL(150,CONST(940-(ABS(净流入)*250/DAZHIV))-20,190,950,IF(CONST(净流入 0),RGB(200,0,0),RGB(0,125,50)));
    DRAWTEXT_FIX(CURRBARSCOUNT=1,0.0001,0.9,0,STRCAT('',CON2STR(大宗进/1,0))),COLORYELLOW;
    DRAWTEXT_FIX(CURRBARSCOUNT=1,0.036,0.9,0,STRCAT('',CON2STR(大宗出/1,0))),COLORYELLOW;
    DRAWTEXT_FIX(CURRBARSCOUNT=1,0.074,0.9,0,STRCAT('',CON2STR(非大宗进/1,0))),COLORYELLOW;
    DRAWTEXT_FIX(CURRBARSCOUNT=1,0.111,0.9,0,STRCAT('',CON2STR(非大宗出/1,0))),COLORYELLOW;
    DRAWTEXT_FIX(CURRBARSCOUNT=1,0.150,0.9,0,STRCAT('',CON2STR(净流入/1,0))),COLORYELLOW;
    DRAWTEXT_FIX(1,0.000,0.99,0,STRCAT(STRCAT('主力 ',CON2STR(主力净流入,0)),'万')),COLORMAGENTA;
    DRAWTEXT_FIX(1,0.078,0.99,0,STRCAT(STRCAT('散户 ',CON2STR(散户净流入,0)),'万')),COLORCYAN;
    DRAWTEXT_FIX(CURRBARSCOUNT=1,0.145,0.99,0,'净流入:(万)'),COLORYELLOW;
    主力买力度:=LARGEINTRDVOL*1000/VOL;
    主力卖力度:=LARGEOUTTRDVOL*1000/VOL;
    AAD:=CONST(MAX(ABS(主力买力度),ABS(主力卖力度)))*4,NODRAW;
    DRAWRECTREL(0,515,CONST(ABS(主力买力度)*560/AAD),568,IF(CONST(主力买力度) 0,RGB(255,0,0),RGB(0,50,0)));
    DRAWRECTREL(0,570,CONST(ABS(主力卖力度)*560/AAD),623,IF(CONST(主力卖力度) 0,RGB(0,50,0),RGB(255,0,0)));
    DRAWTEXT_FIX(1,0,0.524,0,STRCAT('主买力度:',CON2STR(主力买力度,0))),COLORYELLOW;
    DRAWTEXT_FIX(1,0,0.576,0,STRCAT('主卖力度:',CON2STR(主力卖力度,0))),COLORYELLOW;

    通达信强势追涨主图指标公式

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信强势追涨主图指标公式 加入收藏