We investigate the effects the Copper and Oxigen atoms of the CuO-plane on magnetic properties in the YBCO within the frame work of the Ising model by using the effective field theory. In particular, we study the thermal behaviors of magnetizations of CuO-plane, YBCO and their components with taking the antiferromagnetic spin orientations. We find that the system undergoes a second-order phase transition and only the magnetization of CuO-plane illustrates the N-type compensation behavior. We also investigate the hysteresis loops behavior of CuO-plane, YBCO and their components and present the superconducting phase diagram. The phase diagram contains two different Meissner and four different vortex and a normal states.