Peace AllPairs Grid
- Experts
- Shota Watanabe
- Versione: 1.0
PEACE AllPair Grid|All-Pairs Grid EA with Economic News Filter
Simple. Built to run for the long term.
Instead of relying only on price swings, PEACE focuses on time-based averaging (interval control) to stay adaptable across changing market conditions.
Instead of relying only on price swings, PEACE focuses on time-based averaging (interval control) to stay adaptable across changing market conditions.
Key Features
- Works on all currency pairs (no strict symbol limitations)
- Designed for stable, long-term operation — not an aggressive grid approach
- All parameters are unlocked so you can tune it to your own style
- Lightweight & fast — optimized for easier Strategy Tester optimization
- Time-based grid control: additional entries are managed via Nanpin_interbal_hour
Key Feature|US High-Impact News Filter (EconomicStop)
One of PEACE’s strongest features: Automatically avoid “news spikes”.
PEACE can read high-impact US economic events from the MetaTrader 5 Economic Calendar and restrict NEW entries before and after the release.
PEACE can read high-impact US economic events from the MetaTrader 5 Economic Calendar and restrict NEW entries before and after the release.
- Data source: MT5 built-in Economic Calendar (US / high-impact events)
- What it does: Stops new entries around the news window (existing positions are managed normally)
- Goal: Reduce exposure to rapid volatility expansion and spread widening often seen around major releases
| Parameter | Default | Description |
|---|---|---|
| [EconomicStop] | false | Enable/disable the US high-impact news filter (not available in Strategy Tester) |
| StopMin | 180 | Stop NEW entries X minutes before the release |
| StartMin | 180 | Resume NEW entries X minutes after the release |
Note
This feature relies on the MT5 Economic Calendar. Depending on your environment, calendar availability or permissions may vary. Also, this filter is not available in the Strategy Tester.
This feature relies on the MT5 Economic Calendar. Depending on your environment, calendar availability or permissions may vary. Also, this filter is not available in the Strategy Tester.
Concept|More “Time Axis” than “Price Axis”
PEACE does not chase price moves alone. It manages averaging primarily based on the passage of time (the horizontal axis) to keep entries organized.
- Helps avoid excessive consecutive entries by structuring additions with time intervals
- Aims to adapt to volatility changes with Auto_Adjustment (relative volatility-based timing)
Recommended Presets (Pairs Used in Our Backtests)
PEACE is not restricted to specific symbols, but we tested the following pairs as recommended setups:
| Symbol | Timeframe |
|---|---|
| AUDCAD | H1 |
| USDCAD | H1 |
| EURGBP | H1 |
| USDCHF | H1 |
| NZDUSD | H1 |
| AUDNZD | H1 |
| GBPCAD | H1 |
| GBPNZD | H1 |
Who This EA Is For
- Traders who want a simple averaging/grid EA
- Those who prefer full control and detailed parameter tuning
- Users who want to manage trading hours, spread filters, and lot sizing according to their broker conditions
Basic Setup (Guideline)
- Attach the EA to a chart (recommended: H1)
- Set TimeZone / SummerTime according to your broker’s GMT
- Adjust Max_Spread to match your broker environment
- Select lot mode: fixed (Lots) or automatic (MM)
- Tune the grid/averaging settings: Nanpin_interbal_hour / NanpinCount / NanpinEntryPips / NanpinLotsMult
Important Notes for Live Operation
Averaging (grid) strategies may increase drawdown depending on market conditions. Please review NanpinCount (max entries), lot multiplier, and stop-loss (SL) settings very carefully.
Averaging (grid) strategies may increase drawdown depending on market conditions. Please review NanpinCount (max entries), lot multiplier, and stop-loss (SL) settings very carefully.
Parameters
| Parameter | Default | Description |
|---|---|---|
| MAGIC1 | 7101 | Magic number for BUY orders (must be different from SELL) |
| MAGIC2 | 7102 | Magic number for SELL orders (must be different from BUY) |
| COMMENT | PEACE | Order comment (“_” underscore is reserved internally and cannot be used) |
| Slippage(pips) | 1.0 | Allowed slippage |
| Max_Spread(pips) | 5.0 | Maximum allowed spread |
| Position_Type | Long_Short | Position direction |
| StartTime GMT+2(+3) | 2 | Trading start hour (GMT+2; aligned for US DST in concept) |
| EndTime GMT+2(+3) | 22 | Trading stop hour (GMT+2; aligned for US DST in concept) |
| Out_of_time_Nanpin | false | Allow averaging entries during off-hours |
| Lots | 0.01 | Initial lot size |
| MM | false | Enable automatic lot sizing |
| Base_Leverage | (optional) | Factor used for automatic lot sizing |
| TP_pips | 10.0 | Take-profit distance (0 = disabled) |
| TP_profit | 10.0 | Take-profit amount (0 = disabled) |
| SL_pips | 0 | Stop-loss distance (0 = disabled) |
| SL_profit | 0 | Stop-loss amount (0 = disabled) |
| TrailingStop | false | Enable trailing stop |
| TrailingStopPips | (optional) | Trailing stop distance |
| EMA_reverse | false | Use counter-trend vs EMA |
| EMA_Type | H1 | EMA timeframe |
| EMA_period | 0 | EMA period (0 = disabled) |
| Entry_Type | select | Entry mode (always = always on / select = oscillator-based counter-trend) |
| Auto_Adjustment | true | Automatically adjust grid timing using relative volatility logic |
| Adjustment_sensor | 14 | Adjustment sensitivity (higher = less sensitive) |
| Nanpin_interbal_hour | 3.0 | Averaging interval (hours) |
| NanpinCount | 10 | Maximum number of averaging entries |
| NanpinEntryPips | 20 | Minimum distance between entries (pips) |
| NanpinLotsMult | 1.7 | Lot multiplier for averaging entries |
| [EconomicStop] | false | US high-impact news filter (not available in Strategy Tester) |
| StopMin | 180 | Stop new entries X minutes before news |
| StartMin | 180 | Resume new entries X minutes after news |
| TimeZone | 2 | Broker GMT offset |
| SummerTime | auto_us | Daylight Saving Time mode |
| TraderTime | H1 | Base timeframe used for trading |
| TradeSymbol | 0 - Current trading symbol | Select trading symbol |
Common Notes
- Wider spreads may cause unexpected execution. Please adjust Max_Spread for your broker conditions.
- Trading hours may shift depending on broker server time (GMT). Please verify TimeZone / SummerTime.
- During sharp moves, drawdown can increase. Avoid setting NanpinCount and NanpinLotsMult too aggressively.
Disclaimer (Please Read)
- This product is not investment advice and does not guarantee profits.
- Backtest and forward-test results do not guarantee future performance.
- Unexpected losses may occur due to rapid market moves, spread widening, slippage, requotes, connectivity issues, or server delays.
- Averaging (grid) strategies may lead to significant drawdowns depending on market conditions. Please test on a demo account and use only within your acceptable risk limits.
- The developer shall not be liable for any damages (direct or indirect) arising from the use of this product.
PEACE’s biggest strength is tunability.
Start with small lots and conservative risk settings, then optimize for your broker environment. <
Start with small lots and conservative risk settings, then optimize for your broker environment. <
