CFDs and forex are complex instruments and come with a high risk of losing money rapidly due to leverage. Risk disclosure

Pairs Trading and Correlation in Forex

This guide explains how a pairs trading strategy is built, what keeps the spread together, and where it breaks.

Extrade Pakistan editorial team ·

On this page
  1. What pairs trading is
  2. Correlation is not cointegration
  3. How the spread is built
  4. Typical rules
  5. How pairs trading loses money
  6. Pakistan context
  7. Frequent questions

What pairs trading is

Pairs trading means opening opposite positions in related instruments at the same time. You buy the instrument that looks cheap relative to the other and sell the one that looks expensive. The trade is about the spread between them, not the direction of the market. Here, spread means the price gap or ratio between the instruments, not the bid-ask spread.

The idea is that if both instruments move together over time, a temporary gap should close. When it does, the trade is closed. Pairs trading is a type of mean reversion trade applied to a relationship instead of a single price.

In correlation trading forex, typical candidates are currency pairs that share a base or quote currency, such as EURUSD and GBPUSD. Other examples are related metals such as XAUUSD and silver, or stock indices from the same region. See currency pairs for how pairs are quoted.

A–B: r = 0.98A–C: r = -0.93ABC
Correlation (r) measures how two prices move together: near +1 they move alike (A and B), near −1 opposite (A and C). Computed on generated prices. Illustrative example: made-up numbers for learning, not real prices or a broker's conditions.

Correlation is not cointegration

Correlation measures how closely the returns of instruments move in the same direction. It can range from moving perfectly together, through no relationship, to moving perfectly opposite. It says nothing about whether the price gap stays stable.

Cointegration is a stronger property. Instruments are cointegrated when a weighted combination of their prices tends to return to a stable average, even if each price wanders on its own. That stable combination is what a pairs trader actually needs.

Highly correlated instruments can still drift apart for months. A forex correlation strategy built only on correlation can therefore keep losing while the correlation figure still looks high. Traders who test for cointegration use statistical tests on historical data. These tests describe the past only.

How the spread is built

  1. Choose the instruments. There should be an economic reason for the link, such as a shared currency, a shared economy or a shared commodity driver.
  2. Estimate the hedge ratio. This is how much of the second instrument you trade against the first. It is usually found by regression on past prices. It is not simply equal lot sizes, because pip values and volatility differ.
  3. Calculate the spread. This is the price of the first instrument minus the hedge ratio times the price of the second.
  4. Standardise it. Many traders convert the spread into a z-score. The z-score shows how many standard deviations the spread is from its recent average.

The calculators page helps with pip value and margin for each leg.

Typical rules

These are common rule types. They are not recommendations.

Rule Common form
Entry Open when the z-score moves beyond a chosen threshold
Exit Close when the spread returns near its average
Stop Close if the z-score keeps widening past a further threshold
Time stop Close if the spread has not reverted within a set period
Re-test Recheck the relationship on a schedule and stop trading the pair if it fails

Both legs are opened and closed together. A leg left open on its own becomes an ordinary directional position.

Hypothetical example

This example is hypothetical. It shows the mechanics only and makes no claim about results.

Suppose EURUSD and GBPUSD have tracked each other closely in past data. Then GBPUSD weakens sharply against EURUSD after UK-specific news, and the z-score moves past the entry threshold. The trader buys GBPUSD and sells EURUSD in the hedge-ratio size.

If the gap narrows, both legs are closed. If the news reflects a lasting change in UK policy, the gap may keep widening. Then the stop closes both legs at a loss.

How pairs trading loses money

Position sizing and loss limits are covered in risk management. Pairs trading is different from forex hedging of a single exposure.

Pakistan context

On payments, per the SBP, remitting foreign exchange to overseas forex/margin/CFD platforms is not allowed through any payment channel (FERA s.5(1)). Also, per the SECP, offshore platforms have no Pakistani licence or oversight and offer no legal protection or recourse. Read law and regulators before opening any account.

Frequent questions

Is pairs trading market-neutral?

It aims to reduce exposure to the overall market direction. It still carries spread risk, cost risk and breakdown risk.

Is high correlation enough to trade a pair?

No. Correlation describes returns moving together. A pairs trading strategy needs the price gap itself to revert, which is closer to cointegration.

How often should the relationship be checked?

On a regular schedule you set in your trading plan. Stop trading the pair if the tests no longer support it.

Can I practise this without real money?

Yes. A demo account lets you test the mechanics. Demo fills and costs may differ from live conditions.

Sources

  1. State Bank of Pakistan, EPD Circular Letter No. 08 of 2022 · sbp.org.pk › Epd circular letter no 08 of 2022 — checked 2026-11-11
  2. Securities and Exchange Commission of Pakistan (press release, 09.04.2025) · secp.gov.pk › Press Release SECP Cautions Public Against Illegal Offshore Trading an — checked 2026-11-11

Related pages