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);{www.9m8.cn 九毛八公式指标网}
涨跌:MC3,COLOR00FFFF,LINETHICK2;
趋势:MC4,COLORFFFF00,LINETHICK2;
STICKLINE(MC3 MC4,MC3,MC4,1,0),COLOR0000FF,LINETHICK2;
STICKLINE(MC3 MC4,MC3,MC4,1,0),COLOR00FF00,LINETHICK2;