通达信成本和谐指标公式,通达信微积分MACD指标公式
admin888
|通达信成本和谐指标公式,通达信微积分MACD指标公式
通达信成本和谐指标公式
N1:=8;N2:=20;N3:=50;
SG:EMA(HHV(H,1),8),COLORMAGENTA;
X1:EMA(CLOSE,N1),COLORYELLOW;
JJ:=(H+L+3*C)/5;
VAR21:=EMA(JJ,5);VAR22:=EMA(JJ,13);VAR23:=EMA(JJ,21);VAR24:=EMA(JJ,34);
H1A:=(VAR21+VAR22+VAR23+VAR24)/4;
成本和谐:MA(H1A,5),COLORRED,LINETHICK2;
X4:EMA(X1,N2*3);
X6:EMA(X1,N3*3),COLORWHITE,POINTDOT,LINETHICK4;
X7:EMA(X1,N3*5),COLORMAGENTA,LINETHICK2;
LC:=REF(CLOSE,1);
rsi:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(Abs(CLOSE-LC),6,1)*100;
DRAWTEXT(X4>X6 ANDcrOSS(84,RSI), HIGH*1.02,'卖!'),COLORYELLOW;
DRAWTEXT(X4
LL:=LLV(C,100),COLORGRAY;
X11:stICKLINE(成本和谐>REF(成本和谐,1) , 成本和谐*0.998,成本和谐*1.002,8,0),COLORRED,LINETHICK2;
X66:EMA(X1,N3*3),COLORGREEN,CIRCLEDOT;
TJ:=IF((C-REF(C,1))/REF(C,1)>0.025,1,0);
STICKLINE(C>REF(O,BArslAST(TJ =1)),REF(O,BARSLAST(TJ =1)),REF(O,BARSLAST(TJ =1)),8,0),COLORGREEN;
通达信微积分MACD指标公式
DIF12:=(EMA(CLOSE,12)-EMA(CLOSE,26))/((EMA(CLOSE,12)+EMA(CLOSE,26))/2)*1000;
DEA12:=EMA(DIF12,9);
相对macd:2*(DIF12-DEA12),COLORstICK,COLORRED;
kdIF12:=3*(DIF12-DEA12);{KDIF12:=2*(DIF12-DEA12)};
KDEA12:=SMA(KDIF12,5,2);
买卖力道:2*(KDIF12-KDEA12),COLORLIRED,LINETHICK1;
相对DIF:DIF12,COLORMAGENTA,LINETHICK2;
相对DEA:DEA12,COLORGREEN,LINETHICK2;
微分DIF:KDIF12,COLORYELLOW,LINETHICK2;
微分DEA:KDEA12,COLORLIGRAY,LINETHICK1;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。