dxja:=abs((h+l+o+2*c))/5;
ma1:=ema(dxja,20);
MAt:=ref(MA1,1)+(CLOSE-ref(MA1,1))/20;
ub:mat+mat*0.04,pointdot,linethick3;
Lb:MAt-mat*0.04,pointdot,linethick3;
中线:=mat,pointdot,linethick1;
Fac:=(H+L+C)/3;
MA5:=MA(FAC,5);
MID:=MA(FAC,20),linethick1,colorwhite;
UPPER1:MID + 2*STD(CLOSE,20);
LOWER1: MID - 2*STD(CLOSE,20);