通达信红绿峰指标公式通达信公式
2017-09-12 来源:网络 编辑:翔博软件
AL:=(C+L+H+O)/4; A1:=EMA(AL,1)-EMA(AL,60); A2:=(EMA(A1,3)-EMA(A1,20)); A3:=(EMA(A2,3)-EMA(A2,5))*100; M5:SUM(A3,0); DRAWBAND(M5,255,0,RGB(34,139,34)); M10:MA(M5,5);
AL:=(C+L+H+O)/4;
A1:=EMA(AL,1)-EMA(AL,60);
A2:=(EMA(A1,3)-EMA(A1,20));
A3:=(EMA(A2,3)-EMA(A2,5))*100;
M5:SUM(A3,0);
DRAWBAND(M5,255,0,RGB(34,139,34));
M10:MA(M5,5);
M20:MA(M10,5);
STICKLINE(1,M5,M10,0,0),COLORBROWN;
DRAWKLINE(M5,REF(M5,1),REF(M5,1),M5);
A1:=EMA(AL,1)-EMA(AL,60);
A2:=(EMA(A1,3)-EMA(A1,20));
A3:=(EMA(A2,3)-EMA(A2,5))*100;
M5:SUM(A3,0);
DRAWBAND(M5,255,0,RGB(34,139,34));
M10:MA(M5,5);
M20:MA(M10,5);
STICKLINE(1,M5,M10,0,0),COLORBROWN;
DRAWKLINE(M5,REF(M5,1),REF(M5,1),M5);