The XYZ polarization analysis is suitable to study the possible presence of short range antiferromagnetic correlations on a sample. If these correlations appear under high pressure we need to use a proper pressure cell, which should be non-depolarizing, and at the same time it should have little or no diffuse scattering. A CuBe VX-1 type pressure cell with cryostat will be used to perform polarization analysis under high-pressure on D7. After calibrating the all instrument factors, the XYZ polarization analysis carried out for powder Ni50Mn34In16 ferromagnetic Heusler alloy under pressure. In this sample, the magnetization drops in the vicinity of the martensitic transition, which is related to the development of antiferromagnetic correlations due to decreased Mn-Mn separation in the martensitic state. On applying pressure, the magnetization goes to zero and the sample gets a suitable state for polarization analysis.