MM:=-(.BIAS1+2*BIAS.BIAS2+3*BIAS.BIAS3)/6;MN:MA(MM,3),COLORWHITE,LINETHICK1;信号:EMA(MN,2);顶1:IF(RANGE(MN,-9,-6),MM,-6),COLORGREEN;顶2:IF(MN<=-9,MM,-10),COLORGREEN;底1:IF(RANGE(MN,6,9),6,2),COLORRED;底2:IF(MN>=9,MM,10),COLORRED;DRAWTEXT(OSS(MN,买入信号) AND COUNT(买入信号<-6,2)>1,MM,5),COLORRED,LINETHICK3;DRAWTEXT(CROSS(买入信号,MN) AND COUNT(买入信号>6,2)>1,MM,1),COLORBLUE,LINETHICK3;xg:cross(EMA(MA((BIAS.BIAS1+2*BIAS.BIAS2+3*BIAS.BIAS3)/6,3),2),-9);