同花顺绝佳SDMI指标公式,同花顺KD强化版指标公式
admin888
|同花顺绝佳SDMI指标公式,同花顺KD强化版指标公式
同花顺绝佳SDMI指标公式
TRZ:=EMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),7);
HD :=HIGH-REF(HIGH,1);
LD :=REF(LOW,1)-LOW;
DMP:=EMA(IF(HD>0 AND HD>LD,HD,0),7)
;DMM:=EMA(IF(LD>0 AND LD>HD,LD,0),7);
PD: DMP*100/TRZ;MDI: DMM*100/TRZ;
ADX: EMA(ABS(MDI-PDI)/(MDI+PDI)*100,7);
ADXR:EMA(ADX,7);抄底1:COUNT(PDI
逃顶1:=COUNT(PDI>MDI,3)=3 AND REF(ADX>50,1) AND REF(ADX,1)>=REF(ADX,2) ANDADX
五十:50,DOTLINE,colorligray;
三十:30,DOTLINE,colorred;
二十:20,DOTLINE,colorgreen;
DRAWTEXT(抄底1,PDI,'抄底');
DRAWTEXT(逃顶1,ADX,'逃顶');
同花顺KD强化版指标公式
N:=36;
M1:=5;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(RSV,M1,1),LINETHICK1;
D:SMA(K,M1,1),LINETHICK1;
J:3*K-2*D;
低位金:=CROSS(K,D) AND D<20;
STICKLINE(低位金,D,D+8,5,0),coloryellow;
JCCOUNT:=COUNT(CROSS(K,D),BARSLAST(K>=D));
二次金:=CROSS(K,D) AND D<20 AND COUNT(JCCOUNT=2,34)=1;
STICKLINE(二次金,D,D+5,5,0),COLORFF80FF;
DRAWICON(二次金,D*0.85,1) ;
A1:=BARSLAST(REF(CROSS(K,D),1));
底背离:=REF(CLOSE,A1+1)>CLOSE AND K>REF(K,A1+1) AND CROSS(K,D);
STICKLINE(底背离,D,D+5,5,0),colorred;
DRAWLINE(A1=0,D,底背离,D,0),colorred,LINETHICK2;
DRAWTEXT(底背离>0,J,'底背离'),colorred;
A2:=BARSLAST(REF(CROSS(D,K),1));
顶背离:=REF(CLOSE,A2+1)
DRAWLINE(A2=0,D,顶背离,D,0),colorgreen,LINETHICK2;
DRAWTEXT(顶背离>0,K+2,'顶背离'),colorgreen;
IF(K>90,K,DRAWNULL),COLOR0000FF,LINETHICK2;
IF(D>85,D,DRAWNULL),colorgreen,LINETHICK2;
DRAWICON(K>80 AND D>80 AND CROSS(D,K),D,2),LINETHICK2;
大顶:90,colorlired;小顶:80,colorcyan;中轴:50,colorwhite;
观望:20,colorligreen;
{"均线系统";}N1:=5;
N2:=10;
N3:=20;N4:=30;
EMA7:=EMA(C,7);
BBI:=(MA(CLOSE,N1)+MA(CLOSE,N2)+MA(CLOSE,N3)+MA(CLOSE,N4))/4;
过渡:IF(BBI,10,DRAWNULL),colorwhite,LINETHICK1;
持股:IF(C>BBI AND BBI>REF(BBI,1),10,DRAWNULL), colorred,LINETHICK1;
持币:IF(C<=BBI AND BBI<=REF(BBI,1),10,DRAWNULL),colorgreen,LINETHICK1;
MTM:=C-REF(C,1);DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
YXF:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0);
蓝:IF(FILTER(YXF=1,5),20,0),colorliblue,LINETHICK1;
红: IF(FILTER(YXF=1,5),10,0),colorred,LINETHICK1;
黄: IF(FILTER(YXF=1,5),5,0),coloryellow,LINETHICK1;
LOWV:=LLV(LOW,N);HIGHV:=HHV(HIGH,N);
var1:=REF(CLOSE,1);var2:=SMA(MAX(CLOSE-var1,0),7,1)/SMA(ABS(CLOSE-var1),7,1)*100,coloryellow;
var21:IF(var2<20,40,20),colorgreen;
var22:IF(var2>80,60,80),COLORFFFF50;
var2↑:STICKLINE(FILTER(REF(var2,1)<20 AND var2>REF(var2,1),5),20,40,8,0),colorgreen;
var2↓:STICKLINE(FILTER(REF(var2,1)>80 AND var2
DIF:EMA(CLOSE,9)-EMA(CLOSE,26),NODRAW;DEA:EMA(DIF,12),NODRAW;
MACD:2*(DIF-DEA),COLORSTICK;DIK:4*DIF-3*DEA,coloryellow;
DED:=EMA(DIK,1),colorgreen;IF(C>DED,DED,DRAWNULL),colorred,LINETHICK3;
IF(DED<=REF(DED,1),DED,DRAWNULL),colorgreen,LINETHICK3;
启动点:=MACD<0 AND MACD>REF(MACD ,1) AND REF(MACD ,1)
STICKLINE(启动点,8,MACD,2,0),colormagenta;
分界线:50,colorliyellow;
DRAWICON(启动点,20,11);
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。