L1:=6;
bias:(CLOSE-MA(CLOSE,L1))/MA(CLOSE,L1)*100,NODRAW,COLORWHITE;
STICKLINE(BIAS,0,BIAS,2,0),COLORLIGRAY;
STICKLINE(BIAS>=0 AND BIAS<3,0,BIAS,2,0),COLORLIGRAY;
{ _最新股票指标公式}
STICKLINE(BIAS>=3 AND BIAS<5,0,BIAS,2,0),COLORRED;
STICKLINE(BIAS>=5 AND BIAS<8,0,BIAS,2,0),COLORLIRED;
STICKLINE(BIAS>=8 AND BIAS<11,0,BIAS,2,0),COLORYELLOW;
STICKLINE(BIAS<=0 AND BIAS<-5,0,BIAS,2,0),COLORGRAY;
STICKLINE(BIAS<=-8 ,0,BIAS,2,0),COLORMAGENTA;