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<REF(A60,1),color009000);
FILLRGN(A5,DEA,DEA>REF(DEA,1) AND A1>A5,color0999ff,DEA>REF(DEA,1) AND A1<A5 AND A5>=REF(A5,1),COLOR222222,DEA>REF(DEA,1) AND A1<A5 AND A5<REF(A5,1),color222222);
FILLRGN(A5,DEA,DEA<REF(DEA,1) AND A1>A5,color009000,DEA<REF(DEA,1) AND A1<A5,color222222,DEA<REF(DEA,1),COLOR222222);
//{ _最新股票指标公式}
PARTLINE(DEA,A1>=DEA,colorFFFFFF,A1<DEA,colorFF9909),LINETHICK2;
PARTLINE(A5,A5>=REF(A5,1),color111FFF,A5<REF(A5,1),Color00f000),LINETHICK2;
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<UPPER,Color999999),LINETHICK1;
PARTLINE(LOWER,A1<=LOWER,color009000,A1>LOWER,Color999999),LINETHICK1;