ATR Risk-Managed EA for EURUSD & XAUUSD - Breakeven + Daily DD Stop

Specification



### ** Main EA File** - `InstitutionalTrendPullbackScalper.mq5`

**Core Features Implemented:**

 **Multi-Timeframe Analysis**
- M15 trend filter (EMA20 > EMA50 for uptrends)
- M5 entry signals with 5-condition confirmation
- Independent indicator sets for both symbols

 **Advanced Entry Logic**
- RSI reversal detection (crosses thresholds)
- Price pullback zone validation
- Bullish/bearish candle close confirmation
- Spread and volatility filters

 **Risk Management (Industry-Standard)**
- ATR-based position sizing from account equity
- 1:3 reward-to-risk (SL 1.5×ATR, TP 3.0×ATR)
- Break-even automation at 1R profit
- ATR trailing stops after breakeven
- Daily loss limits (5% auto-shutoff)
- Consecutive loss cutoff (3 trades)

 **Symbol-Specific Settings**
- EURUSD: Spread ≤ 15 points, 0.5% risk
- XAUUSD: Spread ≤ 50 points, 0.75% risk
- Independent parameters per symbol

 **Execution Controls**
- New-bar execution only (prevents multi-entries per candle)
- Session time limits (8-22 UTC by default)
- Broker stop-level validation
- Error handling and indicator validation

---

### ** Implementation Guide**
Complete walkthrough covering:
- Installation in MT5 (step-by-step)
- All parameter explanations
- How the strategy works (entry/exit logic)
- Risk calculations with examples
- Troubleshooting guide (spread issues, order failures, etc.)
- Expected performance metrics
- Live trading checklist

---

### ** Backtest Optimization Guide**
Detailed protocol for:
- Backtest setup (proper data, timeframes, model)
- Acceptable performance thresholds
- Safe parameter optimization (RSI, ATR multipliers, risk%)
- Walk-forward analysis (consistency checking)
- Common optimization mistakes to avoid
- Performance tracking spreadsheet template
- FAQ on backtest vs live discrepancies

---

### ** Quick Reference Card**
Print-friendly cheat sheet with:
- Entry logic flowchart
- All 5 buy/sell conditions
- Position management rules (break-even, trailing)
- Risk management calculations
- Daily checklist
- Alert thresholds (green/yellow/red)
- Common entry mistakes to avoid

---

## Key Advantages of This EA

| Aspect | Implementation |
|--------|-----------------|
| **Win Rate** | 45-55% (not maximized for quality) |
| **Reward-Risk** | 1:3 ratio (2:1 after 1R breakeven) |
| **Trade Frequency** | 2-8 trades/day (not overtrading) |
| **Drawdown Control** | Daily 5% + consecutive loss limits |
| **Position Sizing** | Dynamic (adjusts to account growth) |
| **Risk Management** | 10+ layers of protection |
| **Code Quality** | Production-grade (includes error handling) |
| **Symbols** | Both EURUSD and XAUUSD supported |

---

## Next Steps

1. **Compile the EA** → Open in MT5, compile (Ctrl+Shift+F9)
2. **Backtest** → Run on 2 years EURUSD + XAUUSD data
3. **Validate** → Check win rate 45-55%, profit factor >1.3
4. **Demo Trade** → 2-4 weeks to confirm results match backtest
5. **Live Trade** → Start with 0.5% risk, scale to 1.0% after 100 trades


Responded

