最强选股战法推荐:
通达信动能变化未加密选股指标公式源码
源码正文:
TT:=(2*CLOSE+OPEN+HIGH+LOW){XG51};
主导动能:TT/ema(TT,4)-1,COLORstICK{XG51};
FF:=主导动能{XG51};
STICKLINE(FF>0,0,FF,3,0),COLOR33CFDD{XG51};
STICKLINE(FF>0 AND FF>REF(FF,1),0,FF,3,0),COLOR0000CC{XG51};
STICKLINE(FF<=0,0,FF,3,0),COLOR00CC00{XG51};
STICKLINE(FF<=0 AND FF>REF(FF,1),0,FF,3,0),COLORFF9900{XG51};
做多主导:IFF(FF>0 AND FF>REF(FF,1),FF,0),NODRAW,COLOR0000CC{XG51};
获利回吐:IFF(FF>0 AND FF<=REF(FF,1),FF,0),NODRAW,COLOR33CFDD{XG51};
做空主导:IFF(FF<=0 AND FF<=REF(FF,1),FF,0),NODRAW,COLOR00CC00{XG51};
空头回补:IFF(FF<=0 AND FF>REF(FF,1),FF,0),NODRAW,COLORFF9900{X=G+5-1=C=N={};
通达信魔鬼趋势主图未加密选股指标公式源码
源码正文:
BF:=ma(CLOSE,20){XG51};
上:BF+2*stD(CLOSE,20),NODRAW{XG51};
下:BF-2*STD(CLOSE,20),NODRAW{XG51};
DRAWBAND(上,RGB(85,20,30),BF,RGB(0,60,5)){XG51};
DRAWBAND(BF,RGB(0,60,5),下,RGB(0,60,5)){XG51};
PP:=crOSS(C,MA(C,4)){XG51};
EE:=STICKLINE(PP AND MA(C,20)>=REF(MA(C,20),1) AND
C>O,H,L,1,0),COLORFF00FF,LINETHICK2;{XG51};
dif:=ema(CLOSE,12)-EMA(CLOSE,26){XG51};
DEA:=EMA(DIF,9){XG51};
macd:=(DIF-DEA)*2{XG51};
AA:=MacD>REF(MACD,1) AND REF(MACD,1)<REF(MACD,2) AND REF(MACD,2)<REF(MACD,3)AND
MACD>0{XG51};
CT:=MACD>REF(MACD,1) AND REF(MACD,1)>REF(MACD,2) AND REF(MACD,2)<REF(MACD,3) AND REF
(MACD,3)<REF(MACD,4)AND MACD>0{XG51};
PPO:=MA(C,4)>MA(C,24) AND PP AND MA(C,24)>=REF(MA(C,24),1) {XG51};
VIP:=AA AND PPO OR CT AND PPO{XG51};
DRAWICON(VIP=1,LOW*0.95,9),COLORWHITE{XG51};
DRAWKLINE(H,O,L,C){XG51};
MA5:MA(CLOSE,5),COLORRED{XG51};
MA10:MA(CLOSE,10),COLORWHITE,LINETHICK2{XG51};
MA20:MA(CLOSE,20),COLORYELLOW{XG51};
MA62:=MA(CLOSE,62),POINTDOT,COLORYELLOW{XG51};
MA133:=MA(CLOSE,133),POINTDOT,COLORCYAN{XG51};
日:((C-REF(C,1))/REF(C,1))*100,COLORWHITE,NODRAW{XG51};
周:((C-REF(C,5))/REF(C,5))*100,COLORLICYAN,NODRAW{XG51};
月:((C-REF(C,20))/REF(C,20))*100,COLORWHITE,NODRAW{XG51};
季:((C-REF(C,60))/REF(C,60))*100,COLORBLUE,NODRAW{XG51};
STICKLINE(日>=9.95,O,C,2,0),COLORWHITE,LINETHICK2{XG51};
IF(MA10>=MA5,MA10,DRAWNULL),COLORCYAN,LINETHICK2{XG51};
IF(MA5<=MA10,MA10,DRAWNULL),COLORCYAN,LINETHICK2{XG51};
买线YGB:=EMA(C,2){XG51};
卖线YGB:=EMA(SLOPE(C,21)*20+C,42){XG51};
指导线:=EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2){XG51};
界:=MA(CLOSE,27){XG51};
B买:IF(CROSS(指导线,界) OR CROSS(买线YGB,卖线YGB),C,DRAWNULL),COLORLIMAGENTA,NODRAW{XG51};
持仓:IF(买线YGB>=卖线YGB,C,DRAWNULL),COLORWHITE,NODRAW{XG51};
S卖:IF(CROSS(界,指导线) OR CROSS(卖线YGB,买线YGB),C,DRAWNULL),COLORBLACK,NODRAW{XG51};
空仓:IF(买线YGB<卖线YGB,C,DRAWNULL),COLORCYAN,NODRAW{XG51};
N1:=7{XG51};
LC:=REF(CLOSE,1){XG51};
X:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(Abs(CLOSE-LC),N1,1)*100,COLORBLUE,LINETHICK1{XG51};
魔鬼:=DRAWLINE(X>=HHV(X,N1),X,X<=LLV(X,N1),X,1),COLOR00FF00{XG51};
魔王:=DRAWLINE(X>=HHV(X,N1),X,X<=LLV(X,N1),1,X),COLOR00FF00{XG51};
TJ0:=X=魔王{XG51};
TJ1:=X=魔鬼{XG51};
TJ2:=X<REF(X,1){XG51};
TJ3:=X>REF(1,X){XG51};
JRS1:=DRAWICON(TJ1 AND TJ2,X,1){XG51};
JRS2:=DRAWICON(TJ0 AND TJ3,X,2){XG51};
DRAWICON(FILTER(JRS1>0,1),L*0.97,1){XG51};
DRAWICON(FILTER(JRS2>0,1),H*1.02,15){XG51};
VAR4:=(LOW+HIGH+CLOSE)/3{XG51};
操作:=MA(VAR4,5){XG51};
拉升:=HHV(操作,13),POINTDOT{XG51};
压力:=HHV(操作,60),POINTDOT{XG51};
买卖:=LLV(操作,13),POINTDOT{XG51};
支撑:=LLV(LOW,60)*1.02,POINTDOT{XG51};
顶部:=HHV(HIGH,60)*0.98,POINTDOT,COLORGREEN{X~G~5+1~C~N~{};
重要申明:本站所有的文章、图片、评论等,均由网友发表或上传并维护或收集自网络,属个人行为,与本站立场无关。
如果侵犯了您的权利,请与我们联系,我们将在24小时内进行处理、任何非本站因素导致的法律后果,本站均不负任何责任。
选股无忧网是股票软件指标公式分享平台,不开展相关证券业务,平台展示的所有股票资料由网络收集,不保障实时性和真实性,请勿以此为依据进行股票交易。
联系QQ:875328188 | 邮箱:875328188@qq.com
Copyright © 2002-2021 选股无忧网桂ICP备18001383号-7