bias:(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
BIAS1:(EMA(收盘价,4)-MA(收盘价,38))/MA(收盘价,38)*100;
BIAS2:(EMA(收盘价,7)-MA(收盘价,57))/MA(收盘价,57)*100;
BIAS3:(EMA(收盘价,9)-MA(收盘价,137))/MA(收盘价,137)*100;
BIAS4:(EMA(收盘价,12)-MA(收盘价,254))/MA(收盘价,254)*100,COLORRED;
PARTLINE(BIAS<ref(BIAS,1),BIAS),COLORGRAY;
PARTLINE(BIAS1<ref(BIAS1,1),BIAS1),COLORGRAY;
PARTLINE(BIAS2<ref(BIAS2,1),BIAS2),COLORGRAY;
PARTLINE(BIAS3<ref(BIAS3,1),BIAS3),COLORGRAY;
PARTLINE(BIAS4<ref(BIAS4,1),BIAS4),COLORGRAY;
FILLRGN(BIAS1<ref(BIAS1,1) and BIAS2<ref(BIAS2,1),-10,-5),COLORGRAY;
FILLRGN(BIAS2<ref(BIAS2,1) and BIAS3<ref(BIAS3,1),-10,-5),COLORGRAY;
FILLRGN(BIAS1<ref(BIAS1,1),-10,-5),COLORGRAY;
PARTLINE(BIAS1>ref(BIAS1,1),BIAS1),COLORYELLOW,LINETHICK2;
PARTLINE(BIAS2>ref(BIAS2,1),BIAS2),COLORMAGENTA,LINETHICK2;
PARTLINE(BIAS3>ref(BIAS3,1),BIAS3),COLORGREEN,LINETHICK2;
PARTLINE(BIAS4>ref(BIAS4,1),BIAS4),COLORRED,LINETHICK2;
FILLRGN(BIAS1>ref(BIAS1,1) and BIAS2>ref(BIAS2,1) and BIAS3>ref(BIAS3,1) and BIAS4>ref(BIAS4,1),-10,-5),COLORBROWN;
FILLRGN(BIAS1>ref(BIAS1,1),-10,-5),COLORBROWN;