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

    正文概述    2024-05-04 04:08:42  


    通达信公式源码概况:


    指标类别:通达信公式


    授权方式: 免费版


    指标评级: ★★★★★


    指标分类: 策略


    画线方法: 副图



    一、通达信量价角度指标公式

     

    MV5:=EMA(V,5); 

    MA5:=EMA(C,5); 

    MV5角度:=ATAN((MV5/REF(MV5,1)-1)*100)*180/3.1416; 

    MA5角度:=ATAN((MA5/REF(MA5,1)-1)*100)*180/3.1416; 

    量角:IF(MV5角度 30,MV5角度,0),COLOR0000FF,LINETHICK0; 

    价角:IF(MA5角度 0,MA5角度,MA5角度),COLORFFFFFF,LINETHICK2; 

    PARTLINE(价角,价角 REF(价角,1)AND价角 =0,RGB(255,0,0),价角 REF(价角,1)AND价角 0,RGB(0,255,0)),LINETHICK2; 

    QSXS:=MA5角度 REF(MA5角度,1)ANDMV5角度 80; 

    ∠45↑:IF(CROSS(MA5角度,30),1,0),COLORFFFFFF,POINTDOT,LINETHICK0; 

    买强:IF(MA5角度 45ANDQSXS,10,0),COLOR00FFFF,POINTDOT,LINETHICK0; 

    防火:IF(MA5角度 70ANDMV5角度 80,20,0),COLORFF00FF,POINTDOT,LINETHICK0; 

    卖疯:IF(MA5角度 80ANDMV5角度 80,30,0),COLOR0000FF,POINTDOT,LINETHICK0; 

    WK:=MA5角度=LLV(MA5角度,3)ANDMA5角度-HHV(MA5角度,4) =0-50; 

    挖坑:IF(WKANDCOUNT(买强OR防火,6),0-30,0),COLOR00FF00; 

    海底:IF(MA5角度 0-75,0-50,0-75),COLORFF8800; 

    {以下设置副图显示方式} 

    STICKLINE(MV5角度 30,MV5角度,30,0.1,0),COLOR0000FF; 

    STICKLINE(买强,0,10,4,0),COLOR00FFFF; 

    STICKLINE(防火,10,20,4,0),COLORFF00FF; 

    STICKLINE(卖疯,20,30,4,0),COLOR0000FF; 

    买入,不是交叉{量价} 

    LS26:=EMA(CLOSE,2)-EMA(CLOSE,150); 

    LS27:=EMA(LS26,100); 

    LS28:=2*(LS26-LS27); 

    LS29:=POW(LS28,3)*0.1+POW(LS28,1); 

    黑马线:IF(LS28 0.1,LS29,0)*5; 

    量价线:(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100; 

    X1:LLV(HIGH,240); 

    X2:REF(LLV(CLOSE,480),1); 

    X3:REF(HHV(CLOSE,480),1); 

    DRAWTEXT(∠45↑,30, ↑ ),COLORFFFFFF; 

    VERTLINE(∠45↑,2),COLOR00FFFF; 

    30,COLORFFFFFF; 

    M3:=MA(C,3); 

    M5:=MA(C,5); 

    N1:=BARSLAST(CROSS(M3,M5)); 

    N2:=BARSLAST(CROSS(M5,M3)); 

    N:=IF(N1 N2,N1+1,0-N2-1); 

    STICKLINE(N 0,0-75,0-75+N*2,8,0),COLOR0000FF; 

    STICKLINE(N 0,0-75,0-75+N*2,8,0),COLORFFFF00; 

    DRAWTEXT_FIX(1,0.49,0.9,1, ★--------------------------------- ),COLORRED; 

    DRAWTEXT_FIX(1,0.69,0.9,1, ------------------------------------------★ ),COLORRED; 

    DRAWTEXT_FIX(1,0.58,0.1,1, --------------★ ),COLORRED; 

    DRAWTEXT_FIX(1,0.50,0.1,1, ★------------- ),COLORRED; 

    DRAWRECTREL(346,655,671,920,50); 

    DRAWRECTREL(396,415,621,920,50); 

    DRAWRECTREL(446,123,571,920,50); 

    DRAWRECTREL(280,504,700,505,120); 

    DRAWTEXT_FIX(1,0.53,0.95,1, 阳转信号 ),COLORYELLOW; 

    DRAWTEXT_FIX(1,0.25,0.88,1, 买进信号 ),COLORYELLOW; 

    DRAWTEXT_FIX(1,0.32,0.48,1, 加仓 ),COLORYELLOW; 

    DRAWTEXT_FIX(1,0.38,0.23,1, 观望 ),COLORYELLOW; 

    DRAWTEXT_FIX(1,0.53,0.05,1, 警戒信号 ),COLORYELLOW; 

    DRAWTEXT_FIX(1,0.66,0.20,1, 卖出信号 ),COLORYELLOW; 

    DRAWTEXT_FIX(1,0.68,0.48,1, 清仓 ),COLORYELLOW; 

    DRAWTEXT_FIX(1,0.75,0.78,1, 观望 ),COLORYELLOW; 

    DRAWTEXT_FIX(1,0.55,0.13,1, 现价与中期线 ),COLORYELLOW; 

    DRAWTEXT_FIX(1,0.53,0.18,1, 乖离率 ),COLORYELLOW; 

    VA1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1); 

    VA2:=SMA(ABS(LOW-VA1),13,1)/SMA(MAX(LOW-VA1,0),10,1); 

    VA3:=EMA(VA2,10); 

    VA4:=LLV(LOW,33); 

    VA5:=EMA(IF(LOW =VA4,VA3,0),3); 

    AA:=HHV(VA5,18) 100; 

    BB:=BARSLAST(VA5 REF(VA5,1)); 

    TT:=BB+1; 

    HH:=REF(H,TT); 

    XG:=CROSS(C,REF(H,TT)); 

    HJ:=(C+HH)/2; 

    HK:=(C+HJ)/2; 

    HL:=(C+HK)/2; 

    HG:=MA(HL,3); 

    HF:=IF(HG REF(HG,1),HG*1.008,HG*0.993); 

    HG5:=MA(HG,5); 

    HG5A:=MA(HG5,10); 

    中期线:=MA(HG5A,10); 

    DRAWNUMBER_FIX(CROSS(HF,中期线)ANDCURRBARSCOUNT=1,0.30,0.88,1,C),COLORRED; 

    DRAWNUMBER_FIX(CROSS(中期线,HF)ANDHF REF(HF,1)ANDCURRBARSCOUNT=1,0.72,0.48,1,C),COLORGREEN; 

    DRAWNUMBER_FIX(HF/中期线 0.8ANDHF REF(HF,1)ANDCURRBARSCOUNT=1,0.78,0.78,1,C),COLORGREEN; 

    DRAWNUMBER_FIX(HF/中期线 0.8ANDHF REF(HF,1)ANDCURRBARSCOUNT=1,0.58,0.95,1,C),COLORRED; 

    DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.53,0.5-(C/中期线-1),1,C/中期线),COLORRED; 

    天线角度:=ATAN(HF-REF(HF,1))*57.03; 

    STICKLINE(CURRBARSCOUNT 3,天线角度,0,2,1),COLORYELLOW; 

    STICKLINE(CURRBARSCOUNT 3,天线角度,天线角度*0.999,2,0),COLORRED; 

    DRAWTEXT_FIX(CURRBARSCOUNT=1,0.87,0.8,1, 天线角度 ),COLORYELLOW; 

    DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.85,0.75,1,INTPART(天线角度)),COLORRED; 

    最后天数:=CURRBARSCOUNT=1; 

    角度增:=天线角度 REF(天线角度,1); 

    角度减:=天线角度 REF(天线角度,1); 

    小幅增:=天线角度 0AND天线角度 30; 

    中幅增:=天线角度 30AND天线角度 45; 

    大幅增:=天线角度 45AND天线角度 80; 

    小幅减:=天线角度 0AND天线角度 -30; 

    中幅减:=天线角度 -30AND天线角度 -45; 

    大幅减:=天线角度 -45AND天线角度 -80; 

    DRAWNUMBER_FIX(最后天数AND角度增AND小幅增,0.30,0.88,1,C),COLORRED; 

    DRAWNUMBER_FIX(最后天数AND角度增AND中幅增,0.38,0.48,1,C),COLORRED; 

    DRAWNUMBER_FIX(最后天数AND角度增AND大幅增,0.43,0.23,1,C),COLORRED; 

    DRAWNUMBER_FIX(最后天数AND小幅减,0.75,0.68,1,C),COLORGREEN; 

    DRAWNUMBER_FIX(最后天数AND中幅减,0.70,0.20,1,C),COLORGREEN; 

    DRAWNUMBER_FIX(最后天数AND大幅减,0.80,0.78,1,C),COLORGREEN; 

    DRAWNUMBER_FIX(最后天数ANDREF(天线角度,1) 0AND天线角度 =0,0.58,0.95,1,C),COLORRED; 

    现价角度:ATAN(C-REF(C,1))*57.03,LINETHICK0; 

    天线角度1:IF(CURRBARSCOUNT 4,天线角度,DRAWNULL),COLORYELLOW; 

    DRAWTEXT_FIX(1,0.65,0.75,1, 今日万手量 ),COLORYELLOW; 

    DRAWNUMBER_FIX(最后天数,0.66,0.85,1,V/10000),COLORYELLOW; 

    DRAWTEXT_FIX(1,0.43,0.75,1, 昨日万手量 ),COLORYELLOW; 

    DRAWNUMBER_FIX(CURRBARSCOUNT=2,0.43,0.85,1,V/10000),COLORYELLOW; 

    价量: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),COLOR00CCFF; 

    主线:(((价量-LLV(价量,27))/(HHV(价量,27)-LLV(价量,27)))*(4))*(25),colorcyan; 

    快线:(((价量-LLV(价量,9))/(HHV(价量,9)-LLV(价量,9)))*(4))*(25),COLOR55AAFF; 

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

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

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

    KK:=INTPART(K1); 

    DD:=INTPART(D1); 

    TFXXS:=KK+DD; 

    TGLXS:=(TFXXS-REF(TFXXS,1)); 

    STICKLINE(TGLXS 0ANDTGLXS REF(TGLXS,1),100,TGLXS+100,2.5,0),COLOR0000AA; 

    STICKLINE(TGLXS 0ANDTGLXS REF(TGLXS,1),100,TGLXS+100,1.5,0),COLOR0022CC; 

    STICKLINE(TGLXS 0ANDTGLXS REF(TGLXS,1),100,TGLXS+100,0.5,0),COLOR0055FF; 

    STICKLINE(TGLXS 0ANDTGLXS REF(TGLXS,1),100,TGLXS+100,2.5,0),COLORAA00BB; 

    STICKLINE(TGLXS 0ANDTGLXS REF(TGLXS,1),100,TGLXS+100,1.5,0),COLORCC22BB; 

    STICKLINE(TGLXS 0ANDTGLXS REF(TGLXS,1),100,TGLXS+100,0.5,0),COLORFF55BB; 

    STICKLINE(TGLXS 0ANDTGLXS =REF(TGLXS,1),100,TGLXS+100,2.5,0),COLOR00AAFF; 

    STICKLINE(TGLXS 0ANDTGLXS =REF(TGLXS,1),100,TGLXS+100,1.5,0),COLOR00CCFF; 

    STICKLINE(TGLXS 0ANDTGLXS =REF(TGLXS,1),100,TGLXS+100,0.5,0),COLOR00FFFF; 

    STICKLINE(TGLXS 0ANDTGLXS =REF(TGLXS,1),100,TGLXS+100,2.5,0),COLORFF7700; 

    STICKLINE(TGLXS 0ANDTGLXS =REF(TGLXS,1),100,TGLXS+100,1.5,0),COLORFFAA22; 

    STICKLINE(TGLXS 0ANDTGLXS =REF(TGLXS,1),100,TGLXS+100,0.5,0),COLORFFFF55; 

    STICKLINE(TGLXS=0ANDREF(TGLXS,1) =0,100,TGLXS+100,8,0),colorbrown; 

    STICKLINE(TGLXS=0ANDREF(TGLXS,1) 0,100,TGLXS+100,8,0),colorwhite; 

    ZLCM:=EMA(WINNER(CLOSE)*70,3); 

    SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3); 

    ZSHTL:=SHCM/(ZLCM+SHCM)*100; 

    ZZLKP:=ZLCM/(ZLCM+SHCM)*100; 

    ZSHJJ:=EMA(ZSHTL,55); 

    ZZLJJ:=EMA(ZZLKP,55); 

    散兵坑:IF(ZZLKP =10,ZZLKP,ZZLKP),colormagenta; 

    STICKLINE(C 0,ZSHTL,ZZLKP,2,0),COLOR808080; 

    STICKLINE(ZSHJJ REF(ZSHJJ,1),ZSHTL,ZSHJJ,2,0),COLORC0C0C0; 

    STICKLINE(ZZLKP REF(ZZLKP,1)ANDZZLKP 20,ZZLKP,20,2.5,0),COLORAA00BB; 

    STICKLINE(ZZLKP REF(ZZLKP,1)ANDZZLKP 20,ZZLKP,20,1.5,0),COLORCC22BB; 

    STICKLINE(ZZLKP REF(ZZLKP,1)ANDZZLKP 20,ZZLKP,20,0.5,0),COLOREE44BB; 

    STICKLINE(ZZLKP =REF(ZZLKP,1)ANDZZLKP 20,ZZLKP,20,2.5,0),COLORFF7700; 

    STICKLINE(ZZLKP =REF(ZZLKP,1)ANDZZLKP 20,ZZLKP,20,1.5,0),COLORFFAA22; 

    STICKLINE(ZZLKP =REF(ZZLKP,1)ANDZZLKP 20,ZZLKP,20,0.5,0),COLORFFFF55; 

    STICKLINE(ZZLKP REF(ZZLKP,1)ANDZZLKP 20,ZZLKP,0,2.5,0),COLOR131FFD; 

    STICKLINE(ZZLKP REF(ZZLKP,1)ANDZZLKP 20,ZZLKP,0,1.5,0),COLOR5050FF; 

    STICKLINE(ZZLKP REF(ZZLKP,1)ANDZZLKP 20,ZZLKP,0,0.5,0),COLOR7E7EFF; 

    STICKLINE(ZZLKP =REF(ZZLKP,1)ANDZZLKP 20,ZZLKP,0,2.5,0),COLORAA0000; 

    STICKLINE(ZZLKP =REF(ZZLKP,1)ANDZZLKP 20,ZZLKP,0,1.5,0),COLORCC0000; 

    STICKLINE(ZZLKP =REF(ZZLKP,1)ANDZZLKP 20,ZZLKP,0,0.5,0),COLORFF0000; 

    STICKLINE(ZZLJJ REF(ZZLJJ,1),ZZLKP,ZZLJJ,2.5,0),COLOR00AAFF; 

    STICKLINE(ZZLJJ REF(ZZLJJ,1),ZZLKP,ZZLJJ,1.5,0),COLOR00CCFF; 

    STICKLINE(ZZLJJ REF(ZZLJJ,1),ZZLKP,ZZLJJ,0.5,0),COLOR00FFFF; 

    STICKLINE(ZZLKP ZZLJJANDZZLJJ 50,ZZLKP,ZZLJJ,2.5,0),COLOR0000AA; 

    STICKLINE(ZZLKP ZZLJJANDZZLJJ 50,ZZLKP,ZZLJJ,1.5,0),COLOR0022CC; 

    STICKLINE(ZZLKP ZZLJJANDZZLJJ 50,ZZLKP,ZZLJJ,0.5,0),COLOR0055FF; 

    STICKLINE(ZZLKP ZZLJJANDZZLJJ 50ANDZZLKP 50ANDZZLJJ REF(ZZLJJ,1),ZZLKP,50,2.5,0),COLOR0000AA; 

    STICKLINE(ZZLKP ZZLJJANDZZLJJ 50ANDZZLKP 50ANDZZLJJ REF(ZZLJJ,1),ZZLKP,50,1.5,0),COLOR0022CC; 

    STICKLINE(ZZLKP ZZLJJANDZZLJJ 50ANDZZLKP 50ANDZZLJJ REF(ZZLJJ,1),ZZLKP,50,0.5,0),COLOR0055FF; 

    STICKLINE(ZZLKP 80,ZZLKP,ZZLKP-(ZZLKP-80)/2,2.5,0),COLOR00AA00; 

    STICKLINE(ZZLKP 80,ZZLKP,ZZLKP-(ZZLKP-80)/2,1.5,0),COLOR00CC00; 

    STICKLINE(ZZLKP 80,ZZLKP,ZZLKP-(ZZLKP-80)/2,0.5,0),COLOR00FF00; 

    STICKLINE(ZZLKP =10,ZZLKP,0,5,0),COLORDD00DD; 

    100,colorgreen; 

    80,colorgreen; 

    {0,colorgreen;} 

    价量,COLOR0CC0FF,LINETHICK2; 

    主线,COLOR00FFAA,LINETHICK2; 

    快线,LINESTICK,COLORFF68DD; 


    通达信量价角度指标公式(通达信量价指标公式)

    公式解读:




    每日通达信公式解答:

     

    编写条件: 

    XG:REF(V,1) REF(V,2)*2ANDV REF(V,1)/2; 

    编写方法: 

    昨日成交量是前日1倍以上,今日成交量是昨日50%以下的公式。




    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信量价角度指标公式(通达信量价指标公式) 加入收藏