A method for detecting a position with respect to a mobile working machine includes providing a current signal in a boundary conductor, which surrounds the defined area, in accordance with a boundary signal that is provided, the boundary signal corresponding to a pseudo-accident signal and receiving a detection signal of a magnetic field. The method further includes generating a reconstructed boundary signal from the detection signal providing a reference signal which has a bit pattern corresponding to the boundary signal provided carrying out a correlation method in order to determine a time-based correlation offset between the reference signal and the reconstructed boundary signal and a correlation value between the reference signal and the reconstructed boundary signal, which are displaced in relation to each other by the correlation offset determined and determining a position inside or outside the defined area as a function of the correlation value determined.