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;
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;