最强选股战法推荐:
通达信成交量阻力未加密选股指标公式源码
源码正文:
N:=30;M:=18;MM:=5;NN:=30{XG51};
成交量阻力:((vol+REF(VOL,1))/2-LLV(VOL,N))/(HHV(VOL,N)-LLV(VOL,N))*100{XG51};
股价阻力:((C+REF(C,1))/2-LLV(C,M))/(HHV(C,M)-LLV(C,M))*100{XG51};
STICKLINE(股价阻力+成交量阻力<=5 ,-50,0,2,0)COLORBLUE{XG51};
成本:=(L+C+C+O+O+H)/6{XG51};
成本均线:=SUM(成本*VOL,MM)/SUM(VOL,MM){XG51};
maX成本均线:=SUM(成本*VOL,180)/SUM(VOL,180){XG51};
成本阻力:(成本均线-LLV(成本均线,NN))/(HHV(成本均线,NN)-LLV(成本均线,NN))*100{XG51};
MAX成本阻力:(MAX成本均线-LLV(MAX成本均线,NN))/(HHV(MAX成本均线,NN)-LLV(MAX成本均线,NN))*100{XG51};
VAR1:=SMA(AMOUNT,10,1)/10000{XG51};
VAR2:=REF(VAR1,1){XG51};
VAR3:=SMA(AMOUNT,10,1)/10000{XG51};
资金量:=(VAR1+VAR3)/2{XG51};
阻力:=(资金量-LLV(资金量,30))/(HHV(资金量,30)-LLV(资金量,30))*100{XG51};
量:=VOL/((HIGH-LOW)*2-Abs(CLOSE-OPEN)){XG51};
买量:=IF(CLOSE>OPEN,量*(HIGH-LOW),IF(CLOSE<OPEN,量*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)){XG51};
卖量:=(IF(CLOSE>OPEN,0-量*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-量*(HIGH-LOW),0-VOL/2)))*-1{XG51};
总量:=买量+卖量,LINETHICK0{XG51};
净量:=买量-卖量,LINETHICK0{XG51};
五日净量:=SUM(净量,5),LINETHICK2,COLORFFFFFF{XG51};
二十日净量:=SUM(净量,20),LINETHICK2,COLOR0000AD{XG51};
六十日净量:=SUM(净量,60),LINETHICK2,COLORFF0000{XG51};
净量阻力:(二十日净量-LLV(二十日净量,N))/(HHV(二十日净量,N)-LLV(二十日净量,N))*100{XG51};
HAHA:=SUM(二十日净量,6){XG51};
净量阻力二:(HAHA-LLV(HAHA,N))/(HHV(HAHA,N)-LLV(HAHA,N))*100{XG51};
STICKLINE( 成交量阻力<10 AND 股价阻力<10 AND 成本阻力<5,-50,0,2,0)COLORWHITE{XG51};
50{XG51};
STICKLINE( 净量阻力二>60 AND REF(净量阻力二<60,1) AND 股价阻力<10,-50,0,2,0)COLORYELLOW{XG51};
STICKLINE(crOSS(成本阻力,股价阻力) AND 成本阻力>80,150,100,2,0)COLORCYAN{X!G.5!1!C!N!{};
通达信ACD法主图未加密选股指标公式源码
源码正文:
顶:=bbi+3*stD(BBI,13),COLOR004AFF{XG51};
底:=BBI-3*STD(BBI,13),COLOR67FF00{XG51};
DRAWBAND(BBI,RGB(97,95,00),顶,RGB(97,95,00)){XG51};
DRAWBAND(BBI,RGB(25,75,150),底,RGB(25,75,250)){XG51};
A:=CURRBARSCOUNT{XG51};
A1:=DAY!=REF(DAY,1){XG51};
A2:=BArslAST(A1)+1{XG51};
A3:=REF(IF(A2=1,1,A2),A2){XG51};
A4:=CONST(REF(HHV(H,A3),A2)){XG51};
A5:=CONST(REF(LLV(L,A3),A2)){XG51};
A6:=ma(AMO,A3)/MA(vol,A3)/100{XG51};
A7:=REF(MA((H+L+C)/3,A3),A2){XG51};
中枢价格:=IF(CAPITAL>0,REF(A6,A2),A7){XG51};
均价:=(A4+A5)/2{XG51};
价差:=Abs(中枢价格-均价){XG51};
中枢价格区上沿:IF(A<=CONST(A2),(中枢价格+价差),DRAWNULL){XG51};
中枢价格区下沿:IF(A<=CONST(A2),(中枢价格-价差),DRAWNULL){XG51};
DRAWBAND(中枢价格区上沿,RGB(155,50,50),中枢价格区下沿,RGB(155,50,50)){XG51};
开盘价幅上线:IF(A<=CONST(A2),(REF(HHV(H,1),A2-1)),DRAWNULL){XG51};
开盘价幅下线:IF(A<=CONST(A2),(REF(LLV(L,1),A2-1)),DRAWNULL){XG51};
HH0:=CONST(HHV(H,120))*1{XG51};
LL0:=CONST(LLV(L,120))*1{XG51};
MM0:=CONST((HH0+LL0)/2){XG51};
HH1:=IF(CONST(C)<MM0,LL0-(HH0-LL0)*0.4,LL0-(HH0-LL0)*0.4),COLORWHITE{XG51};
LL1:=LL0;HLMAX:=MAX(HH1,LL1){XG51};
HLMIN:=MIN(HH1,LL1){XG51};
HLMN1:=(HLMAX+HLMIN)/2{XG51};
HLMN2:=(HLMAX-HLMIN){XG51};
HLMN3:=HHV(V,250)/2{XG51};
HLMN4:=HHV(V,250){XG51};
VZ:=(V-HLMN3)*HLMN2/HLMN4+HLMN1{XG51};
预测量:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,VOL),COLOR990000,NODRAW{XG51};
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,(0-HLMN3)*HLMN2/HLMN4+HLMN1,(预测量-HLMN3)*HLMN2/HLMN4+HLMN1,2,-1),COLORBLACK{XG51};
STICKLINE(C>=O,VZ,(0-HLMN3)*HLMN2/HLMN4+HLMN1,1,1),COLOR000099{XG51};
STICKLINE(C<O,VZ,(0-HLMN3)*HLMN2/HLMN4+HLMN1,1,0),COLOR999900{XG51};
(MA(V,5)-HLMN3)*HLMN2/HLMN4+HLMN1,COLORFFFFFF{XG51};
(MA(V,10)-HLMN3)*HLMN2/HLMN4+HLMN1,COLOR00FFFF{XG51};
STICKLINE(CLOSE> REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORWHITE{XG51};
STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,3,0 ),COLOR000055{XG51};
STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,2.7,0 ),COLOR000077{XG51};
STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,2.1,0 ),COLOR000099{XG51};
STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLOR0000BB{XG51};
STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,0.9,0 ),COLOR0000DD{XG51};
STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,0.3,0 ),COLOR0000FF{XG51};
STICKLINE(CLOSE= REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORRED{XG51};
STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,3,0 ),COLOR555555{XG51};
STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,2.7,0 ),COLOR777777{XG51};
STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,2.1,0 ),COLOR999999{XG51};
STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLORBBBBBB{XG51};
STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,0.9,0 ),COLORDDDDDD{XG51};
STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,0.3,0 ),COLORFFFFFF{XG51};
STICKLINE(CLOSE< REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORGREEN{XG51};
STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,3,0 ),COLOR990000{XG51};
STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,2.7,0 ),COLORCC0000{XG51};
STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,2.1,0 ),COLORFF4400{XG51};
STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLORFF8800{XG51};
STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,0.9,0 ),COLORFFCC00{XG51};
STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,0.3,0 ),COLORGREEN{X=G^5_1=C=N={};
重要申明:本站所有的文章、图片、评论等,均由网友发表或上传并维护或收集自网络,属个人行为,与本站立场无关。
如果侵犯了您的权利,请与我们联系,我们将在24小时内进行处理、任何非本站因素导致的法律后果,本站均不负任何责任。
选股无忧网是股票软件指标公式分享平台,不开展相关证券业务,平台展示的所有股票资料由网络收集,不保障实时性和真实性,请勿以此为依据进行股票交易。
联系QQ:875328188 | 邮箱:875328188@qq.com
Copyright © 2002-2021 选股无忧网桂ICP备18001383号-7