最强选股战法推荐:
通达信量能趋势未加密选股指标公式源码
源码正文:
N:=4{XG51};
VAR1:=IF(C>=REF(C,1),V,0){XG51};
VAR2:=IF(C<REF(C,1),V,0){XG51};
VAR3:=SUM(VAR1,N){XG51};
VAR4:=SUM(VAR2,N){XG51};
能量:3*SMA((VAR3-LLV(VAR4,34))/(HHV(VAR3,34)-LLV(VAR4,34))*100,5,1)
-2*Sma(SMA((VAR3-LLV(VAR4,34))/(HHV(VAR3,34)-LLV(VAR4,34))*100,5,1),3,1),
COLORLIMAGENTA{XG51};
MA3:MA(能量,3),COLORRED{XG51};
MA6:MA(能量,6),COLORCYAN{XG51};
高拐点:=IF(REF(MA3,1)=HHV(MA3,4) AND MA3<REF(MA3,1) AND REF(MA3,1)>70
,REF(MA3,1),0),COLORGREEN{XG51};
低拐点:=IF(REF(MA3,1)=LLV(MA3,4) AND MA3>REF(MA3,1) AND REF(能量,1)<18
,REF(MA3,1),0),COLORBLUE{XG51};
stICKLINE(低拐点=REF(MA3,1),-10,10,4,0),COLORBLUE{XG51};
顶背离:IF(高拐点<HHV(高拐点,20) AND 高拐点=REF(MA3,1) AND
C>REF(C,BArslAST(HHV(高拐点,20))),1,DRAWNULL){XG51};
DRAWTEXT(顶背离=1,MA3*1.10,'顶背'),COLORCYAN{XG51};
底背离:IF(低拐点>LLV(低拐点,20) AND 低拐点>0 AND
C<REF(C,BARSLAST(LLV(低拐点,20))),1,-10),COLORBLUE{XG51};
DRAWTEXT(底背离=1,32,'底背'),COLORBLUE{XG51};
HL:=ema(WINNER(CLOSE)*75,3){XG51};
DRAWTEXT(低拐点=REF(MA3,1) AND LLV(HL,10)<=25 AND BARSLAST(LLV(HL,10))<=5,
20,'强底'),COLORLIMAGENTA{XG51};
死叉:IF(高拐点>0,110,130),COLORCYAN{XG51};
追:=IF(crOSS(能量,MA3) AND RANGE(MA3,20,50),1,0){XG51};
DRAWICON(追=1,0.8*MA3,7){XG51};
减:=IF(CROSS(MA3,能量) AND RANGE(MA3,50,70),1,0){XG51};
DRAWICON(减=1,1.1*MA3,8){X!G~5-1!C!N!{};
通达信中短KDJ未加密选股指标公式源码
源码正文:
T2:=(HHV(HIGH,3)+LLV(LOW,3)+CLOSE*2)/4{XG51};
T3:=ema(T2,13){XG51};
T4:=stD(T2,13){XG51};
T5:=((T2-T3)/T4*100+200)/4{XG51};
T6:=(Ema(T5,13)-21)*1.56{XG51};
K1:=EMA(CLOSE,8)-EMA(CLOSE,26){XG51};
ST1:=EMA(K1,3){XG51};
ET1:=(K1-ST1)*2,COLORSTICK{XG51};
BK: EMA(T6,3)*1.22,COLORRED,LINETHICK2{XG51};
BD: EMA(BK,3),COLORLIGREEN,LINETHICK2{XG51};
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100{XG51};
K:SMA(RSV,3,1),COLORRED{XG51};
D:SMA(K,3,1),COLORBLUE{XG51};
J:3*K-2*D,COLORBLUE{XG51};
IF(K<REF(K,1),K,DRAWNULL),COLORCYAN,LINETHICK1{XG51};
IF(D<REF(D,1),D,DRAWNULL),COLORCYAN,LINETHICK1{XG51};
IF(J<REF(J,1),J,DRAWNULL),COLORFFFF00,LINETHICK1{XG51};
IF(K>REF(K,1),K,DRAWNULL),COLORWHITE,LINETHICK1{XG51};
IF(D>REF(D,1),D,DRAWNULL),COLORWHITE,LINETHICK1{XG51};
IF(J>REF(J,1),J,DRAWNULL),COLORFF00FF,LINETHICK1{XG51};
STICKLINE((J<=0 AND K<=30),0,J,1,1),COLORBLUE{XG51};
金叉:IF(SUM(crOSS(K,D)AND D<23,15)>=2 AND CROSS(K,D)AND C>O,10,0),COLORFFFF00{XG51};
A1:=BArslAST(REF(CROSS(J,K),1)){XG51};
底背:=REF(CLOSE,A1+1)>CLOSE AND J>REF(J,A1+1) AND CROSS(J,K){XG51};
底:DRAWLINE(A1=0,D,底背,D,0),COLORWHITE,POINTDOT{XG51};
DRAWTEXT(底背,D,'底B'),COLORWHITE{XG51};
A2:=BARSLAST(REF(CROSS(K,J),1)){XG51};
顶背:=REF(CLOSE,A2+1)<CLOSE AND REF(J,A2+1)>J AND CROSS(K,J){XG51};
顶:DRAWLINE(A2=0,D,顶背,D,0),COLORYELLOW,POINTDOT{XG51};
DRAWTEXT(顶背,D,'顶B'),COLORBLUE{X^G*5.1^C^N^{};
上一篇:通达信量柱擒涨停+黄金柱+涨停时间窗主图未加密选股指标公式源码
栏 目:通达信公式
本文标题:通达信量能趋势未加密选股指标公式源码
本文地址:https://www.xg51.cn/a/tdxgs/42765.html
重要申明:本站所有的文章、图片、评论等,均由网友发表或上传并维护或收集自网络,属个人行为,与本站立场无关。
如果侵犯了您的权利,请与我们联系,我们将在24小时内进行处理、任何非本站因素导致的法律后果,本站均不负任何责任。
选股无忧网是股票软件指标公式分享平台,不开展相关证券业务,平台展示的所有股票资料由网络收集,不保障实时性和真实性,请勿以此为依据进行股票交易。
联系QQ:875328188 | 邮箱:875328188@qq.com
Copyright © 2002-2021 选股无忧网桂ICP备18001383号-7