1
Developer 1
Rating
(111)
Projects
184
25%
Arbitration
25
16% / 76%
Overdue
16
9%
Free
2
Developer 2
Rating
(295)
Projects
367
30%
Arbitration
37
27% / 65%
Overdue
10
3%
Working
Published: 10 codes
3
Developer 3
Rating
(279)
Projects
378
72%
Arbitration
19
32% / 47%
Overdue
16
4%
Free
Published: 15 codes
4
Developer 4
Rating
(1)
Projects
1
0%
Arbitration
1
0% / 100%
Overdue
0
Free
5
Developer 5
Rating
(1)
Projects
1
0%
Arbitration
1
0% / 0%
Overdue
0
Free
6
Developer 6
Rating
(2678)
Projects
3426
68%
Arbitration
78
49% / 14%
Overdue
343
10%
Working
Published: 1 code
7
Developer 7
Rating
(7)
Projects
6
0%
Arbitration
4
25% / 75%
Overdue
2
33%
Free
8
Developer 8
Rating
(457)
Projects
725
34%
Arbitration
35
71% / 9%
Overdue
23
3%
Free
9
Developer 9
Rating
(23)
Projects
32
41%
Arbitration
9
22% / 33%
Overdue
4
13%
Loaded
Published: 8 articles, 35 codes
10
Developer 10
Rating
(55)
Projects
68
43%
Arbitration
15
27% / 60%
Overdue
1
1%
Working
11
Developer 11
Rating
(636)
Projects
745
34%
Arbitration
49
53% / 39%
Overdue
14
2%
Working
12
Developer 12
Rating
(11)
Projects
16
31%
Arbitration
5
40% / 40%
Overdue
4
25%
Free
13
Developer 13
Rating
(7)
Projects
13
15%
Arbitration
13
23% / 46%
Overdue
3
23%
Free
Published: 42 articles
14
Developer 14
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
15
Developer 15
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Free
16
Developer 16
Rating
(45)
Projects
53
57%
Arbitration
2
100% / 0%
Overdue
1
2%
Free
Published: 5 codes
17
Developer 17
Rating
(62)
Projects
90
29%
Arbitration
24
13% / 58%
Overdue
7
8%
Working
18
Developer 18
Rating
(185)
Projects
199
47%
Arbitration
4
50% / 25%
Overdue
1
1%
Loaded
19
Developer 19
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
20
Developer 20
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
21
Developer 21
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
22
Developer 22
Rating
(258)
Projects
269
29%
Arbitration
2
50% / 0%
Overdue
3
1%
Working
Published: 2 codes
23
Developer 23
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
24
Developer 24
Rating
(215)
Projects
282
21%
Arbitration
27
59% / 15%
Overdue
0
Working
25
Developer 25
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
26
Developer 26
Rating
(78)
Projects
248
74%
Arbitration
7
100% / 0%
Overdue
1
0%
Free
Published: 2 articles, 1 code
27
Developer 27
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
28
Developer 28
Rating
(29)
Projects
36
39%
Arbitration
0
Overdue
2
6%
Free
29
Developer 29
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
30
Developer 30
Rating
(2)
Projects
3
33%
Arbitration
0
Overdue
2
67%
Working
31
Developer 31
Rating
(265)
Projects
312
75%
Arbitration
16
69% / 0%
Overdue
6
2%
Working
32
Developer 32
Rating
(64)
Projects
145
46%
Arbitration
21
38% / 24%
Overdue
32
22%
Free
Similar orders
Aziz Toure 50 - 400 USD
I am an independent trader and entrepreneur based in Côte d’Ivoire. I work in financial markets, analyze trading opportunities, and provide digital financial services. I am also interested in international trade, online business, and developing long-term business activities
SMC Bot Creation 350 - 550 USD
Hello, I am interested in developing a professional MT5 Expert Advisor similar in functionality and technical sophistication to your reference product, Institutional SMC Robot: https://www.mql5.com/en/market/product/187011 I want to develop my own independent EA based on advanced Smart Money Concepts (SMC), with a strong focus on institutional price action, liquidity and market structure. The key functionalities I
Phixfx 30 - 150 USD
Project Brief: Multi-Asset EA/Indicator Optimization, Debugging, and Futures Strategy Refinement ​1. Project Overview & Objective ​I am looking for an experienced algorithmic developer to inspect, debug, optimize, and enhance an existing automated trading system. The system combines custom indicators and execution logic across Forex and Futures markets. ​The primary goals of this project are: ​Debug existing logic
​I am looking for an experienced MQL5 developer to build a fully automated MetaTrader 5 Expert Advisor (EA) optimized primarily for XAUUSD (Gold), featuring a clean Tkinter-style telemetry dashboard control concept or customizable input parameters. ​1. Core Strategy Rules (Full-Body Engulfing) ​Signal Identification: The EA must scan completed candles across multiple selectable timeframes (e.g., 1M, 5M, 15M, 30M, 1H)
I need an experienced MQL5 developer to create a semi-automated trade execution assistant for MetaTrader 5. Please read before applying: I only want developers who have already built a similar project at least once (a trading panel with trade management). If you have done it before, attach screenshots or links of the MT5 panels or dashboards you made. If you have never built something like this, or you cannot show
I am commissioning the development and reverse-engineering of a commercial-grade, multi-strategy quantitative trading portfolio modeled on proven institutional frameworks (Reference methodology: https://whop.com/the-agent-algo/products/ ). The goal is to develop a standalone, fully owned commercial trading system covering Nasdaq (NQ) and Gold (XAUUSD) with an integrated licensing engine ready for commercial
Exir AI 30 - 200 USD
I need an experienced MQL5 developer to build a custom AI-assisted Expert Advisor (EA) for MetaTrader 5. The EA will run on a live MT5 account with Tickmill and must support Forex and Crypto CFDs. Required instruments: - EURUSD - GBPUSD - USDJPY - XAUUSD - BTCUSD - ETHUSD Required timeframes: - M5, M15, and M30 Trading logic: - M30 determines the overall trend. - M15 identifies entry zones, support/resistance, and
Hello, I am an independent developer selling an Expert Advisor (EA) on the MQL5 Market. I am looking for an experienced Forex affiliate marketing company or professional marketer to promote my existing MT5 trading robot to customers worldwide. My proposed partnership offers a 35% commission per verified sale, with the possibility of a long-term collaboration. I would like to know: Do you promote third-party MT5
USD54 Applications The bot should open trades when the price breaks out of the band by a specified percentage, for example, 0.10%. If the price breaks above the band, the bot should open a long position. If the price breaks below the band, it should open a short position. The bot should also open trades when the price touches a band: Bullish band cross: When a bullish cross occurs between the bands, the bot should
#property strict #property version "1.00" #property description "EMA Trend + Pullback + Engulfing EA" // Include the standard MT5 trade library. #include <Trade/Trade.mqh> CTrade trade; //============================================================== // INPUT SETTINGS //============================================================== // Trend indicators input int FastEMA = 20; input int SlowEMA = 50; // Pullback

Project information

Budget
30 - 150 USD
Deadline
from 6 day(s)