A5:MA(C,5),color999999,POINTDOT,LINETHICK1;
A20:MA(C,20),colorblue;
A60:=MA(C,60),color0111FF;
A1:=MA(C,1);
DEA:=EMA(((SLOPE(CLOSE,21) * 20) + CLOSE),42),COLORFF7FFF,LINETHICK1;
PARTLINE(A60,A60>REF(A60,1),color0111FF,A60
FILLRGN(A5,DEA,DEA>REF(DEA,1) AND A1>A5,color0999ff,DEA>REF(DEA,1) AND A1 FILLRGN(A5,DEA,DEAA5,color009000,DEA
PARTLINE(DEA,A1>=DEA,colorFFFFFF,A1 PARTLINE(A5,A5>=REF(A5,1),color111FFF,A5
N=20; P=2; MID:=MA(CLOSE,N),color999999,POINTDOT,LINETHICK1; UPPER:=MID + P*STD(CLOSE,N),color999999; LOWER:=MID - P*STD(CLOSE,N),color999999; PARTLINE(UPPER,A1>=UPPER,color009000,A1 PARTLINE(LOWER,A1<=LOWER,color009000,A1>LOWER,Color999999),LINETHICK1;