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
(108)
Projects
179
25%
Arbitration
24
17% / 75%
Overdue
16
9%
Free
2
Developer 2
Rating
(267)
Projects
335
29%
Arbitration
36
28% / 64%
Overdue
10
3%
Working
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
(2672)
Projects
3408
68%
Arbitration
77
48% / 14%
Overdue
342
10%
Free
Published: 1 code
7
Developer 7
Rating
(7)
Projects
6
0%
Arbitration
4
25% / 75%
Overdue
2
33%
Free
8
Developer 8
Rating
(454)
Projects
720
34%
Arbitration
35
71% / 9%
Overdue
22
3%
Free
9
Developer 9
Rating
(12)
Projects
17
35%
Arbitration
5
40% / 20%
Overdue
1
6%
Working
Published: 6 articles, 34 codes
10
Developer 10
Rating
(48)
Projects
58
34%
Arbitration
15
27% / 60%
Overdue
1
2%
Working
11
Developer 11
Rating
(611)
Projects
711
33%
Arbitration
45
49% / 42%
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: 35 articles
14
Developer 14
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
15
Developer 15
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
16
Developer 16
Rating
(44)
Projects
51
59%
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
(169)
Projects
180
46%
Arbitration
3
33% / 33%
Overdue
1
1%
Working
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
267
30%
Arbitration
0
Overdue
3
1%
Working
Published: 2 codes
23
Developer 23
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
24
Developer 24
Rating
(202)
Projects
263
22%
Arbitration
23
52% / 17%
Overdue
0
Loaded
25
Developer 25
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
26
Developer 26
Rating
(78)
Projects
246
74%
Arbitration
7
100% / 0%
Overdue
1
0%
Free
Published: 1 article
27
Developer 27
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
28
Developer 28
Rating
(28)
Projects
34
35%
Arbitration
0
Overdue
2
6%
Free
29
Developer 29
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
30
Developer 30
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
31
Developer 31
Rating
(256)
Projects
300
76%
Arbitration
13
77% / 0%
Overdue
4
1%
Working
32
Developer 32
Rating
(64)
Projects
144
46%
Arbitration
20
40% / 20%
Overdue
32
22%
Free
Similar orders
I have an MT4 custom indicator (.ex4) that I use regularly, and I would like an identical MT5 version. Important: I do not have the source code (.mq4). I only have the compiled MT4 indicator. I am looking for an experienced MQL developer who can recreate the indicator's functionality and appearance for MT5 by analyzing its behavior. The MT5 version should match the MT4 version as closely as possible, including
Mac200 50+ USD
I need a Trend following Bot. Here we took entries by looking at two indicator which are 200 period ema and 12 26 9 MacD. Rules for entry exit are: Buy trade: When market is above 200 ema and MacD Line cross over the signal line and this cross over happened below the zero line of MacD indicator. We simply put Buy trade. Sell trade: When market is below 200 ema and MacD line crosses below the signal line and this
1. The general process is: Automated online forex marketing to find potential clients -> Answering potential clients' questions -> Converting them into actual clients -> Opening accounts, depositing funds, and copying trades. 2. Developers could implement an AI Digital Twin/Shadow Agent to answer customer questions, eliminating the need for me to answer customer inquiries. 3. I have a CTA website and I'm manually
Hello Traders and Investors, I am a professional algorithmic trading developer specialized in building high-quality Expert Advisors (EAs), Indicators, Scripts, and Trade Management Tools for MetaTrader 4 and MetaTrader 5. With extensive experience in financial markets and trading automation, I can transform your trading ideas into reliable and efficient solutions with clean, optimized, and well-structured code. My
Привіт. Шукаю когось, хто б застосував мій код як бота . Я торгую індексом Aus_200 SFE (не XJO). Бот базується на MACD входу/виходу, RSI, стохастиці та vwap. Як тільки роботу приймуть, мені потрібно внести кілька коректив; однак, нічого суттєвого. Дякую
A good trend predicting indicator is the one which can identify the trend change as soon as it happens on the chart. when a new candle is formed it should tell whether its going to go up or down. I have already seen a lot of repainting trend predictors so if your indicator is repainting then please don't bother contacting. I would like to see the demo version and then if satisfied , I would want the source code too
Bonjour, je recherche un développeur MQL5 expérimenté pour créer un Expert Advisor pour MetaTrader 5 basé sur une stratégie de trading intégrant des principes de gestion des risques rigoureux et d'intelligence financière. Le robot doit être capable de gérer plusieurs paires de devises et d'optimiser automatiquement les entrées et sorties en fonction de conditions de marché prédéfinies."
MT4/MT5 HFT EA us30 30 - 3000 USD
Hello everybody, I'm looking for an experienced MQL4/MQL5 developer to optimize a High-Frequency Trading (HFT) Expert Advisor for both MT4 and MT5. The EA performs consistently and profitably on demo accounts, but when it is run on Raw and Standard live accounts under what appear to be the same trading conditions, it begins generating losses. I do not have the original source code (.mq4/.mq5); I only have the
8 cap prop firm passing 30 - 3000 USD
I am looking for an experienced MQL4/MQL5 HFT developer to build or optimize a High-Frequency Trading (HFT) Expert Advisor that can successfully pass proprietary trading firm challenges and perform consistently under live trading conditions with brokers such as 8cap or BlackBull Markets . The developer should have proven experience with HFT execution, ultra-low-latency trading, broker execution, slippage, spreads
Hello, I am looking for an existing, fully backtestable MT5 Expert Advisor or EA portfolio designed specifically for passing an FTMO-style prop-firm evaluation. I am not looking for unrealistic profit claims or a visually perfect backtest. My priority is a statistically defensible probability of passing the challenge while respecting all risk limits. Primary objective The system should be designed for the current

Project information

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