ma5:ma(c,5),colorwhite,POINTDOT;
ma10:ma(c,10),coloryellow,POINTDOT,LINETHICK2;
ma20:ma(c,20),colorff00ff,POINTDOT;
ma30:ma(c,30),colorgreen,POINTDOT,LINETHICK2;
ma60:ma(c,60),colorred,POINTDOT;
ma120:ma(c,120),colorffff00,POINTDOT;
zz1:=REF(CLOSE,1);
zz2:=SMA(MAX(CLOSE-zz1,0),6,1)/SMA(Abs(CLOSE-zz1),6,1)*100;
DRAWTEXT(crOSS(75,zz2),h*1.05,'卖') ,COLORyellow;
DRAWTEXT(CROSS(zz2,25),L*0.95,'买') ,colorred;
DRAWTEXTABS(5,5,' '),linethick1,COLOR00EEff;
PARTLINE( ref(ma(c,5),BArslAST( ma(v,5)=hhv(ma(v,5),5))),c),COLORGREEN,LINETHICK2;
PARTLINE( ref(ma(c,20),BARSLAST( ma(v,20)=hhv(ma(v,20),20))),c),colorblue,LINETHICK2;
PARTLINE( ref(ma(c,5),BARSLAST( ma(v,5)=LLv(ma(v,5),5))),c),colorred,LINETHICK2;
PARTLINE( ref(ma(c,20),BARSLAST( ma(v,20)=LLv(ma(v,20),20))),c),COLORYELLOW,LINETHICK2;