Relationship between solar wind parameters and magnetic activity in the near-pole region: Application to space weather forecasting