{N:2,250,12;N1:24}
AS5:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100,COLORYELLOW;
BIAS1:=(CLOSE-MA(CLOSE,N1))/MA(CLOSE,N1)*100,COLORGREEN;
BIAS2:=(CLOSE-MA(CLOSE,55))/MA(CLOSE,55)*100,COLORGREEN,STICK,LINETHICK3;
分界线:=BIAS1>=0;
BIAS:=(CLOSE-MA(CLOSE,N))/MA(CLOSE,N)*100,COLORRED;
上轨:MA(BIAS1,20)+1.618*STD(BIAS2,20),COLORLIGRAY,DOTLINE;
中轨:MA(BIAS1,20),COLORWHITE,DOTLINE,LINETHICK1;
下轨:MA(BIAS1,20)-1.618*STD(BIAS2,20),COLORLIGRAY,DOTLINE;
最高:=BIAS1*1.1,COLORGREEN;
最低:=BIAS1*0.90,NODRAW;
收盘:=BIAS1,NODRAW;
开盘:=REF(收盘,1),NODRAW;
STICKLINE(收盘>=开盘,最高,最低,0,0),COLORRED;
STICKLINE(收盘>=开盘,收盘,开盘,1.5,1),COLORRED;
STICKLINE(收盘<开盘,最高,最低,0,0),COLORGREEN;
STICKLINE(收盘<开盘,收盘,开盘,1.5,1),COLORGREEN;