As traditional measurement while drilling (MWD) method cannot meet the high reliability, high precision requirements for drilling complex structure wells. A guided-orientation method based on rotating magnetic field has prominent advantages on the twin parallel horizontal wells and can apply in twin parallel horizontal wells. In this paper, RMRS, namely Rotating Magnet Ranging system, its operating principle was gave firstly while applied for drilling twin parallel horizontal wells. The rotating magnetic sub was characterized by a pair of orthogonal magnetic dipoles, and then build the model for positioning the twin parallel horizontal wells Finally, the authors used the Maxwell software to simulate the algorithm based on the scene environment, and then proves that algorithm is correct and useful for guiding the well to drill and keeping the twin wells parallel.