最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信量能指标公式源码 通达信量能为王指标公式

    正文概述    2024-05-04 04:26:44  


    通达信指标公式源码概况:


    指标类别: 通达信指标公式


    授权方式: 免费版


    指标评级: ★★★★★


    指标分类: 策略


    画线方法: 副图



    通达信指标公式源码 

     

    ZH:100; 

    NZ:=(AMOUNT/CLOSE)/HHV((AMOUNT/CLOSE),26)*100; 

    STICKLINE((NZ=5),0,NZ,2,0),COLORFFFFFF; 

    STICKLINE((NZ5)AND(NZ=20),0,NZ,2,0),COLORFFBB00; 

    STICKLINE((NZ20)AND(NZ=40),0,NZ,2,0),COLORFF00FF; 

    STICKLINE((NZ40),0,NZ,2,0),COLOR0000FF; 

    饱和度:NZ; 

    OL:0; 

    P1:=5;P2:=120; 

    VAR1:=1; 

    VAR2:=V; 

    :VAR2*100*VAR1POINTDOTCOLORFFFFFF; 

    :=VAR2*100/CAPITAL,POINTDOT,COLORYELLOW; 

    A2:=LLV(C,23); 

    A3:=HHV(C,23); 

    月振幅:A3*100/A2-100; 

    MA1:MA(VAR2*100,P1)*VAR1COLORRED; 

    MA2:MA(VAR2*100,P2)*VAR1COLORYELLOW; 

    MA3:=0; 

    {MA(VAR2,5);} 

    V1:=MA(VAR2*100,5); 

    A1:=LLV(VAR2,100); 

    B1:=LLV(CLOSE,100); 

    C1:=HHV(VAR2,100)*VAR1; 

    D1:=MA(CLOSE,130)*VAR1; 

    E1:=REF(D1,2)*VAR1; 

    H1:=HHV(VAR2,30)*80; 

    B:=C; 

    O1:=REF(C,1); 

    MA5:=MA(VOL*100,P1); 

    MA10:=MA(VOL*100,P2); 

    AAA1:=REF(B,1); 

    AAA2:=REF(OPEN,1); 

    STICKLINE(C=O1,0,成交量*1.0,2,0),COLOR0000FF; 

    STICKLINE(C=O1,0,MIN(REF(VAR2,1),VAR2)*100,2,0),COLOR00FFFF; 

    STICKLINE(CO1,0,成交量*1.0,2,0),COLORFFFF66; 

    STICKLINE(CO1,0,MIN(REF(VAR2,1),VAR2)*100,2,0),COLORCC0033; 

    VAR2:=HIGH-LOW; 

    VAR3:=ABS(OPEN-CLOSE); 

    VAR4:=HIGH-IF(CLOSEOPEN,CLOSE,OPEN); 

    VAR5:=IF(CLOSEOPEN,OPEN,CLOSE)-LOW; 

    VAR6:=VAR3/VAR2*VOL; 

    VAR7:=VAR4/VAR2*VOL; 

    VAR8:=VAR5/VAR2*VOL; 

    VAR9:=IF(VOL/CAPITAL0.001,1,EXP(ABS(LOG(VOL/CAPITAL*100)))); 

    VARA:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100; 

    VARB:=MA(CLOSE,5)MA(CLOSE,10)ANDMA(CLOSE,10)MA(CLOSE,30)ANDMA(CLOSE,30)MA(CLOSE,60); 

    VARC:=MA(CLOSE,5)MA(CLOSE,10)ANDMA(CLOSE,10)MA(CLOSE,30); 

    多头成交:STICKLINE(CLOSEMA(CLOSE,30),0,VOL,2.5,1),,COLORRED; 

    空头成交:STICKLINE(CLOSEMA(CLOSE,30),0,VOL,2.5,1),,COLORGREEN; 

    向上攻击量:STICKLINE(VAR6=VAR7ANDVAR6=VAR8ANDCLOSEOPEN,0,VAR6,2.5,0),,COLORRED; 

    向下攻击量:STICKLINE(VAR6=VAR7ANDVAR6=VAR8ANDCLOSEOPEN,0,VAR6,2.5,0),,COLORGREEN; 

    上探量:STICKLINE(VAR7VAR6ANDVAR7VAR8,0,VAR7,2.5,0),,COLORCCCC66; 

    下探量:STICKLINE(VAR8VAR6ANDVAR8VAR7,0,VAR8,2.5,0),,COLORFF6633; 

    相对地量:STICKLINE(VAR92ANDVOLMA(VOL,5)/2,0,VOL,2.5,0),,COLORYELLOW; 

    地量:DRAWTEXT(VAR92ANDVOLMA(VOL,5)/2,VOL, #39;地量 #39;),,COLORYELLOW; 

    放量:STICKLINE(VOLMA(VOL,5)*2.5,0,VOL,2.5,0),,COLORWHITE; 

    逢高出货:DRAWTEXT(VAR7VAR6ANDVARA2ANDVAR7VAR8ANDCLOSEMA(CLOSE,5)ANDCLOSEMA(CLOSE,30)ANDHIGHMA(CLOSE,60)ANDVOLMA(VOL,5)ANDVAR7=MA(VOL,5),VOL, #39;逢高出货 #39;),,COLORGREEN; 

    逢低跟进:DRAWTEXT(VAR8VAR6ANDVAR8VAR7ANDVARA-2ANDCLOSEMA(CLOSE,30)ANDVAR8MA(VOL,5)/2ANDMA(VOL,5)MA(VOL,10),VOL, #39;逢低跟进 #39;),,COLORWHITE; 

    强势参与:DRAWTEXT(VAR6MA(VOL,5)*2ANDVAR6=VAR7ANDVAR6=VAR8ANDCLOSEOPENORVOLMA(VOL,5)*3ANDVARB,VOL, #39;强势参与 #39;),,COLORCC99CC; 

    空头释放:DRAWTEXT(VAR6=VAR7ANDVAR6=VAR8ANDCLOSEOPENANDVAR6/VOL0.7ANDVARCANDVAR6MA(VOL,5),VAR6*2, #39;空头释放 #39;),,COLORGREEN; 

    {MA5:MA(VOL,5),,COLORRED; 

    MA10:MA(VOL,10),,COLORGREEN; 

    MA20:MA(VOL,20),,COLORYELLOW;} 

    MA5:MA(VOL,5),COLORYELLOW; 

    MA13:MA(VOL,13),COLORWHITE; 

    DRAWTEXT(CROSS(MA5,MA13),CROSS(MA5,MA13), #39;注意 #39;),COLORWHITE; 

    公式解读:

    通达信量能为王指标公式


    JV:=AMOUNT/10000;

    成交金额:=JV/1000,COLORFFFFFF;

    VAR1:=(VOL / (((HIGH - LOW) * 2) - ABS((CLOSE - OPEN))));

    成交:=VOL;

    买盘:=IF((CLOSE  OPEN),(VAR1 * (HIGH - LOW)),IF((CLOSE  OPEN),(VAR1 * ((HIGH - OPEN) + (CLOSE - LOW))),(VOL / 2)));

    卖盘:=IF((CLOSE  OPEN),(0 - (VAR1 * ((HIGH - CLOSE) + (OPEN - LOW)))),IF((CLOSE  OPEN),(0 - (VAR1 * (HIGH - LOW))),(0 - (VOL / 2))));

    差:=(买盘 + 卖盘)/1000;

    DDX:=(卖盘-买盘)/(买盘+卖盘)*100/CAPITAL;

    D1:=EMA(ABS(DDX),60);

    D2:=MAX(DDX/D1+7.5,7.5);

    量能值:-MIN(DDX/D1,10)*5,POINTDOT,COLOR0000FF;

    高位卖:(买盘-卖盘)/(买盘),COLOR00FF00,POINTDOT;

    低位买:(买卖差)/成交金额,COLORFF00FF,POINTDOT;

    STICKLINE(低位买0,0,低位买,3,1),COLORFF00FF;

    STICKLINE(低位买0,0,低位买,3,0),COLORFFFF00;

    STICKLINE(高位卖0,0,高位卖,3,1),COLOR00FF00;

    STICKLINE(高位卖0,0,高位卖,3,0),COLOR00FF00;

    STICKLINE(量能值0,0,量能值,3,0),COLOR0000FF;

    STICKLINE(量能值0,0,量能值,3,0),COLORFF0000;

    VAR0:=EMA(VOL,20);

    VAR1:= VAR0 + 2*STD(VOL,10);

    VARA1:=VOL;

    C1: (EMA(VARA1,2)+EMA(VARA1,5)+EMA(VARA1,8))/3,LINETHICK2, COLORYELLOW;

    C2: (EMA(VARA1,3)+EMA(VARA1,6)+EMA(VARA1,9))/3,COLORRED ;

    C3: (EMA(VARA1,4)+EMA(VARA1,7)+EMA(VARA1,10))/3,COLORRED ;

    C4: (EMA(VARA1,5)+EMA(VARA1,8)+EMA(VARA1,11))/3,COLORRED ;

    C5: (EMA(VARA1,6)+EMA(VARA1,9)+EMA(VARA1,12))/3,COLORRED;

    C6: (EMA(VARA1,7)+EMA(VARA1,10)+EMA(VARA1,13))/3,COLORRED;

    C7: (EMA(VARA1,8)+EMA(VARA1,11)+EMA(VARA1,14))/3,COLORRED;

    C8: (EMA(VARA1,9)+EMA(VARA1,12)+EMA(VARA1,15))/3,COLORRED;

    C9: (EMA(VARA1,10)+EMA(VARA1,13)+EMA(VARA1,16))/3,COLORRED;

    C10: (EMA(VARA1,11)+EMA(VARA1,14)+EMA(VARA1,17))/3,COLORRED;

    C11: (EMA(VARA1,12)+EMA(VARA1,15)+EMA(VARA1,18))/3,COLORRED;

    C12: (EMA(VARA1,13)+EMA(VARA1,16)+EMA(VARA1,19))/3,COLORRED;

    C13: (EMA(VARA1,14)+EMA(VARA1,17)+EMA(VARA1,20))/3,COLORRED;

    C14: (EMA(VARA1,15)+EMA(VARA1,18)+EMA(VARA1,21))/3,COLORRED;

    C15: (EMA(VARA1,16)+EMA(VARA1,19)+EMA(VARA1,22))/3,COLORRED;

    C16: (EMA(VARA1,17)+EMA(VARA1,20)+EMA(VARA1,23))/3,COLORRED;

    C17: (EMA(VARA1,18)+EMA(VARA1,21)+EMA(VARA1,24))/3,COLORRED;

    C18: (EMA(VARA1,19)+EMA(VARA1,22)+EMA(VARA1,25))/3,COLORRED;

    C199: (EMA(VARA1,20)+EMA(VARA1,23)+EMA(VARA1,26))/3,LINETHICK3, COLOR0099FF;

    C20: (EMA(VARA1,21)+EMA(VARA1,24)+EMA(VARA1,27))/3,COLOR00CC33;

    C21: (EMA(VARA1,22)+EMA(VARA1,25)+EMA(VARA1,28))/3,COLOR00CC33;

    C22: (EMA(VARA1,23)+EMA(VARA1,26)+EMA(VARA1,29))/3,COLOR00CC33;

    C23: (EMA(VARA1,24)+EMA(VARA1,27)+EMA(VARA1,30))/3,COLOR00CC33;

    C24: (EMA(VARA1,25)+EMA(VARA1,28)+EMA(VARA1,31))/3,COLOR00CC33;

    C25: (EMA(VARA1,26)+EMA(VARA1,29)+EMA(VARA1,32))/3,COLOR00CC33;

    C26: (EMA(VARA1,27)+EMA(VARA1,30)+EMA(VARA1,33))/3,COLOR00CC33;

    C27: (EMA(VARA1,28)+EMA(VARA1,31)+EMA(VARA1,34))/3,COLOR00CC33;

    C28: (EMA(VARA1,29)+EMA(VARA1,32)+EMA(VARA1,35))/3,COLOR00CC33;

    C29: (EMA(VARA1,30)+EMA(VARA1,33)+EMA(VARA1,36))/3,COLOR00CC33;

    C30: (EMA(VARA1,31)+EMA(VARA1,34)+EMA(VARA1,37))/3,COLOR00CC33;

    C31: (EMA(VARA1,32)+EMA(VARA1,35)+EMA(VARA1,38))/3,COLOR00CC33;

    C32: (EMA(VARA1,33)+EMA(VARA1,36)+EMA(VARA1,39))/3,COLOR00CC33;

    C33: (EMA(VARA1,34)+EMA(VARA1,37)+EMA(VARA1,40))/3,COLOR00CC33;

    C34: (EMA(VARA1,35)+EMA(VARA1,38)+EMA(VARA1,41))/3,COLOR00CC33;

    C35: (EMA(VARA1,36)+EMA(VARA1,39)+EMA(VARA1,42))/3,COLOR00CC33;

    C36: (EMA(VARA1,37)+EMA(VARA1,40)+EMA(VARA1,43))/3,COLOR00CC33;

    C37: (EMA(VARA1,38)+EMA(VARA1,41)+EMA(VARA1,44))/3,COLOR00CC33;

    C38: (EMA(VARA1,39)+EMA(VARA1,42)+EMA(VARA1,45))/3,COLOR00CC33;

    C399: (EMA(VARA1,40)+EMA(VARA1,43)+EMA(VARA1,46))/3,LINETHICK2, COLORBLUE;

    C111: (EMA(VARA1,2)+EMA(VARA1,5)+EMA(VARA1,8))/3,LINETHICK2, COLORYELLOW;

    N:=20;

    P:=30;

    K:=10;

    正量能:MA(100*(L- LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N)),3),COLORYELLOW,LINETHICK1;

    负量能:MA(-100*(L- LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N)),3),COLORWHITE,LINETHICK1;

    正: EMA(100*(L-LLV(LOW,P))/(HHV(HIGH,P)-LLV(LOW,P)),K)/2,COLORRED;

    负趋势: EMA(-100*(L-LLV(LOW,P))/(HHV(HIGH,P)-LLV(LOW,P)),K)/2,COLORGREEN;


    image.png

    公式解读:

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信量能指标公式源码 通达信量能为王指标公式 加入收藏