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

    正文概述    2024-05-04 04:34:59  


    通达信公式源码概况:


    指标类别:通达信公式


    授权方式: 免费版


    指标评级: ★★★★★


    指标分类: 策略


    画线方法: 副图



    一、通达信打开预警指标公式


     

    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))); 

    买盘:(A2),LINETHICK3,COLORFF55FF; 

    机构卖盘:(A3),LINETHICK3,COLORFFFF55; 

    买盘:(A4),COLOR5555FF; 

    散户卖盘:(A5),COLOR55FF55; 

    DRAWTEXTREL(1003,870, 机构买盘 ),LINETHICK2,COLORFF55FF; 

    DRAWTEXTREL(1003,570, 机构卖盘 ),LINETHICK2,COLORFFFF55; 

    DRAWTEXTREL(1003,320, 散户买盘 ),LINETHICK2,COLOR5555FF; 

    DRAWTEXTREL(1003,50, 散户卖盘 ),LINETHICK2,COLOR55FF55; 

    IF((BARSTATUS=2))THENDRAWTEXTREL(1020,750, +FLOOR(A7)+ % ),LINETHICK2,COLORFF55FF; 

    IF((BARSTATUS=2))THENDRAWTEXTREL(1020,460, +FLOOR(A8)+ % ),LINETHICK2,COLORFFFF55; 

    IF((BARSTATUS=2))THENDRAWTEXTREL(1020,200, +FLOOR(A9)+ % ),LINETHICK2,COLOR5555FF; 

    IF((BARSTATUS=2))THENDRAWTEXTREL(1020,-50, +FLOOR(A10)+ % ),LINETHICK2,COLOR55FF55; 

    A1:=SUM(IF(CLOSE REF(CLOSE,1),VOL/CAPITAL*100,IF(CLOSE REF(CLOSE,1),-VOL/CAPITAL*100,0)),0); 

    成交额:=V*C/100{万元}; 

    A2:=SUM((IF(((成交额/8 18)AND(CLOSE (REF(CLOSE,1)))),成交额,0)),0); 

    A3:=SUM((IF(((成交额/8 18)AND(CLOSE (REF(CLOSE,1)))),成交额,0)),0); 

    A4:=SUM((IF(((成交额/8 18)AND(CLOSE (REF(CLOSE,1)))),成交额,0)),0); 

    A5:=SUM((IF(((成交额/8 18)AND(CLOSE (REF(CLOSE,1)))),成交额,0)),0); 

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

    RATE:=A2/A6*100; 

    {换手限制} 

    VOLA:=SUM(VOL,4)/CAPITAL*100 0.22; 

    {开盘量限制} 

    HH1:=IF(CAPITAL 5000000ANDREF(V,3)/CAPITAL*100 0.45,0,1); 

    HH2:=IF(CAPITAL 5000000ANDCAPITAL 3000000ANDREF(V,3)/CAPITAL*100 0.6,0,1); 

    HH3:=IF(CAPITAL 3000000ANDCAPITAL 1000000ANDREF(V,3)/CAPITAL*100 0.75,0,1); 

    HH4:=IF(CAPITAL 1000000ANDREF(V,3)/CAPITAL*100 0.9,0,1); 

    SUMVOL:=HH1ANDHH2ANDHH3ANDHH4; 

    {开盘量幅限制} 

    MM3:=IF(REF(VOL,3)/REF(VOL,2) 3.5OR(REF(VOL,3)/REF(VOL,2) 2.8 

    ORREF(V,3)/CAPITAL*100 0.09ANDREF(C,3) DYNAINFO(4)),0,1); 

    MM4:=IF(REF(VOL,4)/REF(VOL,3) 3.5OR(REF(VOL,4)/REF(VOL,3) 2.8ANDREF(C,4) DYNAINFO(4)),0,1); 

    MM5:=IF(REF(VOL,5)/REF(VOL,4) 3.5OR(REF(VOL,5)/REF(VOL,4) 2.8ANDREF(C,5) DYNAINFO(4)),0,1); 

    NN3:=COUNT(RATE=100,3)=3ANDBARSCOUNT(TRADETIME(0)=3)ANDMM3; 

    NN4:=COUNT(RATE=100,3)=3ANDBARSCOUNT(TRADETIME(0)=4)ANDMM4; 

    NN5:=COUNT(RATE=100,3)=3ANDBARSCOUNT(TRADETIME(0)=5)ANDMM5; 

    {量形异常过滤} 

    量形限制:=IF(VOL/REF(HHV(VOL,3),1) 1.56ORVOL/REF(VOL,1) 1.6ORVOL/REF(VOL,1) 0.5OR 

    REF(VOL,1)/REF(VOL,2) 1.8,0,1); 

    {综合限制} 

    NN:(NN3ORNN4ORNN5)ANDVOLAANDSUMVOLAND量形限制; 

    :=WINNER(C)*100; 

    散户筹码:=(WINNER(C*1.1)-WINNER(C*0.9))*100; 

    VAR2:=CROSS(主力筹码,散户筹码); 

    VARA:=REF(LOW,1); 

    VARB:=SMA(ABS(LOW-VARA),3,1)/SMA(MAX(LOW-VARA,0),3,1)*100; 

    VARC:=EMA(IF(CLOSE*1.3,VARB*10,VARB/10),3); 

    VARD:=LLV(LOW,30); 

    VARE:=HHV(VARC,30); 

    VARF:=IF(MA(CLOSE,58),1,0); 

    VARG:=EMA(IF(LOW =VARD,(VARC+VARE*2)/2,0),3)/618*VARF; 

    VARH:=IF(VARG 28,28,VARG); 

    吸筹:STICKLINE(VARH -120,0,VARH,6,1),COLOR0FFFFF; 

    备钱:IF(吸筹,1,0),COLOR0FFFFF; 

    RSV:=(((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9)))*100); 

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

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

    J:=3*K-2*D; 

    X:=LLV(J,2)=LLV(J,8); 

    买入时机:IF(CROSS(J,3),65,0),COLORFF00FF,LINETHICK3; 

    DRAWTEXT(买入时机,70.1, 跟庄 ),COLOR00FF00; 

    VA:=(2*C+H+L)/4; 

    VB:=LLV(L,5); 

    VC:=HHV(H,5); 

    红线上穿买:EMA((VA-VB)/(VC-VB)*100,5),COLORRED; 

    红线下穿卖:EMA(红线上穿买,3),COLORFFFF00; 

    :3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),COLOR00FFFF; 

    秘密买点:IF(趋势 =3,20,0),COLOR00FF00,LINETHICK3; 

    机构建仓:IF(趋势 5,40,0),COLORFFFFFF,LINETHICK3; 

    DIFF:=EMA(CLOSE,5)-EMA(CLOSE,7); 

    DEA:=EMA(DIFF,5); 

    VAR1:=2*(DIFF-DEA); 

    VAR3:=CROSS(VAR1,0); 

    VAR3ANDVAR2; 

    A1:=VOL=HHV(VOL,120); 

    A2:=CLOSE/OPEN 1.05; 

    TJ:=A1ANDA2; 

    TJAND(REF(BARSLAST(TJ),1) 80ORBARSSINCE(TJ)=0); 

    A:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100)/3; 

    A1:=(((CLOSE-MA(CLOSE,12))/MA(CLOSE,12))*100); 

    A2:=(((CLOSE-MA(CLOSE,24))/MA(CLOSE,24))*100); 

    B:=(((CLOSE-MA(CLOSE,6))/MA(CLOSE,6))*100); 

    B1:=(((B+(2*B))+(3*B))/6); 

    B2:=MA(B1,3); 

    D:=(((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9)))*100); 

    D1:=SMA(D,3,1); 

    D2:=SMA(D1,3,1); 

    A3:=((3*D1)-(2*D2)); 

    B5:=(CROSS(A3,0)AND(B2 =(0-7))); 

    B3:=MA( 999999$CLOSE ,1)-MA( 999999$CLOSE ,6); 

    D3:=B3 0; 

    A4:=MA(CLOSE,1)-MA(CLOSE,6); 

    B4:=A4 0; 

    D4:=COUNT(B4,8)-COUNT(D3,8); 

    A5:=D4 =4; 

    打开钱袋装钱:B5ANDA -9ANDA REF(A,1)ANDCOUNT(A5,13) =3ANDCOUNT(C O,5) =2;


    image.png

    公式解读:



    [源码注释]通达信公式动态公式解读

    公式解读:

    公式解读:


    每日通达信公式解答:

     

    公式源码 

    A1:=O CANDC REF(C,1); 

    A2:=C OANDC REF(C,1); 

    A3:=O REF(C,1)ANDC REF(O,1)ANDL REF(L,1)ANDV REF(V,1); 

    A4:=MA(c,13) =ref(ma(c,13),1); 

    A2ANDA3ANDREF(A1,1)anda4; 

    选股公式翻译 

    A1赋值:收阴线AND收盘价 1日前的收盘价 

    A2赋值:收阳线AND收盘价 1日前的收盘价 

    A3赋值:开盘价 1日前的收盘价AND收盘价 1日前的开盘价AND最低价 1日前的最低价AND(手) 1日前的成交量(手) 

    A4赋值:收盘价的13日简单移动平均 =1日前的收盘价的13日简单移动平均 

    A2ANDA3AND1日前的A1ANDA4


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信涨停打开预警指标公式(通达信公式) 加入收藏