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
183
25%
Arbitration
25
16% / 76%
Overdue
16
9%
Free
2
Developer 2
Rating
(282)
Projects
353
29%
Arbitration
37
27% / 65%
Overdue
10
3%
Loaded
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
(2676)
Projects
3414
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
(455)
Projects
721
34%
Arbitration
35
71% / 9%
Overdue
23
3%
Free
9
Developer 9
Rating
(16)
Projects
23
48%
Arbitration
8
25% / 38%
Overdue
2
9%
Loaded
Published: 7 articles, 35 codes
10
Developer 10
Rating
(52)
Projects
64
39%
Arbitration
15
27% / 60%
Overdue
1
2%
Working
11
Developer 11
Rating
(619)
Projects
722
33%
Arbitration
46
48% / 41%
Overdue
14
2%
Loaded
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: 39 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
(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
(179)
Projects
193
46%
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
(211)
Projects
274
21%
Arbitration
24
54% / 17%
Overdue
0
Free
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%
Working
29
Developer 29
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
30
Developer 30
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Working
31
Developer 31
Rating
(261)
Projects
306
76%
Arbitration
13
77% / 0%
Overdue
5
2%
Loaded
32
Developer 32
Rating
(64)
Projects
144
46%
Arbitration
21
38% / 24%
Overdue
32
22%
Free
Similar orders
Hi, I need an experienced NinjaTrader 8/NinjaScript developer to finish or rebuild an automated futures strategy, ideally by the end of this week. I already have the complete TradingView Pine Script reference strategy, an existing ~2,000-line NinjaScript implementation, Playback logs, and known historical benchmark trades. MOST IMPORTANT REQUIREMENT: TRADINGVIEW ↔ NINJATRADER PARITY. The Pine Script is the reference
I am looking for a developer experienced in EAs, MT5 and trade management optimization to help me add an intelligent early-exit system to my existing XAUUSD trading robot. The EA is already fully functional and performs best on the M15 timeframe. The entry strategy, BUY/SELL logic, sessions and core structure are already implemented. The work should focus exclusively on adding early exits for trades that are
I need a custom MQL5 indicator for MetaTrader 5. The indicator must automatically print entry, stop loss, and take profit zones on the chart using dots. A critical requirement is that these dots must be non-lagging and absolutely non-repainting. Additionally, the indicator needs to identify and display current supply and demand zones. Please provide the mq5 source code and the ex5 file upon completion
PHANTOM PROTOCOL V1 35 - 150 USD
PHANTOM PROTOCOL V1 – MT5 EXPERT ADVISOR SPECIFICATION Develop a professional MetaTrader 5 (MT5) Expert Advisor named “PHANTOM PROTOCOL V1”. PRIMARY MARKET: - XAUUSD (Gold) - Designed primarily for M15 and H1 timeframes. - The EA must work with both 3-digit and 2-digit gold pricing where applicable. TRADING LOGIC: Use pure price-action and market-structure analysis rather than relying on a single indicator. The EA
I need an experienced trading-data specialist who can help me obtain 3–4 years of historical market data compatible with NinjaTrader 8 . The data will be used for trading strategy development, backtesting, and analysis
Project Overview I have an existing MT5 Expert Advisor (EA) written in MQL5. The source code ( .mq5 ) will be provided. The underlying strategy is a trend-following system that performs well during trending market conditions, but requires professional quantitative research to improve its ability to identify and avoid highly sideways/range-bound market conditions. The objective of this project is not to build a new EA
Most of the expert is already coded . Create a panel to show the Ratio for the Range . Trigger is based on ratio . Show Distribution / project starts after we clear Distribution
Title: Simple background trading bot for my Oanda account (v20 REST API) Overview Hi, I need a simple, lightweight event based standalone trading bot that connects directly to my Oanda account using broker’s standard REST API (V20 account) via VPS The bot just needs to look at group of 5 currency pairs (manually selectable and adjustable) in different 4 baskets, do some basic percentage math every period, and place
Hi developer I want to convert my mt4 EA to mt5 EA . I have a mt4 ea with source code. i want developer to copy same mt4 code and create mt5 EA
Gold hunter v5 30+ USD
*TITLE:* 5 Trades EA - EMA20/50 + RSI - Safe for Small Account *SPECIFICATION:* I need MT5 EA - Source Code .mq5 *Logic:* Buy: EMA20 > EMA50 and RSI(14) 45-70 Sell: EMA20 < EMA50 and RSI(14) 30-55 Timeframe M15, Symbol XAUUSD and all Forex *Trade Management:* Max 5 trades at same time. Fixed lot 0.01. No martingale. No lot increase. Distance between trades 150 points. Do not open all 5 at same price. Max 5 total

Project information

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