• 网站首页
  • 股票池
  • 通达信公式
  • 大智慧公式
  • 同花顺公式
  • 套装公式
  • 指标专题
  • 股票内参
  • 滚动播报

    通达信公式

    当前位置: 主页 > 通达信公式

    通达信牛股分时分时主图未加密选股指标公式源码

    来源:网络|编辑:小编|时间:2022-06-24|栏目:通达信公式

    ZX:=DYnaINFO(3);

    价位轴:ZX,COLORLIRED;

    difF0:= ema(CLOSE,12) - EMA(CLOSE,26);

    DEA0:= EMA(DIFF0,9);

    攻击:=2*(DIFF0-DEA0)*2, COLORSTICK;

    STICKLINE(攻击>REF(攻击,1) AND DIFF0>DEA0,攻击+ZX,ZX,1,0),COLORWHITE;

    STICKLINE(攻击<REF(攻击,1) AND 攻击>0,攻击+ZX,ZX,1,0),COLORCYAN;

    STICKLINE(攻击<REF(攻击,1) AND 攻击<0,攻击+ZX,ZX,1,0),COLORCYAN;

    STICKLINE(攻击>REF(攻击,1) AND 攻击<0,攻击+ZX,ZX,1,0),COLORBLUE;

    分时顶:HHV(H,480),COLORWHITE,LINETHICK2;

    现价:C,COLORRED,LINETHICK2;

    W1:=C=HHV(C,20);

    W2:=BArslAST(W1);

    W3:=IF(W2>0,REF(C,W2),REF(C,W2));

    W4:=crOSS(C,REF(W3,1));

    {均线5:MA(C,5)LINETHICK1,COLORGREEN;}

    均价线:SUM(现价*V,240)/SUM(V,240),COLORBLUE;

    分时压力:MA(REF(HHV(C,30),1),2),COLORLIMAGENTA;

    分时支撑:MA(REF(LLV(C,30),1),2),COLORYELLOW;

    DRAWICON(W4 AND COUNT(W4,5)=1,分时压力,9);

    绝密线:expma(C,17),COLORWHITE,LINETHICK2;

    AA1:=(vol/CLOSE)/3;

    AA2:=SUM((IF(((AA1>40) AND (CLOSE>(REF(CLOSE,1)))),AA1,0)),0);

    AA3:=SUM((IF(((AA1>40) AND (CLOSE<(REF(CLOSE,1)))),AA1,0)),0);

    AA4:=SUM((IF(((AA1<40) AND (CLOSE>(REF(CLOSE,1)))),AA1,0)),0);

    AA5:=SUM((IF(((AA1<40) AND (CLOSE<(REF(CLOSE,1)))),AA1,0)),0);

    AA6:=((AA2+AA3)+AA4)+AA5;

    AA7:=IF((BARSTATUS=2),((100*AA2)/AA6),0);

    AA8:=((IF((BARSTATUS=2),((100*AA3)/AA6),0)));

    AA9:=((IF((BARSTATUS=2),((100*AA4)/AA6),0)));

    AA10:=((IF((BARSTATUS=2),((100*AA5)/AA6),0)));

    机买:=(AA2),LINETHICK0;

    机卖:=(AA3),LINETHICK0;

    散买:=(AA4);

    散卖:=(AA5);

    总买:=AA2+AA4;

    总卖:=AA3+AA5;

    机构买比:=机买/总买*0.1,LINETHICK0;

    机构卖比:=机卖/总卖*0.1,LINETHICK0;

    最新:CLOSE,LINETHICK2,COLORRED;

    AAB:=SUM(AMOUNT,BARSCOUNT(C))/SUM(VOL*100,BARSCOUNT(C));

    BB:=BETWEEN(C/AAB,C+H,C-H);

    DRAWTEXT( ISLASTBAR AND 最新>REF(最新,1),最新,STRCAT(' 涨▲',CON2STR(最新,2))),COLORLIMAGENTA;

    DRAWTEXT( ISLASTBAR AND 最新<REF(最新,1),最新,STRCAT(' 跌▼',CON2STR(最新,2))),COLOR00FF00;

    均价11:SUM(C*V,240)/SUM(V,240),COLORBLUE,LINETHICK2;

    TT:=BARSCOUNT(C);

    前高:=REF(HHV(H,TT),1);

    突破:=CROSS(C,REF(HHV(H,TT),1)){ AND HHVBARS(VOL,TT)=0} AND C/均价11<1.09 AND TT>1 AND TT<240;

    主力扫盘:=COUNT(突破,13)>=3 AND CROSS(C,REF(HHV(H,TT),1)){ AND HHVBARS(VOL,TT)=0};

    DRAWTEXT(主力扫盘,前高, '&larr;扫盘'),COLORBLUE;

    已主力扫盘:=BARSLAST(主力扫盘)<13;

    DRAWTEXT(BARSLAST(主力扫盘)<8,(DYNAINFO(3))*9.5/10 , '↖已扫'),COLORCYAN;

    全仓买进:=CROSS(C,REF(HHV(H,TT),1)) AND HHVBARS(VOL,TT)=0 AND C/均价11<1.09 AND TT>1 AND TT<240 AND BARSLAST(主力扫盘)>=21;

    DRAWTEXT(全仓买进 ,前高, '&larr;全仓'),COLORGREEN;

    VAR1:=EMA(EMA(C,13),13);

    控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;

    JJJ:=DYNAINFO(11);

    P:=55;

    S:=8;

    M1:=3;

    能量:=(EMA(C,S)-EMA(C,P))*10;

    空头:=EMA(能量,M1);

    BTJ11:=(C-JJJ)/JJJ<-0.03;

    BTJ2:=控盘>REF(控盘,1) AND 控盘<-0.2;

    BTJ3:=CROSS(能量,空头) AND 能量<-0.3;

    BTJ811:=FILTER(BTJ11 AND BTJ2 AND BTJ3,13);

    有庄:=BTJ811;

    RSV:=(CLOSE-LLV(LOW,6))/(HHV(HIGH,6)-LLV(LOW,6))*80;

    K:=SMA(RSV,2,1);

    D:=SMA(K,2,1);

    RS:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*80;

    K1:=RS>=75;

    K2:=RS<80;

    HJ_2:=DYNAINFO(4)>0 AND HHV(HIGH,2)/LLV(LOW,2)<1.25 AND REF(CLOSE,1)<LLV(LOW,3)+(HHV(HIGH,3)-LLV(LOW,3))*0.85;

    HJ_9:=EMA(CLOSE,2);

    HJ_10:=EMA(CLOSE,3);

    HJ_11:=MAX(HJ_9,HJ_10);

    X2:=CLOSE>HJ_11 AND HJ_2 AND (CLOSE>REF(HHV(HIGH,2),1) AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.015);

    DRAWTEXT(X2,C*0.999,'&larr;准备注意买进'),COLORCYAN;

    {牛熊线}

    NX:=MA(((SLOPE(C,20)*5)+C),10);

    {中枢}

    B1:=HOUR=09 AND MINUTE=45;

    B20:=LLV(L,15);

    B30:=BARSLAST(B1);

    B4:=REF(B20,B30);

    B5:CONST(B4),COLORFF80FF,CIRCLEDOT,LINETHICK2;

    DRAWTEXT(CURRBARSCOUNT=20,B4,'分时支撑'),COLORBLUE;

    C1:=HOUR=09 AND MINUTE=45;

    C2:=HHV(H,15);

    C3:=BARSLAST(C1);

    C4:=REF(C2,C3);

    C5:CONST(C4),COLORFF80FF,CIRCLEDOT,LINETHICK2;

    DRAWTEXT(CURRBARSCOUNT=20,C4,'分时突破'),COLORWHITE;

    {DRAWBAND(C5,RGB(204,204,204),B5,RGB(204,204,204));}

    {MacD}

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

    DEA:=EMA(DIF,9);

    macd10:=(DIF-DEA)*2;

    AA0:=MACD10>00 AND DIF>0 AND DEA>0;

    {捉牛信号}

    A100:=HOUR=10 AND MINUTE=0;

    A20:=HHV(H,30);

    A30:=BARSLAST(A100);

    A40:=REF(A20,A30);

    A50:=CONST(A40);

    A80:=CLOSE>A50 AND REF(C<=A50,1) AND CLOSE>NX;

    AB:=FILTER(A80,100);

    A90:=DYNAINFO(3);

    AC:=CLOSE<=A90*1.04 AND CLOSE>A90;

    量比:=V/REF(MA(V,5),1);

    XG:=AA0 AND AB AND AC AND A40>A90 AND 量比>=1;

    DRAWICON(XG,A50,23);

    {DRAWTEXT(CURRBARSCOUNT=20,A4,'强势区域'),COLORBLUE;

    D1:=HOUR=10 AND MINUTE=0;

    D2:=LLV(L,30);

    D3:=BARSLAST(D1);

    D4:=REF(D2,D3);

    D5:CONST(D4),COLOR808080,CIRCLEDOT,LINETHICK2;

    DRAWTEXT(CURRBARSCOUNT=20,D4,'底部区域'),COLORBLUE;}

    {均线突破中枢}

    JJ1:=DAY!=REF(DAY,1);

    JJ2:=BARSLAST(V>0 AND JJ1)+1;

    JJ:=SUM(V*C,JJ2)/SUM(V,JJ2);

    XG2:=CROSS(JJ,C5);

    DRAWICON(XG2,JJ,23);

    {TS:=(B4+C4)/2;

    DRAWTEXT(XG2,TS,'回落靠近黄线买');}

    VARA3:=HHV(CLOSE,90);

    VARA4:=LLV(CLOSE,90);

    VARA5:=VARA3 - VARA4;

    VARA6:=EMA((CLOSE - VARA4)/VARA5 - 0.5,14);

    ZLSP:=VARA6*20;

    VARA7:=REF(HHV(CLOSE,66),2);

    VARA8:=CROSS(CLOSE,VARA7) AND (HHV(CLOSE,110)/LLV(CLOSE,110) - 1) * 100 < 45 AND ZLSP < 5.666;

    VARA11:=15* FILTER(VARA8,41);

    XG0:HHV(H,480),DOTLINE,COLORGREEN;

    DRAWTEXT(FILTER(CROSS(C,REF(XG,1)),10) AND C>REF(XG,1),C*0.995,'突'),COLORBLUE;

    RQ:=DATETODAY(DATE)-DATETODAY(REF(DATE,TOTALBARSCOUNT-CURRBARSCOUNT))+1;

    JY:=BARSLAST((RQ-REF(RQ,1))!=WEEKDAY-REF(WEEKDAY,1) OR TOTALBARSCOUNT-CURRBARSCOUNT=0)+1;

    MA1:=REF(C,JY);

    MA2:=REF(MA1,JY);

    MA3:=REF(MA2,JY);

    MA4:=REF(MA3,JY);

    MA5:=REF(MA4,JY);

    MA6:=REF(MA5,JY);

    MA7:=REF(MA6,JY);

    MA8:=REF(MA7,JY);

    MA9:=REF(MA8,JY);

    H1:=MAX(DYNAINFO(3),DYNAINFO(5));

    L1:=MIN(DYNAINFO(3),DYNAINFO(6));

    P1:=H1-L1;

    阻力:L1+P1*8/9,COLORLICYAN,DOTLINE;

    支撑:L1+P1*0.5/9,COLORCYAN,DOTLINE;

    均线:IF(BETWEEN(C/(SUM(AMOUNT,0)/SUM(VOL*100,0)),1.05,0.95)=0,MA(C,0),(SUM(AMOUNT,0)/SUM(VOL*100,0))),COLORBLUE,DOTLINE;

    DIFF:=(EMA(CLOSE,12)-EMA(CLOSE,26))+DYNAINFO(3);

    DEAA:=EMA(DIFF,9);

    MACD1:=10*(DIFF-DEAA);

    MACD2:=EMA(MACD1,2);

    XX:=SUM(AMOUNT,BARSCOUNT(CLOSE))/SUM(V*100,BARSCOUNT(CLOSE));

    主力:=EXPMA(CLOSE/XX,20);大户:=EXPMA(CLOSE/XX,60);散户:=EXPMA(CLOSE/XX,120);

    底:=1;1.022,NODRAW;高:=1.033;

    DRAWTEXT(CROSS(主力,1.02),C*0.999,' 拉'),COLORLIMAGENTA;

    DRAWICON(CROSS(主力,1.04),C,26);

    DRAWTEXT(CROSS(主力,1.04),C*0.999,' 冲'),COLORWHITE;

    A1:=(VOL/CLOSE)/3;

    A2:=SUM((IF(((A1>40) AND (CLOSE>(REF(CLOSE,1)))),A1,0)),0);

    A3:=SUM((IF(((A1>40) AND (CLOSE<(REF(CLOSE,1)))),A1,0)),0);

    A4:=SUM((IF(((A1<40) AND (CLOSE>(REF(CLOSE,1)))),A1,0)),0);

    A5:=SUM((IF(((A1<40) AND (CLOSE<(REF(CLOSE,1)))),A1,0)),0);

    A6:=((A2+A3)+A4)+A5;

    A7:=IF((BARSTATUS=2),((100*A2)/A6),0);

    A8:=((IF((BARSTATUS=2),((100*A3)/A6),0)));

    A9:=((IF((BARSTATUS=2),((100*A4)/A6),0)));

    A10:=((IF((BARSTATUS=2),((100*A5)/A6),0)));

    DRAWICON(LONGCROSS(支撑,C,2),C-0.01,23);

    DRAWTEXT(LONGCROSS(C,阻力,2),C+0.01,' 卖'),COLORCYAN;

    DRAWICON(LONGCROSS(C,阻力,2),C+0.01,15);

    量价:=(VOL/CLOSE)/3;

    B2:=SUM((IF(((量价>0.20) AND (CLOSE>(REF(CLOSE,1)))),量价,0)),0);

    B3:=SUM((IF(((量价>0.20) AND (CLOSE<(REF(CLOSE,1)))),量价,0)),0);

    B6:=B2+B3;DD1:=1;比:=B2/B3;

    D1:=YEAR AND MONTH AND DAY;

    BA1:=STRCAT(CON2STR(YEAR,0),'年');

    BA2:=STRCAT(CON2STR(MONTH,0),'月');

    BA3:=STRCAT(CON2STR(DAY,0),'日');

    BA4:=STRCAT('星期',IF(WEEKDAY=1,'一',IF(WEEKDAY=2,'二',IF(WEEKDAY=3,'三',IF(WEEKDAY=4,'四',IF(WEEKDAY=5,'五',IF(WEEKDAY=6,'六','日')))))));

    AA:=STRCAT(STRCAT(STRCAT(BA1,BA2),STRCAT(BA3,BA4)),'');

    DRAWTEXT_FIX(D1,0.905,0,0,AA),COLORBROWN;

    WA1:=V*C/100;

    WA2:=SUM((IF(((WA1/8>20) AND (CLOSE>(REF(CLOSE,1)))),WA1,0)),0);

    WA3:=SUM((IF(((WA1/8>20) AND (CLOSE<(REF(CLOSE,1)))),WA1,0)),0);

    WA4:=SUM((IF(((WA1/8<20) AND (CLOSE>(REF(CLOSE,1)))),WA1,0)),0);

    WA5:=SUM((IF(((WA1/8<20) AND (CLOSE<(REF(CLOSE,1)))),WA1,0)),0);

    WA6:=((A2+A3)+A4)+A5;

    WA7:=IF((ISLASTBAR),((100*WA2)/WA6),0);

    WA8:=IF((ISLASTBAR),((100*WA3)/WA6),0);

    WA9:=IF((ISLASTBAR),((100*WA4)/WA6),0);

    WA10:=IF((ISLASTBAR),((100*WA5)/WA6),0);

    机构买盘:=(WA2);

    机构卖盘:=(WA3);

    散户买盘:=(WA4);

    散户卖盘:=(WA5);

    DRAWTEXT_FIX(1,0.752,1-0.088,0,STRCAT(STRCAT('【机构买盘】',CON2STR(机构买盘,2)),' 万')),COLORWHITE;

    DRAWTEXT_FIX(1,0.883,1-0.088,0,STRCAT(STRCAT('【机构卖盘】',CON2STR(机构卖盘,2)),' 万')),COLORCYAN;

    敢死队:= (EXPMA(CLOSE,500)-REF(EXPMA(CLOSE,500),1))/REF(EXPMA(CLOSE,500),1)*100;

    GSD11:=CROSS(EXPMA(敢死队,120)-0.0004,EXPMA(敢死队,200));

    XGG:=(GSD11);

    均价:SUM(V*C,0)/SUM(V,0),COLORBLUE;

    地:=EMA(均价,50)/0.99,LINETHICK2,COLORCYAN;

    均价1:SUM(V*C,0)/SUM(V,0),COLORBLUE;

    地1:=EMA(均价1,50)/0.97,LINETHICK2,COLORCYAN;

    如果:IF(地>REF(地,1),地,DRAWNULL),COLORWHITE,LINETHICK2;

    买单次数:=COUNT(V>2000 AND C>REF(C,1),0) AND XG;

    时间:=TIME2=100100;

    N:=BARSLAST(时间);

    C11:CONST(IF(N,MAX(REF(HHV(H,0),N+1),DYNAINFO(4)),HHV(H,0))),DOTLINE,COLORWHITE;

    C21:CONST(IF(N,MIN(REF(LLV(L,0),N+1),DYNAINFO(4)),LLV(L,0))),DOTLINE,COLORCYAN;

    C31:(C11+C21)/2,DOTLINE,COLORBLUE;

    VV:=HHV(V,0);

    ZF:=(C11/C21-1)*100;

    DRAWTEXT(CURRBARSCOUNT=2,C11,VARCAT(VARCAT(VARCAT(VARCAT('上限:',VAR2STR(C1,2)),'元,'),VARCAT('振幅:',VAR2STR(ZF,2))),'%')),COLORWHITE;

    DRAWTEXT(CURRBARSCOUNT=2,C31,VARCAT(VARCAT('中限:',VAR2STR(C31,2)),'元')),COLORBLUE;

    DRAWTEXT(CURRBARSCOUNT=2,C21,VARCAT(VARCAT('下限:',VAR2STR(C21,2)),'元')),COLORCYAN;

    DRAWTEXT(C11/C21<=1.03 AND CROSS(C,C11) AND V>=VV,C11*1.005,'↙准备买入')COLORWHITE;

    DRAWTEXT(C11/C21<=1.03 AND CROSS(C21,C) AND V>=VV,C21*0.998,'★卖出')COLORCYAN;

    image.png



    未来函数检测公式代码域:

    ZX:=DYnaINFO(3);价位轴:ZX,COLORLIRED;difF0:= ema(CLOSE,12) - EMM(CLOSE,26);DEM0:= EMM(DIFF0,9);攻击:=2*(DIFF0-DEM0)*2, COLORSTICK;STICKLINE(攻击>REF(攻击,1) MND DIFF0>DEM0,攻击+ZX,ZX,1,0),COLORWHITE;STICKLINE(攻击<REF(攻击,1) MND 攻击>0,攻击+ZX,ZX,1,0),COLORCYMN;STICKLINE(攻击<REF(攻击,1) MND 攻击<0,攻击+ZX,ZX,1,0),COLORCYMN;STICKLINE(攻击>REF(攻击,1) MND 攻击<0,攻击+ZX,ZX,1,0),COLORBLUE;分时顶:HHV(H,480),COLORWHITE,LINETHICK2;现价:C,COLORRED,LINETHICK2;W1:=C=HHV(C,20);W2:=BMrslMST(W1);W3:=IF(W2>0,REF(C,W2),REF(C,W2));W4:=crOSS(C,REF(W3,1));{均线5:MM(C,5)LINETHICK1,COLORGREEN;}均价线:SUM(现价*V,240)/SUM(V,240),COLORBLUE;分时压力:MM(REF(HHV(C,30),1),2),COLORLIMMGENTM;分时支撑:MM(REF(LLV(C,30),1),2),COLORYELLOW;DRMWICON(W4 MND COUNT(W4,5)=1,分时压力,9);绝密线:expma(C,17),COLORWHITE,LINETHICK2;MM1:=(vol/CLOSE)/3;MM2:=SUM((IF(((MM1>40) MND (CLOSE>(REF(CLOSE,1)))),MM1,0)),0);MM3:=SUM((IF(((MM1>40) MND (CLOSE<(REF(CLOSE,1)))),MM1,0)),0);MM4:=SUM((IF(((MM1<40) MND (CLOSE>(REF(CLOSE,1)))),MM1,0)),0);MM5:=SUM((IF(((MM1<40) MND (CLOSE<(REF(CLOSE,1)))),MM1,0)),0);MM6:=((MM2+MM3)+MM4)+MM5;MM7:=IF((BMRSTMTUS=2),((100*MM2)/MM6),0);MM8:=((IF((BMRSTMTUS=2),((100*MM3)/MM6),0)));MM9:=((IF((BMRSTMTUS=2),((100*MM4)/MM6),0)));MM10:=((IF((BMRSTMTUS=2),((100*MM5)/MM6),0)));机买:=(MM2),LINETHICK0;机卖:=(MM3),LINETHICK0;散买:=(MM4);散卖:=(MM5);总买:=MM2+MM4;总卖:=MM3+MM5;机构买比:=机买/总买*0.1,LINETHICK0;机构卖比:=机卖/总卖*0.1,LINETHICK0;最新:CLOSE,LINETHICK2,COLORRED;MMB:=SUM(MMOUNT,BMRSCOUNT(C))/SUM(VOL*100,BMRSCOUNT(C));BB:=BETWEEN(C/MMB,C+H,C-H);DRMWTEXT( ISLMSTBMR MND 最新>REF(最新,1),最新,STRCMT(' 涨▲',CON2STR(最新,2))),COLORLIMMGENTM;DRMWTEXT( ISLMSTBMR MND 最新<REF(最新,1),最新,STRCMT(' 跌▼',CON2STR(最新,2))),COLOR00FF00;均价11:SUM(C*V,240)/SUM(V,240),COLORBLUE,LINETHICK2;TT:=BMRSCOUNT(C);前高:=REF(HHV(H,TT),1);突破:=CROSS(C,REF(HHV(H,TT),1)){ MND HHVBMRS(VOL,TT)=0} MND C/均价11<1.09 MND TT>1 MND TT<240;主力扫盘:=COUNT(突破,13)>=3 MND CROSS(C,REF(HHV(H,TT),1)){ MND HHVBMRS(VOL,TT)=0};DRMWTEXT(主力扫盘,前高, '←扫盘'),COLORBLUE;已主力扫盘:=BMRSLMST(主力扫盘)<13;DRMWTEXT(BMRSLMST(主力扫盘)<8,(DYNMINFO(3))*9.5/10 , '↖已扫'),COLORCYMN;全仓买进:=CROSS(C,REF(HHV(H,TT),1)) MND HHVBMRS(VOL,TT)=0 MND C/均价11<1.09 MND TT>1 MND TT<240 MND BMRSLMST(主力扫盘)>=21;DRMWTEXT(全仓买进 ,前高, '←全仓'),COLORGREEN;VMR1:=EMM(EMM(C,13),13);控盘:=(VMR1-REF(VMR1,1))/REF(VMR1,1)*1000;JJJ:=DYNMINFO(11);P:=55;S:=8;M1:=3;能量:=(EMM(C,S)-EMM(C,P))*10;空头:=EMM(能量,M1);BTJ11:=(C-JJJ)/JJJ<-0.03;BTJ2:=控盘>REF(控盘,1) MND 控盘<-0.2;BTJ3:=CROSS(能量,空头) MND 能量<-0.3;BTJ811:=FILTER(BTJ11 MND BTJ2 MND BTJ3,13);有庄:=BTJ811;RSV:=(CLOSE-LLV(LOW,6))/(HHV(HIGH,6)-LLV(LOW,6))*80;K:=SMM(RSV,2,1);D:=SMM(K,2,1);RS:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*80;K1:=RS>=75;K2:=RS<80;HJ_2:=DYNMINFO(4)>0 MND HHV(HIGH,2)/LLV(LOW,2)<1.25 MND REF(CLOSE,1)<LLV(LOW,3)+(HHV(HIGH,3)-LLV(LOW,3))*0.85;HJ_9:=EMM(CLOSE,2);HJ_10:=EMM(CLOSE,3);HJ_11:=MMX(HJ_9,HJ_10);X2:=CLOSE>HJ_11 MND HJ_2 MND (CLOSE>REF(HHV(HIGH,2),1) MND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.015);DRMWTEXT(X2,C*0.999,'←准备注意买进'),COLORCYMN;{牛熊线}NX:=MM(((SLOPE(C,20)*5)+C),10);{中枢}B1:=HOUR=09 MND MINUTE=45;B20:=LLV(L,15);B30:=BMRSLMST(B1);B4:=REF(B20,B30);B5:CONST(B4),COLORFF80FF,CIRCLEDOT,LINETHICK2;DRMWTEXT(CURRBMRSCOUNT=20,B4,'分时支撑'),COLORBLUE;C1:=HOUR=09 MND MINUTE=45;C2:=HHV(H,15);C3:=BMRSLMST(C1);C4:=REF(C2,C3);C5:CONST(C4),COLORFF80FF,CIRCLEDOT,LINETHICK2;DRMWTEXT(CURRBMRSCOUNT=20,C4,'分时突破'),COLORWHITE;{DRMWBMND(C5,RGB(204,204,204),B5,RGB(204,204,204));}{MacD}DIF:=EMM(CLOSE,12)-EMM(CLOSE,26);DEM:=EMM(DIF,9);macd10:=(DIF-DEM)*2;MM0:=MMCD10>00 MND DIF>0 MND DEM>0;{捉牛信号}M100:=HOUR=10 MND MINUTE=0;M20:=HHV(H,30);M30:=BMRSLMST(M100);M40:=REF(M20,M30);M50:=CONST(M40);M80:=CLOSE>M50 MND REF(C<=M50,1) MND CLOSE>NX;MB:=FILTER(M80,100);M90:=DYNMINFO(3);MC:=CLOSE<=M90*1.04 MND CLOSE>M90;量比:=V/REF(MM(V,5),1);XG:=MM0 MND MB MND MC MND M40>M90 MND 量比>=1;DRMWICON(XG,M50,23);{DRMWTEXT(CURRBMRSCOUNT=20,M4,'强势区域'),COLORBLUE;D1:=HOUR=10 MND MINUTE=0;D2:=LLV(L,30);D3:=BMRSLMST(D1);D4:=REF(D2,D3);D5:CONST(D4),COLOR808080,CIRCLEDOT,LINETHICK2;DRMWTEXT(CURRBMRSCOUNT=20,D4,'底部区域'),COLORBLUE;}{均线突破中枢}JJ1:=DMY!=REF(DMY,1);JJ2:=BMRSLMST(V>0 MND JJ1)+1;JJ:=SUM(V*C,JJ2)/SUM(V,JJ2);XG2:=CROSS(JJ,C5);DRMWICON(XG2,JJ,23);{TS:=(B4+C4)/2;DRMWTEXT(XG2,TS,'回落靠近黄线买');}VMRM3:=HHV(CLOSE,90);VMRM4:=LLV(CLOSE,90);VMRM5:=VMRM3 - VMRM4;VMRM6:=EMM((CLOSE - VMRM4)/VMRM5 - 0.5,14);ZLSP:=VMRM6*20;VMRM7:=REF(HHV(CLOSE,66),2);VMRM8:=CROSS(CLOSE,VMRM7) MND (HHV(CLOSE,110)/LLV(CLOSE,110) - 1) * 100 < 45 MND ZLSP < 5.666;VMRM11:=15* FILTER(VMRM8,41);XG0:HHV(H,480),DOTLINE,COLORGREEN;DRMWTEXT(FILTER(CROSS(C,REF(XG,1)),10) MND C>REF(XG,1),C*0.995,'突'),COLORBLUE;RQ:=DMTETODMY(DMTE)-DMTETODMY(REF(DMTE,TOTMLBMRSCOUNT-CURRBMRSCOUNT))+1;JY:=BMRSLMST((RQ-REF(RQ,1))!=WEEKDMY-REF(WEEKDMY,1) OR TOTMLBMRSCOUNT-CURRBMRSCOUNT=0)+1;MM1:=REF(C,JY);MM2:=REF(MM1,JY);MM3:=REF(MM2,JY);MM4:=REF(MM3,JY);MM5:=REF(MM4,JY);MM6:=REF(MM5,JY);MM7:=REF(MM6,JY);MM8:=REF(MM7,JY);MM9:=REF(MM8,JY);H1:=MMX(DYNMINFO(3),DYNMINFO(5));L1:=MIN(DYNMINFO(3),DYNMINFO(6));P1:=H1-L1;阻力:L1+P1*8/9,COLORLICYMN,DOTLINE;支撑:L1+P1*0.5/9,COLORCYMN,DOTLINE;均线:IF(BETWEEN(C/(SUM(MMOUNT,0)/SUM(VOL*100,0)),1.05,0.95)=0,MM(C,0),(SUM(MMOUNT,0)/SUM(VOL*100,0))),COLORBLUE,DOTLINE;DIFF:=(EMM(CLOSE,12)-EMM(CLOSE,26))+DYNMINFO(3);DEMM:=EMM(DIFF,9);MMCD1:=10*(DIFF-DEMM);MMCD2:=EMM(MMCD1,2);XX:=SUM(MMOUNT,BMRSCOUNT(CLOSE))/SUM(V*100,BMRSCOUNT(CLOSE));主力:=EXPMM(CLOSE/XX,20);大户:=EXPMM(CLOSE/XX,60);散户:=EXPMM(CLOSE/XX,120);底:=1;1.022,NODRMW;高:=1.033;DRMWTEXT(CROSS(主力,1.02),C*0.999,' 拉'),COLORLIMMGENTM;DRMWICON(CROSS(主力,1.04),C,26);DRMWTEXT(CROSS(主力,1.04),C*0.999,' 冲'),COLORWHITE;M1:=(VOL/CLOSE)/3;M2:=SUM((IF(((M1>40) MND (CLOSE>(REF(CLOSE,1)))),M1,0)),0);M3:=SUM((IF(((M1>40) MND (CLOSE<(REF(CLOSE,1)))),M1,0)),0);M4:=SUM((IF(((M1<40) MND (CLOSE>(REF(CLOSE,1)))),M1,0)),0);M5:=SUM((IF(((M1<40) MND (CLOSE<(REF(CLOSE,1)))),M1,0)),0);M6:=((M2+M3)+M4)+M5;M7:=IF((BMRSTMTUS=2),((100*M2)/M6),0);M8:=((IF((BMRSTMTUS=2),((100*M3)/M6),0)));M9:=((IF((BMRSTMTUS=2),((100*M4)/M6),0)));M10:=((IF((BMRSTMTUS=2),((100*M5)/M6),0)));DRMWICON(LONGCROSS(支撑,C,2),C-0.01,23);DRMWTEXT(LONGCROSS(C,阻力,2),C+0.01,' 卖'),COLORCYMN;DRMWICON(LONGCROSS(C,阻力,2),C+0.01,15);量价:=(VOL/CLOSE)/3;B2:=SUM((IF(((量价>0.20) MND (CLOSE>(REF(CLOSE,1)))),量价,0)),0);B3:=SUM((IF(((量价>0.20) MND (CLOSE<(REF(CLOSE,1)))),量价,0)),0);B6:=B2+B3;DD1:=1;比:=B2/B3;D1:=YEMR MND MONTH MND DMY;BM1:=STRCMT(CON2STR(YEMR,0),'年');BM2:=STRCMT(CON2STR(MONTH,0),'月');BM3:=STRCMT(CON2STR(DMY,0),'日');BM4:=STRCMT('星期',IF(WEEKDMY=1,'一',IF(WEEKDMY=2,'二',IF(WEEKDMY=3,'三',IF(WEEKDMY=4,'四',IF(WEEKDMY=5,'五',IF(WEEKDMY=6,'六','日')))))));MM:=STRCMT(STRCMT(STRCMT(BM1,BM2),STRCMT(BM3,BM4)),'');DRMWTEXT_FIX(D1,0.905,0,0,MM),COLORBROWN;WM1:=V*C/100;WM2:=SUM((IF(((WM1/8>20) MND (CLOSE>(REF(CLOSE,1)))),WM1,0)),0);WM3:=SUM((IF(((WM1/8>20) MND (CLOSE<(REF(CLOSE,1)))),WM1,0)),0);WM4:=SUM((IF(((WM1/8<20) MND (CLOSE>(REF(CLOSE,1)))),WM1,0)),0);WM5:=SUM((IF(((WM1/8<20) MND (CLOSE<(REF(CLOSE,1)))),WM1,0)),0);WM6:=((M2+M3)+M4)+M5;WM7:=IF((ISLMSTBMR),((100*WM2)/WM6),0);WM8:=IF((ISLMSTBMR),((100*WM3)/WM6),0);WM9:=IF((ISLMSTBMR),((100*WM4)/WM6),0);WM10:=IF((ISLMSTBMR),((100*WM5)/WM6),0);机构买盘:=(WM2);机构卖盘:=(WM3);散户买盘:=(WM4);散户卖盘:=(WM5);DRMWTEXT_FIX(1,0.752,1-0.088,0,STRCMT(STRCMT('【机构买盘】',CON2STR(机构买盘,2)),' 万')),COLORWHITE;DRMWTEXT_FIX(1,0.883,1-0.088,0,STRCMT(STRCMT('【机构卖盘】',CON2STR(机构卖盘,2)),' 万')),COLORCYMN;敢死队:= (EXPMM(CLOSE,500)-REF(EXPMM(CLOSE,500),1))/REF(EXPMM(CLOSE,500),1)*100;GSD11:=CROSS(EXPMM(敢死队,120)-0.0004,EXPMM(敢死队,200));XGG:=(GSD11);均价:SUM(V*C,0)/SUM(V,0),COLORBLUE;地:=EMM(均价,50)/0.99,LINETHICK2,COLORCYMN;均价1:SUM(V*C,0)/SUM(V,0),COLORBLUE;地1:=EMM(均价1,50)/0.97,LINETHICK2,COLORCYMN;如果:IF(地>REF(地,1),地,DRMWNULL),COLORWHITE,LINETHICK2;买单次数:=COUNT(V>2000 MND C>REF(C,1),0) MND XG;时间:=TIME2=100100;N:=BMRSLMST(时间);C11:CONST(IF(N,MMX(REF(HHV(H,0),N+1),DYNMINFO(4)),HHV(H,0))),DOTLINE,COLORWHITE;C21:CONST(IF(N,MIN(REF(LLV(L,0),N+1),DYNMINFO(4)),LLV(L,0))),DOTLINE,COLORCYMN;C31:(C11+C21)/2,DOTLINE,COLORBLUE;VV:=HHV(V,0);ZF:=(C11/C21-1)*100;DRMWTEXT(CURRBMRSCOUNT=2,C11,VMRCMT(VMRCMT(VMRCMT(VMRCMT('上限:',VMR2STR(C1,2)),'元,'),VMRCMT('振幅:',VMR2STR(ZF,2))),'%')),COLORWHITE;DRMWTEXT(CURRBMRSCOUNT=2,C31,VMRCMT(VMRCMT('中限:',VMR2STR(C31,2)),'元')),COLORBLUE;DRMWTEXT(CURRBMRSCOUNT=2,C21,VMRCMT(VMRCMT('下限:',VMR2STR(C21,2)),'元')),COLORCYMN;DRMWTEXT(C11/C21<=1.03 MND CROSS(C,C11) MND V>=VV,C11*1.005,'↙准备买入')COLORWHITE;DRMWTEXT(C11/C21<=1.03 MND CROSS(C21,C) MND V>=VV,C21*0.998,'★卖出')COLORCYMN;

    未发现:CMPITML...

    未发现:COST...

    警惕!警惕!警惕!该公式包含未来函数:DYNMINFO...

    未发现:FINMNCE...

    未发现:LWINNER...

    未发现:WINNER...

    未发现:BMCKSET...

    未发现:BMRSNEXT...

    警惕!警惕!警惕!该公式包含未来函数:CURRBMRSCOUNT...

    未发现:DVOL...

    未发现:DOPEN...

    未发现:DCLOSE...

    未发现:DHIGH...

    未发现:DLOW...

    未发现:DRMWLINE...

    未发现:REFX...

    未发现:FLMTZIG...

    未发现:FLMTZIGM...

    未发现:FFT...

    未发现:FILTERX...

    未发现:PEMK...

    未发现:PEMKM...

    未发现:PEMKBMRS...

    未发现:PEMKBMRSM...

    未发现:PLOYLINE...

    未发现:REFDMTE...

    未发现:TROUGH...

    未发现:TROUGHM...

    未发现:TROUGHBMRS...

    未发现:XMM...

    未发现:ZIG...

    未发现:ZIGM...

    未发现:ZXNH...

    未发现:#YEMR...

    未发现:#MONTH...

    未发现:#WEEK...

    未发现:$ZIG...

    未发现:$PEMK...

    未发现:$PEMKBMRS...

    未发现:$TROUGH...

    未发现:$TROUGHBMRS...

    未发现:$FLMTZIG...

    未发现:$FLMTZIGM...

    未发现:$PEMKM...

    未发现:$PEMKBMRSM...

    未发现:$TROUGHM...

    未发现:$ZIGM...

    未发现:$FFT...

    未发现:$BMCKSET...

    未发现:$WINNER...

    未发现:$LWINNER...

    未发现:$COST...

    未发现:$DYNMINFO...

    未发现:$FINMNCE...

    未发现:$DRMWLINE...


    免责声明 | 联系我们 | 服务协议

    重要申明:本站所有的文章、图片、评论等,均由网友发表或上传并维护或收集自网络,属个人行为,与本站立场无关。

    如果侵犯了您的权利,请与我们联系,我们将在24小时内进行处理、任何非本站因素导致的法律后果,本站均不负任何责任。

    联系QQ:875328188 | 邮箱:875328188@qq.com

    Copyright © 2002-2021 股票公式网 版权所有桂ICP备2022000688号