通达信均线速度指标公式,通达信成交量阻力指标公式
admin888
|通达信均线速度指标公式,通达信成交量阻力指标公式
通达信均线速度指标公式
P1:=5;P2:=30;
A1:=ma(CLOSE,P1);A2:=REF(A1,1);J1:(A1-A2)/A2*100;MJ1:MA(J1,3);
A3:=MA(CLOSE,P2);A4:=REF(A3,1);J2:(A3-A4)/A4*100;MJ2:=MA(J2,10);
A5:=MA(C,10);A6:=REF(A5,1);
J3:=(A5-A6)/A6*100;MJ3:=MA(J3,5);
向上拐点:IF(COUNT(crOSS(J1,0),3)>=1 AND MJ1>MJ3 AND MJ3>REF(MJ3,1) AND J3>=0 AND J1>REF(J1,1),5,0) ,COLORRED,LINETHICK2;
向下拐点:IF(CROSS(0,J1)>=1 AND MJ3
0,COLORWHITE;
stICKLINE(J1>0 AND J2>0,J1,0,2,0),COLORRED;
STICKLINE(J1<0 AND J2>0,0,J1,2,0),COLORYELLOW;
STICKLINE(J1>0 AND J2<0,J1,0,2,0),COLORMAGENTA;
STICKLINE(J1<0 AND J2<0,0,J1,2,0),COLORGREEN;
DRAWICON(CROSS(J1,MJ1) AND COUNT(MJ1<-3,3)>=1 ,J1*1.5,1);
DRAWICON(CROSS(MJ1,J1) AND COUNT(MJ1>3,3)>=1,J1*1.8,2);
选股:IF(CROSS(J1,MJ1) AND COUNT(MJ1<-2,3)>=1,2,0),COLORYELLOW,LINETHICK2;
B1:=BArslAST(REF(CROSS(J1,MJ1) AND MJ1<0,1));
底背离:=REF(CLOSE,B1+1)>CLOSE AND J1>REF(J1,B1+1) AND CROSS(J1,MJ1);
DRAWLINE(B1=0,MJ1,底背离,MJ1,0),COLORRED,LINETHICK3;
B2:=BARSLAST(REF(CROSS(MJ1,J1) AND MJ2>0,1));
顶背离:=REF(CLOSE,B2+1)
DRAWLINE(B2=0,MJ1,顶背离,MJ1,0),COLORWHITE,LINETHICK2;
通达信成交量阻力指标公式
N:=30;M:=18;MM:=5;NN:=30;
成交量阻力:((vol+REF(VOL1))/2-LLV(VOL,N))/(HHV(VOL,N)-LLV(VOL,N))*100;
{stICKLINE(成交量阻力>20,0,成交量阻力,2,0)COLORRED;}
股价阻力:((C+REF(C,1))/2-LLV(C,M))/(HHV(C,M)-LLV(C,M))*100;
{STICKLINE(股价阻力>85 AND 成交量阻力>60,150,100,2,0)COLORGREEN;}
STICKLINE(股价阻力+成交量阻力<=5 ,-50,0,2,0)COLORYELLOW;
成本:={(L+H+C+O+L+H+O+C)/8;}(L+C+C+O+O+H)/6;
成本均线:=SUM(成本*VOL,MM)/SUM(VOL,MM);
maX成本均线:=SUM(成本*VOL,180)/SUM(VOL,180);
成本阻力:(成本均线-LLV(成本均线,NN))/(HHV(成本均线,NN)-LLV(成本均线,NN))*100;
MAX成本阻力:(MAX成本均线-LLV(MAX成本均线,NN))/(HHV(MAX成本均线,NN)-LLV(MAX成本均线,NN))*100;
VAR1:=SMA(AMOUNT,10,1)/10000;
VAR2:=REF(VAR1,1);
VAR3:=SMA(AMOUNT,10,1)/10000;
资金量:=(VAR1+VAR3)/2;
阻力:=(资金量-LLV(资金量,30))/(HHV(资金量,30)-LLV(资金量,30))*100;
量:=VOL/((HIGH-LOW)*2-Abs(CLOSE-OPEN));
买量:=IF(CLOSE>OPEN,量*(HIGH-LOW),IF(CLOSE
卖量:=(IF(CLOSE>OPEN,0-量*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE
总量:=买量+卖量,LINETHICK0;
净量:=买量-卖量,LINETHICK0;
五日净量:=SUM(净量,5),LINETHICK2,COLORFFFFFF;
{十日净量:SUM(净量,10),LINETHICK2,COLOR007800;}
二十日净量:=SUM(净量,20),LINETHICK2,COLOR0000AD;
六十日净量:=SUM(净量,60),LINETHICK2,COLORFF0000;
净量阻力:(二十日净量-LLV(二十日净量,N))/(HHV(二十日净量,N)-LLV(二十日净量,N))*100;
HAHA:=SUM(二十日净量,6);
净量阻力二:(HAHA-LLV(HAHA,N))/(HHV(HAHA,N)-LLV(HAHA,N))*100;
STICKLINE( 成交量阻力<10 AND 股价阻力<10 AND 成本阻力<5{ AND 净量阻力二<10 AND 净量阻力<10 AND 二十日净量>0 },-50,0,2,0)COLORRED;
50;
STICKLINE( 净量阻力二>60 AND REF(净量阻力二<60,1) AND 股价阻力<10,-50,0,2,0)COLORBLUE;
STICKLINE(crOSS(成本阻力,股价阻力) AND 成本阻力>80,150,100,2,0)COLORGREEN;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。