A:=BARSCOUNT(C);C0:=(H+L+O+C)/4;
C3:=SUM(IFF(A>2,(C0/REF(C0,1)-1),0),15);
MC3:=SMA(C3,3,1)*100;
MC4:=MA(MC3,11);
涨跌:MC3,COLOR00FFFF,LINETHICK2;
趋势:MC4,COLORFFFF00,LINETHICK2;
PLOYLINE(C>0,MC3),COLOR00FFFF,LINETHICK2;
PLOYLINE(C>0,MC4),COLORFFFF00,LINETHICK2;
PLOYLINE(C>0,0),COLORAAAAAA,LINETHICK2;
STICKLINE(MC3>MC4,MC3,MC4,0.5,0),COLOR0000FF,LINETHICK2;
STICKLINE(MC3<MC4,MC3,MC4,0.5,0),COLOR00FF00,LINETHICK2;