DA:=MAX(MA(C,60),MA(C,120));
DB:=MIN(MA(C,60),MA(C,120));
红持股:C>DA,COLORRED,NODRAW;
绿持币:C<DB,COLORGREEN,NODRAW;
黄观望:DA>=C AND C>=DB,COLORYELLOW,NODRAW;
STICKLINE(C>DA,0.5,1.0,3,0),COLORRED,LINETHICK2;
STICKLINE(C<DB,0.5,1.0,3,0),COLORGREEN,LINETHICK2;
STICKLINE(DA>=C AND C>=DB,0.5,0.8,2,0),COLORYELLOW,LINETHICK2;