Pound Yen Reversion Trader
- Experts
- 버전: 3.2
- 활성화: 5
Technical overview
Product type: Expert Advisor for MetaTrader 4
Recommended symbol: Pound Yen / GBPJPY
Recommended timeframe: M15
Trading style: short-term mean reversion / scalping
Main indicators: Bollinger Bands, RSI, EMA trend anchor
Default Stop Loss: 20 pips
Default Take Profit: 30 pips
Default maximum trade duration: 5 M15 candles
Default lot logic: dynamic lots enabled, capped at 0.30 lots for buy and sell positions
Grid: no
Martingale: no
Hedging logic: no
News trading: no
Multicurrency trading: no
Recommended use: Strategy Tester first, then demo account validation before live use
Pound Yen Reversion Trader is an Expert Advisor built specifically for short-term opportunities on the Pound Yen pair. The strategy is designed around a simple but powerful market behavior: price often stretches too far from its short-term average, then returns toward a more balanced zone.
The EA does not try to predict large trends. It focuses on controlled, repeatable entries when price reaches a statistical extreme on the M15 chart.
Core strategy
The trading logic uses three main layers:
1. Bollinger Band deviation
The EA watches for price moving outside the Bollinger Band range. This is used as the first sign that price may be temporarily stretched.
A buy setup appears when price moves below the lower band.
A sell setup appears when price moves above the upper band.
This does not mean every extreme is traded. The signal is filtered by RSI and by an EMA anchor.
2. RSI confirmation
RSI is used to confirm whether the move is stretched enough to justify a reversion entry.
Default settings:
MeanRevRsiPeriod = 7
MeanRevBuyRsi = 35
MeanRevSellRsi = 72
This means the EA looks for buy setups when RSI is relatively weak and sell setups when RSI is relatively strong.
3. EMA trend anchor
A common problem with mean reversion systems is entering too aggressively against a strong directional move. To reduce this problem, the EA uses an EMA anchor.
Default setting:
MeanRevEmaPeriod = 72
MeanRevTrendPadPips = 50
This means the EA only accepts a reversion trade when price is not too far away from the broader M15 balance area.
Exit logic
The EA uses several exit methods:
Fixed Stop Loss
Fixed Take Profit
Maximum time in trade
RSI-based exit for reversion completion
Default values:
Stop_Loss = 20
Take_Profit = 30
MaxBarsInTrade = 5
MeanRevExitBuyRsi = 48
MeanRevExitSellRsi = 55
The purpose is to avoid holding trades for too long. This EA is built for short-term reversion, not for long directional exposure.
Risk and lot management
The EA uses dynamic lot sizing, but it is capped.
Default values:
UseDynamicLots = true
MinDynamicLots = 0.10
MaxDynamicLots = 0.50
MaxBuyLots = 0.30
MaxSellLots = 0.30
Even though the internal lot calculation can evaluate stronger or weaker conditions, the default setup limits both buy and sell exposure to 0.30 lots.
Important: lot size should always be adjusted to your account size, leverage, broker conditions and personal risk tolerance.
What this EA is not
This EA is not a martingale system.
It does not increase lot size after losses in a recovery sequence.
It does not use grid averaging.
It does not open multiple layered recovery trades.
It does not trade multiple symbols.
It does not depend on news events.
It does not use neural networks or black-box prediction.
The logic is transparent and based on classic technical indicators.
Main input parameters
Entry_Amount
Base lot size used when dynamic lots are disabled.
UseDynamicLots
Enables or disables rule-based lot sizing.
MinDynamicLots
Minimum lot size used by the dynamic lot logic.
MaxDynamicLots
Maximum general lot limit.
MaxBuyLots
Maximum allowed lot size for buy trades.
MaxSellLots
Maximum allowed lot size for sell trades.
Stop_Loss
Stop Loss in pips.
Take_Profit
Take Profit in pips.
MaxBarsInTrade
Maximum number of candles a trade can remain open. On M15, the default value of 5 means the EA aims to close trades within a relatively short time window.
EntrySignalMode
Default value is 3, which activates the Bollinger / RSI reversion engine.
MeanRevBbPeriod
Bollinger Band period.
MeanRevDeviation
Bollinger Band deviation.
MeanRevRsiPeriod
RSI period used for entry and exit logic.
MeanRevBuyRsi
RSI threshold for buy setups.
MeanRevSellRsi
RSI threshold for sell setups.
MeanRevEmaPeriod
EMA period used as the trend anchor.
MeanRevTrendPadPips
Maximum allowed distance from the EMA anchor.
MeanRevExitBuyRsi
RSI level used to close buy trades.
MeanRevExitSellRsi
RSI level used to close sell trades.
Recommended setup
Symbol: GBPJPY
Timeframe: M15
Testing model: Every tick
Spread: test with realistic broker spread
VPS: recommended for stable execution
Broker: ECN or low-spread account preferred
Before live trading
Please follow this process:
1. Run a backtest on your broker data.
2. Use the M15 timeframe.
3. Use GBPJPY only unless you perform your own optimization.
4. Check spread, commission and execution quality.
5. Run the EA on a demo account.
6. Compare demo execution with Strategy Tester results.
7. Start with conservative lot sizes if you decide to use it live.
Installation guide
1. Open MetaTrader 4.
2. Go to File -> Open Data Folder.
3. Open the MQL4 folder.
4. Open the Experts folder.
5. Copy the EA file into the Experts folder.
6. Restart MetaTrader 4 or refresh Expert Advisors in the Navigator.
7. Open a GBPJPY M15 chart.
8. Drag the EA onto the chart.
9. Enable Algo Trading / AutoTrading.
10. Check that live trading is allowed in the EA settings.
11. Keep the default inputs for the optimized setup.
12. Test on demo before using on a real account.
Important risk notice
Trading Forex involves risk. Historical tests and past performance do not guarantee future results. Market conditions, spreads, slippage, commissions and execution speed can significantly affect performance. Use this Expert Advisor only after testing it with your own broker conditions and only with risk you fully understand.
