Greenback Yen Grid
- Experts
- Versão: 1.0
- Ativações: 5
Greenback Yen Grid — Grid Expert Advisor optimized for USDJPY (M5)
A long-only grid (averaging) Expert Advisor for MetaTrader 5, optimized for USDJPY on the M5 chart. It builds a basket of buy positions at fixed 0.1-yen grid intervals — both below and above the current basket range — and closes the whole basket when its profit target is reached.
Unlike martingale-style grids, every grid step uses the same fixed lot size: exposure grows linearly (0.01 lot per step at the default base lot), never exponentially. Entry timing is filtered by a Stochastic oscillator on M15, and new entries are limited to one per chart period.
All strategy parameters are fixed to the values validated in a 5+ year backtest. You only set the base lot and the risk controls — there is nothing to over-optimize.
Backtest (USDJPY M5, 2021-01-01 – 2026-11-16)
- Initial deposit: JPY 1,000,000, leverage 1:1000, real ticks
- Net profit: +207.3% (JPY +2,073,360)
- Profit Factor: 1.96
- Win rate: 75.5% (19,241 trades, all long)
- Max equity drawdown: 19.7%
- Maximum grid depth reached: 76 positions (0.76 lots total, all at the fixed base lot)
Backtest on a USD account (USDJPY M5, same period)
- Initial deposit: USD 10,000, leverage 1:1000, real ticks
- Net profit: +159.6% (USD +15,957.69)
- Profit Factor: 2.12
- Win rate: 76.4% (15,542 trades, all long)
- Max equity drawdown: 17.5%
Inputs (only 7)
- MagicNumberUp / MagicNumberDown — magic numbers for the two grid directions
- Comment — order comment
- BaseLot — lot size of every grid step (default 0.01)
- MaxGridPositions — max grid positions per direction (default 100, 0 = unlimited)
- EquityStopPercent — close all and stop at this balance-based drawdown % (default 40; set 0 to disable)
- MinMarginLevel — stop new entries below this margin level % (default 0 = off)
Recommendations
- Recommended symbol and timeframe: USDJPY, M5 (the EA runs on any symbol, but all parameters are optimized for USDJPY M5; results on other symbols will differ)
- Recommended account type: hedging (on netting accounts, buy and sell positions are netted and the grid cannot work as designed)
- Recommended leverage: 1:500 or higher
- Recommended deposit: JPY 1,000,000 (approx. USD 6,500) or equivalent for BaseLot 0.01. In a long one-way move the basket can grow to dozens of fixed-lot positions (76 in the backtest), so the account must be sized for the total volume, not for a single position.
- Account currency: profit targets are defined in JPY terms and automatically converted to your account currency at the prevailing rate, so the EA behaves the same on USD, EUR and other accounts.
Risk warning
This EA uses a grid/averaging strategy and does not use a stop loss by default. It is long-only: in a sustained USDJPY downtrend it keeps adding positions and drawdown grows until the market recovers or the equity stop triggers. In the backtest period the maximum equity drawdown was 19.7%, but larger drawdowns are possible. Past performance does not guarantee future results. Use the built-in protections (MaxGridPositions, EquityStopPercent, MinMarginLevel) according to your own risk tolerance, and test on a demo account first.
