We present a five-dimensional fully anisotropic holographic model for heavy quarks supported by Einstein-dilaton-three-Maxwell action; one of the Maxwell fields is related to an external magnetic field. Influence of the external magnetic field on the 5-dim black hole solution and the confinement/deconfinement phase diagram is considered. The effect of the inverse magnetic catalyses is revealed and positions of critical end points are found.