通达信顶底捕捉指标公式,通达信自用KD短线指标公式
admin888
|通达信顶底捕捉指标公式,通达信自用KD短线指标公式
通达信顶底捕捉指标公式
n:=3;
e2:=10;
e3:15;
e4:-15;
man:=MA(C,n);
MA10:=MA(C,10);
MA20:=MA(C,20);
MA30:=MA(C,30);
MA60:=MA(C,60);
d1:=(MAn-MA10)/MIN(MAn,MA10);
d2:=(MAn-MA20)/MIN(MAn,MA20);
d3:=(MAn-MA30)/MIN(MAn,MA30);
d5:=(MA20-MA10)/MIN(MA20,MA10);
d6:=(MA30-MA10)/MIN(MA30,MA10);
d8:=(MA20-MA30)/MIN(MA20,MA30);
da:=MA(MAX(MAX(MAX(d1,d2),MAX(d3,d5)),MAX(d6,d8))*100,2);
db:=MA(MIN(MIN(MIN(d1,d2),MIN(d3,d5)),MIN(d6,d8))*100,2);
gj:=(2*C+H+L)/4;
顶:=da>10 AND gj>MA30 AND REF(da,1)>MAX(REF(da,2),da);
底:=db<-10 AND gj
DRAWTEXT(底 AND COUNT(底,BArslAst(NOT(db<-10 AND gj
DRAWTEXT(底 AND COUNT(底,BARSLAST(NOT(db<-10 AND gj
DRAWTEXT(底 AND COUNT(底,BARSLAST(NOT(db<-10 AND gj
DRAWTEXT(底 AND COUNT(底,BARSLAST(NOT(db<-10 AND gj
DRAWTEXT(底 AND COUNT(底,BARSLAST(NOT(db<-10 AND gj
DRAWTEXT(底 AND COUNT(底,BARSLAST(NOT(db<-10 AND gj
DRAWTEXT(顶 AND COUNT(顶,BARSLAST(NOT(da>10 AND gj>MA30)))=1,da*1.1,'顶1'),colorcyan;
DRAWTEXT(顶 AND COUNT(顶,BARSLAST(NOT(da>10 AND gj>MA30)))=2,da*1.1,'顶2'),colorcyan;
DRAWTEXT(顶 AND COUNT(顶,BARSLAST(NOT(da>10 AND gj>MA30)))=3,da*1.1,'顶3'),colorcyan;
DRAWTEXT(顶 AND COUNT(顶,BARSLAST(NOT(da>10 AND gj>MA30)))=4,da*1.1,'顶4'),colorcyan;
DRAWTEXT(顶 AND COUNT(顶,BARSLAST(NOT(da>10 AND gj>MA30)))=5,da*1.1,'顶5'),colorcyan;
DRAWTEXT(顶 AND COUNT(顶,BARSLAST(NOT(da>10 AND gj>MA30)))=6,da*1.1,'顶6'),colorcyan;
STICKLINE(db<-10 AND gj
STICKLINE(da>10 AND gj>MA30,da,5,1,0),RGB(255,0,0);
STICKLINE(C,5,-5,15,0),RGB(80,80,80);
通达信自用KD短线指标公式
VAR2:=(HIGH+LOW+CLOSE*2)/4;
VAR3:=ema(VAR2,21);
VAR4:=stD(VAR2,21);
VAR5:=((VAR2-VAR3)/VAR4*100+200)/4;
VAR6:=(Ema(VAR5,5)-25)*1.56;
K: EMA(VAR6,2)*1.22,LINETHICK2;
D: EMA(K,2),COLORFFFF00,LINETHICK2;J: 3*K-2*D,COLORRED,LINETHICK2;
STICKLINE(J>135,150,J,1,1),COLORGREEN;STICKLINE(J<=-25,-35,J,1,1),COLORYELLOW;
绝对顶:150,LINETHICK1,COLORGREEN;
强险区:100,POINTDOT,COLORRED;
中区:0,POINTDOT,COLORRED;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。