P:0;
A:=MA(C,3);
ZS:SLOPE(C,7)/C*10,COLORGREEN,LINETHICK2;
BZS:=ZS<REF(ZS,1);
IF(BZS-1,ZS,DRAWNULL),COLORRED,LINETHICK2;
MZS:SLOPE(A,9)/A*10,COLORWHITE,LINETHICK2;
BMZS:=MZS<REF(MZS,1);
{看股吧-股票公式网站 www.kanguba.com}
IF(BMZS-1,MZS,DRAWNULL),COLORCYAN,LINETHICK2;
DRAWICON(ZS>REF(ZS,1) AND ZS<0 AND ZS<MZS,ZS,1);
DRAWTEXT((ZS>REF(ZS,1) AND ZS>0 AND ZS<MZS),ZS,'↖②'),COLORYELLOW;