The current in a wire near to a metal part (Iron bar) would generate a magnetic field. This is generated by the relation between magnetic and electric fields, the maxwell equations.
The current is the same as the movement of electrons, which are charged particles, as the moved the electric field is generated.
In terms of the direction, is set by the right-hand rule. Depending on the drawing you have or how you understand the problem you can draw the direction of the field.
The field is in the perpendicular plane to the line or direction in which the current flows.
Also, when you turn off the circuit and the current stops, maybe a low current can be induced in the wire due to the magnetic field in the iron bar, but this magnetic field was generated by the circuit. In other words, the residual magnetic field after you turn off the circuit can induce current but is so low