Precise Pair Trading Pro
- Experts
- Arkadii Zagorulko
- Version: 1.0
- Activations: 5
A smart way to trade XAUUSD and EURUSD
This EA uses statistical arbitrage (pair trading) to spot opportunities when the price relationship between two instruments temporarily drifts from its normal behavior.
It opens trades when the spread deviates and closes them automatically when it returns to the mean.
With correlation filter it’s designed for safer, more precise entries.
EA inputs:
- Main pair symbol (traded as A) – The first instrument in the pair.
- Second pair symbol (traded as B) – The second instrument in the pair.
- Timeframe used for calculations – Timeframe on which spread and statistics are computed.
- Bars used for calculations – Number of bars used to calculate mean, standard deviation, and beta.
- Entry threshold (z-score) for opening trades – How far the spread must deviate from the mean to open a trade.
- Exit threshold (z-score) for closing trades – How close the spread must return to the mean to close the trade.
- Use returns for correlation filter – Calculate correlation based on price changes rather than raw prices.
- Use absolute correlation value – Trade only if absolute correlation exceeds threshold.
- Minimum correlation required to trade – Filters trades if the instruments are not sufficiently correlated.
- Lot size – Fixed lot size
- Magic number base for EA trades – Unique identifier to distinguish EA trades from others.
Important Notes for Testing and Use:
Always test the EA in Strategy Tester with “real ticks”.
Statistical arbitrage depends heavily on precise tick data, and simulated ticks can produce misleading results.
Since every broker has slightly different tick feeds, you must verify the EA with your own broker’s data before live trading.
This EA is designed for experienced traders familiar with correlation, z-score, and statistical arbitrage. It is not recommended for beginners.
This EA requires a minimum deposit of 300 EUR/USD (with leverage 1:33) for proper operation