通达信优化KDJ带K线指标公式,通达信追涨有理主图和选股指标公式
admin888
|通达信优化KDJ带K线指标公式,通达信追涨有理主图和选股指标公式
通达信优化KDJ带K线指标公式
VAR1:=SMA(maX(OPEN-REF(OPEN,1),0),6,1)/SMA(Abs(OPEN-REF(OPEN,1)),6,1)*100;
VAR2:=SMA(MAX(CLOSE- REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE- REF(CLOSE,1)),6,1)*100;
VAR3:=SMA(MAX(HIGH-REF(HIGH,1),0),6,1)/SMA(ABS(HIGH-REF(HIGH,1)),6,1)*100;
VAR4:=SMA(MAX(LOW- REF(LOW,1),0),6,1)/SMA(ABS(LOW- REF(LOW,1)),6,1)*100;
VAR5:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
短:=SMA(VAR5,6,1),COLORWHITE;
中:=SMA(短,3,1),COLORYELLOW;
领先:=3*短-2*中,COLORLIMAGENTA;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:SMA(RSV,3,1);
D:SMA(K,3,1);
J:3*K-2*D;
DRAWKLINE(VAR3,VAR1,VAR4,VAR2);
stICKLINE(短>0 AND 短-中>=0,79,80,6,0),COLORRED;
STICKLINE(短>0 AND 短-中<0,79,80,6,0),COLORYELLOW;
STICKLINE(短>0 AND 短-中>=0,49,50,6,0),COLORRED;
STICKLINE(短>0 AND 短-中<0,49,50,6,0),COLORYELLOW;
STICKLINE(短>0 AND 短-中>=0,9,10,6,0),COLORRED;
STICKLINE(短>0 AND 短-中<0,9,10,6,0), COLORYELLOW;
顶:100, LINETHICK2 ,COLOR55AA77;
底:0, LINETHICK2 ,COLOR55AA77;
通达信追涨有理主图和选股指标公式
dif:=ema(CLOSE,12)-Ema(CLOSE,26);
DEA:=EMA(DIF,9);
macd1:=(DIF-DEA)*2,COLORstICK;
A:MA(CLOSE,5);
B:MA(CLOSE,20);
TYP:=(HIGH+LOW+CLOSE)/3;
cci:=(TYP-MA(TYP,84))/(0.015*AVEDEV(TYP,84));
BB:=BETWEEN(REF(CLOSE,1),A,B);
DRAWTEXT(CLOSE>A AND A>B AND B>REF(B,1) ANDcrOSS(CCI,100) AND MacD1>0 AND REF(MACD1,1)>0,B,'追'),COLORMAGENTA;
选股公式:DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD1:=(DIF-DEA)*2;
A:=MA(CLOSE,5);
B:=MA(CLOSE,20);
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,84))/(0.015*AVEDEV(TYP,84));
BB:=BETWEEN(REF(CLOSE,1),A,B);
XG:CLOSE>A AND A>B AND B>REF(B,1) AND CROSS(CCI,100) AND MACD1>0 AND REF(MACD1,1)>0;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。