通达信降补必死主图指标公式

通达信方向线指标公式

通达信降补必死主图指标公式:

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;

X6:EMA(X1,N3*3),colorwhite,circledot,linethick2;

X7:EMA(X1,N3*5),colormagenta,linethick4;

LC:=REF(CLOSE,1);

rsi:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(Abs(CLOSE-LC),6,1)*100;

ll:=llv(c,100),colorgray;

X11:stickline(成本和谐>ref(成本和谐,1) , 成本和谐*0.998,成本和谐*1.002,8,0),colorred,linethick2;

x30:=x1<ref(x1,1) and c<x1;

X31:stickline(sg<ref(sg,1) or x30, sg*0.998,sg*1.004,8,0),colorblue,linethick3;

X21:stickline(成本和谐<ref(成本和谐,1) , 成本和谐*0.998,成本和谐*1.002,8,0),colorgray,linethick4;

X66:EMA(X1,N3*3),colorgreen,circledot;

通达信红色量能柱指标公式