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

    正文概述    2024-04-13 14:33:39  

    资金流入:=SUM(IF(C REF(C,1),V,0),FROMOPEN),STICK,COLORRED;
    资金流出:=-SUM(IF(C REF(C,1),V,0),FROMOPEN),STICK,COLOR00FF00;
    资金出入:=资金流入+资金流出,COLORSTICK;
    资金流量:=资金出入,COLORFFFFFF,LINETHICK1;
    资金比:=资金出入/SUM(V,FROMOPEN)*100,COLOR00FFFF,LINETHICK1;
    资金流量比:=IF(资金比 =0,(资金比+100)/2,100-ABS((资金比-100)/2));
    增强流量比:=IF(资金流量比 50,资金流量比,50);
    攻击量:=((HSL*0.50+(REF(HSL,1)*0.33))+(REF(HSL,2)*0.17))*SUM(C,FROMOPEN)/FROMOPEN;
    攻击量A:=SUM(IF(C REF(C,1),攻击量*V,0),FROMOPEN),COLOR0000FF,LINETHICK0;
    攻击量B:=-SUM(IF(C REF(C,1),攻击量*V,0),FROMOPEN),COLOR00FF00,LINETHICK0;
    攻击流量:=攻击量A+攻击量B,COLORSTICK;
    NOTEXT攻击线:=攻击流量,COLORYELLOW,LINETHICK1;
    攻击比:=攻击流量/SUM(V,FROMOPEN)*100,COLORRED,LINETHICK1;
    资金攻击度:=IF(攻击比 0,(攻击比+50),100-ABS((攻击比-50)));
    攻击度限制:=IF(资金攻击度 100,100,IF(资金攻击度 0,0,资金攻击度));
    增强攻击度:=IF(资金攻击度 50,资金攻击度,50);
    开始攻击:=CROSS(攻击流量,0) AND (C REF(C,2) OR (资金流量 0 AND 资金流量 攻击流量));
    开始攻击量:=CROSS(攻击流量,0) AND C REF(C,2) AND V LLV(V,3)*3;

    Q:=250;
    高点:=HHV(C,Q);
    低点:=LLV(C,Q);
    最高:=CONST(高点),NODRAW;
    最低:=CONST(低点),NODRAW;
    轴差:=最高-最低;
    中价轴:=(最高+最低)/2;
    HL3:=(100-0)/2*1.3;
    HL4:=(100-0)/1*1.3;
    中间价轴:=(50-HL3)*轴差/HL4+中价轴;
    平安轴:=(中价轴+中间价轴)/2;
    BGTYU:=IF(DATE =1150530,1,0);
    GHYJKU:=BETWEEN((CLOSE*BGTYU)/(SUM(AMOUNT,BARSCOUNT((CLOSE*BGTYU)))/SUM(VOL*100,BARSCOUNT((CLOSE*BGTYU)))),1.05,0.95);
    VBNH:=IF(GHYJKU=0,MA((CLOSE*BGTYU),BARSCOUNT((CLOSE*BGTYU))),(SUM(AMOUNT,BARSCOUNT((CLOSE*BGTYU)))/SUM(VOL*100,BARSCOUNT((CLOSE*BGTYU)))));
    起动线:=EXPMA((CLOSE/VBNH),20)*1,COLORYELLOW,POINTDOT;
    主力线:=EXPMA((CLOSE/VBNH),60)*1,COLORMAGENTA,LINETHICK2;
    散户线:=EXPMA((CLOSE/VBNH),120)*1,COLORGREEN,LINETHICK2;
    限制起动线:=起动线*中间价轴;
    限制主力线:=主力线*中间价轴;
    限制散户线:=散户线*中间价轴;
    主散MIN:=MIN(限制主力线,限制散户线);
    拉升量:=IF(C REF(C,1),VOL,0);
    昨拉升最高值:=CONST(FINDHIGH(拉升量,FROMOPEN,240,1)),LINETHICK1,COLORMAGENTA;
    今拉升最高值:=CONST(REF(HHV(拉升量,FROMOPEN),0)),COLORYELLOW,NODRAW;
    攻击力度:=今拉升最高值/昨拉升最高值,NODRAW;
    TT:=BARSCOUNT(C);{取得有效收盘价}
    均价黄:=SUM(C*V,TT)/SUM(V,TT);{分时均线的取值}
    量两步:=MA(V,5) REF(MA(V,5),1) AND REF(MA(V,5),1) REF(MA(V,5),2);
    价两步:= C =REF(C,1) AND REF(C,1) REF(C,2);
    价上岗量破5:=C 均价黄 AND V MA(V,5);
    量起爆:=V =REF(V,1)*1 ;
    价创新高:=C =HHV(C,0);
    量创新高:=V =HHV(V,0);
    对昨日涨幅:=(C/DYNAINFO(3)-1)*100 =2.50;{涨幅控制2个点以内}
    每日一点:=量两步 AND 价两步 AND 价上岗量破5 AND 量起爆 AND 价创新高 AND 量创新高 AND 对昨日涨幅;
    {计算收益、已爆分钟}
    VV:=BARSSINCE(每日一点)+1;
    首次起爆价:=REF(C,VV-1),NODRAW;
    今天收益:=(DYNAINFO(7)-首次起爆价)/首次起爆价*100,NODRAW;
    流通盘:=CAPITAL*100/100000000,NODRAW;
    起爆时间:=REF(TIME/10000,VV),NODRAW;
    已爆分钟:=VV-1,NODRAW;
    {画出底线和红球}
    首次起爆量:=REF(VOL,VV-1);
    STICKLINE(FILTER(CROSS(拉升量,昨拉升最高值),30),最低+轴差*0.83,最低,1,0),COLORCYAN;
    DRAWICON(FILTER(CROSS(拉升量,昨拉升最高值),30),最低+轴差*0.83,27);
    DRAWTEXT(FILTER(CROSS(拉升量,昨拉升最高值),30),最低+轴差*0.83,' 量突破'),COLORCYAN;
    STICKLINE(FILTER(每日一点,30),最低+轴差*0.75,最低,1,0),COLORGREEN;
    DRAWICON(FILTER(每日一点,30),最低+轴差*0.75,13);
    DRAWTEXT(FILTER(每日一点,30),最低+轴差*0.75,' 起爆'),COLORGREEN;
    DRAWNUMBER(FILTER(每日一点,30),最低+(C-最低)/2,首次起爆价),COLORWHITE;
    DRAWTEXT_FIX(每日一点=1,0.5180,0.90,0,'当起爆突破时:20线上行+日价K线突破+日K线量起爆更好+估换手小于10%更有效'),COLORMAGENTA;
    TA:=BARSLAST(TIME=100000);
    TC:=REF(HHV(C,0),TA+1);
    TV:=REF(HHV(V,0),TA+1);
    ZF:=C/DYNAINFO(3) 1.05;
    XG1:=CROSS(C,TC) AND V TV AND ZF,COLORWHITE;
    TA1:=BARSLAST(TIME=110000);
    CC1:=REF(HHV(C,0),TA1+1);
    VV1:=REF(HHV(V,0),TA1+1);
    ZF1:=CC1/DYNAINFO(3) 1.05;
    XG2:=CROSS(C,CC1) AND V VV1 AND ZF1,COLORYELLOW;
    突破:=XG1 OR XG2,COLORRED;
    STICKLINE(FILTER(突破=1,15),最低+轴差*0.60,最低,1,0),COLORWHITE;
    DRAWICON(FILTER(突破=1,15),最低+轴差*0.60,17);
    DRAWTEXT(FILTER(突破=1,15),最低+轴差*0.60,' 分时突破'),COLORWHITE;
    STICKLINE(FILTER(开始攻击量=1,15),最低+轴差*0.45,最低,1,0),COLORMAGENTA;
    STICKLINE(FILTER(开始攻击=1,30),最低+轴差*0.30,最低,1,0),COLORYELLOW;
    STICKLINE(CROSS(EXPMA((CLOSE/VBNH),60),EXPMA((CLOSE/VBNH),120)),最低+轴差*0.000000000001,最低,0.0000000001,0),COLORCYAN;
    DRAWICON(FILTER(开始攻击量=1,15),最低+轴差*0.45,24);
    DRAWICON(FILTER(开始攻击,30),最低+轴差*0.30,23);
    DRAWTEXT(FILTER(开始攻击量=1,15),最低+轴差*0.45,' 攻击量'),COLORMAGENTA;
    DRAWTEXT(FILTER(开始攻击,30),最低+轴差*0.30,'开始攻击'),COLORYELLOW;
    DRAWTEXT(FILTER(CROSS(EXPMA((CLOSE/VBNH),60),EXPMA((CLOSE/VBNH),120)),30),最低+轴差*0.1,''),COLORCYAN;
    时间:=TIME=100000;
    N:=BARSLAST(时间),COLOR808080;
    常数:CONST(IF(N=0,C,REF(C,N))),COLOR004848,DOTLINE;
    CS1:=CONST(IF(N,HHV(H,0),REF(HHV(H,0),N))),COLOR808080;
    CS2:=CONST(IF(N,LLV(L,0),REF(LLV(L,0),N))),COLOR808080;
    STICKLINE(时间=1,CS1,CS2,-1,0),COLOR808080;

    MA30:=EMA(CLOSE,30);
    强弱:EMA(CLOSE,900);
    STICKLINE((MA30 强弱),MA30,强弱,0.01,0),COLOR0000FF;
    STICKLINE((MA30 强弱),MA30,强弱,0.01,0),COLOR00FF00;
    H1:=MAX(DYNAINFO(3),DYNAINFO(5));
    L1:=MIN(DYNAINFO(3),DYNAINFO(6));
    P1:=H1-L1;
    阻力:L1+P1*7/8,COLORFFFFFF,DOTLINE;
    支撑:L1+P1*0.5/8,COLORFFFFFF,DOTLINE;
    现价:CLOSE,COLORWHITE,LINETHICK1;
    STICKLINE(CROSS(支撑,现价),支撑,阻力,1,0),COLORYELLOW;
    DRAWTEXT(CURRBARSCOUNT=1,阻力,' 阻力'),COLORFFFFFF;
    DRAWTEXT(CURRBARSCOUNT=1,支撑,' 支撑'),COLORFFFFFF;
    均价:SUM(V*C,0)/SUM(V,0),COLORYELLOW;
    DRAWTEXT(CURRBARSCOUNT=4,均价,' 均价变色'),COLORFFFFFF,LINETHICK2;
    DRAWTEXT(LONGCROSS(支撑,现价,2),支撑*1.001,'★B短买'),COLORRED;{吸}
    DRAWTEXT(LONGCROSS(现价,阻力,2),现价,'★S卖出'),COLORRED;{抛};
    DRAWICON(CROSS(MA30,强弱),H,9);
    DRAWTEXT(ISLASTBAR,(支撑+阻力)/2,' - - - - - - - - -中间线'),COLORRED;
    {分时均线}
    W:=BARSLAST(DAY-REF(DAY,1))+1;
    FSJX:SUM(CLOSE*VOL,W)/SUM(VOL,W),LINETHICK2,COLOR00FFFF;
    IF(FSJX REF(FSJX,1),FSJX,DRAWNULL),LINETHICK2,COLOR00A100;
    DRAWTEXT_FIX(CURRBARSCOUNT=1,0,1,0,'1、诱多不买入;出货不买入;高位放量不买入。'),COLOR00BFBF;
    DRAWTEXT_FIX(CURRBARSCOUNT=1,0.58,0.99,0,'★ ★预警分时B预警买卖 ★ ★ '),COLORWHITE;
    年:=YEAR,NODRAW;
    月:=MONTH,NODRAW;
    星期:=WEEKDAY,NODRAW;
    日1:=DATETODAY(DATE);
    上市日:=REF(DATE,TOTALBARSCOUNT-CURRBARSCOUNT);
    自然日:=日1-DATETODAY(上市日)+1;
    ZB:=(自然日-REF(自然日,1))!=星期-REF(星期,1)
    OR TOTALBARSCOUNT-CURRBARSCOUNT=0;
    本周第几天:=BARSLAST(ZB)+1;
    本月第几天:=BARSLAST(年*100+月!=REF(年*100+月,1))+1;
    MA1:=REF(C,本周第几天);
    MA2:=REF(MA1,本周第几天);
    MA3:=REF(MA2,本周第几天);
    MA4:=REF(MA3,本周第几天);
    MA5:=REF(MA4,本周第几天);
    MA6:=REF(MA5,本周第几天);
    MA7:=REF(MA6,本周第几天);
    MA8:=REF(MA7,本周第几天);
    MA9:=REF(MA8,本周第几天);
    十周价:=(C+MA1+MA2+MA3+MA4+MA5+MA6+MA7+MA8+MA9)/10;
    决策:REFDATE(十周价,DATE),COLORFF0080,LINETHICK2;
    DRAWTEXT(ISLASTBAR,决策,' 决策线'),COLORFF0080;
    DRAWICON(CROSS(C,决策),C,1);

    DA:=YEAR AND MONTH AND DAY;
    AAA:=STRCAT(CON2STR(YEAR,0),'年');
    AAB:=STRCAT(CON2STR(MONTH,0),'月');
    AA33:=STRCAT(CON2STR(DAY,0),'日');
    AA4:=STRCAT('【 ',IF(WEEKDAY=1,'一',IF(WEEKDAY=2,'二',IF(WEEKDAY=3,'三',IF(WEEKDAY=4,'四',IF(WEEKDAY=5,'五',IF(WEEKDAY=6,'六','日')))))));
    AA:=STRCAT(STRCAT(STRCAT(AAA,AAB),STRCAT(AA33,AA4)),' 】');
    SA:DRAWTEXT_FIX(DA,0.78,0.99,0,AA),COLORYELLOW;

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信预警买卖 分时主图 加入收藏