M1:MA(C,5),coloryellow; M2:MA(C,10),colorcyan; M3:MA(C,20),colorgreen; M4:MA(C,30),colorred,linethick2; 最大值:=MAX(MAX(M1,M2),MAX(M3,M4)); 最小值:=MIN(MIN(M1,M2),MIN(M3,M4)); DRAWICON((O<=最小值 AND C>=最大值 ),LOW*0.9,"buy"),colorred