N1:=5;
BIAS5 :(CLOSE-MA(CLOSE,N1))/MA(CLOSE,N1)*100;
0;
STICKLINE(BIAS5>0,BIAS5,0,1,1),COLORRED;
STICKLINE(BIAS5<0 ,BIAS5,0,0.5,1),COLORGREEN;

 

通达信五日乖离率指标公式