Specification
1. Use two EMAs: 20 and 50.
- If EMA 20 is above EMA 50 → uptrend (look for buys)
- If EMA 20 is below EMA 50 → downtrend (look for sells)
2. Wait for a pullback into the area between the two EMAs.
- For buys: price must touch or move between EMA 20 and EMA 50
during the last few candles.
- For stils: same idea, but in a downtrend.
3. Entry signal:
- Buy: a bullish engulfing candle in an uptrend after the pullback
- Sell: a bearish engulfing candle in a downtrend after the pullback
- Enter at the close of the engulfing candle.
4. Stop Loss:
- Option A: use recent swing high/low
- Option B: use ATR-based stop loss
- Make this an input (0 = swing SL, 1 = ATR SL)
5. Take Profit:
- Based on risk-reward ratio (for example 1:2)
6. Risk settings:
- Option for fixed lot size
- Option for risk percentage (auto-calculated lot size)
- Only open trades during specific trading hours (input: start hour and end hour)
- Only allow one open trade at a time per symbol.
**INPUTS TO INCLUDE**
- FastEMA (default 20)
- SlowEMA (default 50)
- PullbackBars (default 5)
- SL_Mode (0 = swing, 1 = ATR)
- ATR_Period (14)
- ATR_Multiplier (1.5)
- RiskReward (2.0)
- UseFixedLot (true/false)
- FixedLotSize (0.10)
- RiskPercent (1%)
- MagicNumber
- TradeStartHour / TradeEndHour
- DebugMode (true/false)
1. First, briefly restate the logic in simple terms.
Then provide the full MQL5 EA code.
- Code must compile in MetaTrader 5 with no errors.
- Comment the code clearly so beginners can understand it.
Responded
1
Rating
Projects
1
0%
Arbitration
1
0%
/
100%
Overdue
0
Working
2
Rating
Projects
348
29%
Arbitration
37
27%
/
65%
Overdue
10
3%
Working
3
Rating
Projects
511
23%
Arbitration
60
57%
/
25%
Overdue
60
12%
Loaded
4
Rating
Projects
90
29%
Arbitration
24
13%
/
58%
Overdue
7
8%
Working
5
Rating
Projects
4
25%
Arbitration
1
0%
/
100%
Overdue
0
Free
Published: 2 articles
6
Rating
Projects
6
0%
Arbitration
4
25%
/
75%
Overdue
2
33%
Free
7
Rating
Projects
8
38%
Arbitration
0
Overdue
1
13%
Loaded
Published: 1 code
8
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
9
Rating
Projects
1
100%
Arbitration
0
Overdue
0
Free
10
Rating
Projects
1
0%
Arbitration
0
Overdue
0
Free
11
Rating
Projects
2
0%
Arbitration
1
0%
/
0%
Overdue
0
Free
12
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
13
Rating
Projects
92
24%
Arbitration
8
75%
/
13%
Overdue
44
48%
Free
14
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
15
Rating
Projects
26
38%
Arbitration
6
33%
/
50%
Overdue
0
Free
16
Rating
Projects
29
38%
Arbitration
3
33%
/
67%
Overdue
6
21%
Working
17
Rating
Projects
13
62%
Arbitration
0
Overdue
0
Free
18
Rating
Projects
20
25%
Arbitration
2
50%
/
0%
Overdue
4
20%
Working
19
Rating
Projects
290
64%
Arbitration
3
100%
/
0%
Overdue
65
22%
Working
20
Rating
Projects
14
43%
Arbitration
0
Overdue
3
21%
Free
21
Rating
Projects
2
0%
Arbitration
1
0%
/
0%
Overdue
0
Free
22
Rating
Projects
449
55%
Arbitration
23
57%
/
17%
Overdue
30
7%
Working
23
Rating
Projects
9
67%
Arbitration
0
Overdue
0
Working
24
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
25
Rating
Projects
129
25%
Arbitration
25
28%
/
56%
Overdue
8
6%
Free
26
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
27
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
28
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
29
Rating
Projects
83
45%
Arbitration
27
11%
/
70%
Overdue
8
10%
Free
30
Rating
Projects
7
29%
Arbitration
0
Overdue
1
14%
Loaded
31
Rating
Projects
271
21%
Arbitration
24
50%
/
17%
Overdue
0
Working
32
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
33
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
34
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
35
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
36
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
37
Rating
Projects
95
32%
Arbitration
9
22%
/
56%
Overdue
5
5%
Working
38
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
39
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
40
Rating
Projects
2949
63%
Arbitration
125
44%
/
26%
Overdue
429
15%
Free
41
Rating
Projects
34
35%
Arbitration
0
Overdue
2
6%
Free
42
Rating
Projects
87
57%
Arbitration
6
67%
/
17%
Overdue
2
2%
Loaded
43
Rating
Projects
17
18%
Arbitration
2
0%
/
100%
Overdue
3
18%
Free
44
Rating
Projects
839
61%
Arbitration
33
27%
/
45%
Overdue
24
3%
Free
Published: 1 code
45
Rating
Projects
478
40%
Arbitration
105
40%
/
24%
Overdue
82
17%
Loaded
Published: 2 codes
46
Rating
Projects
4
0%
Arbitration
1
100%
/
0%
Overdue
1
25%
Free
47
Rating
Projects
22
45%
Arbitration
6
33%
/
17%
Overdue
2
9%
Working
Published: 7 articles, 35 codes
48
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
49
Rating
Projects
269
29%
Arbitration
1
100%
/
0%
Overdue
3
1%
Working
Published: 2 codes
50
Rating
Projects
553
50%
Arbitration
57
40%
/
37%
Overdue
227
41%
Working
51
Rating
Projects
873
48%
Arbitration
29
38%
/
17%
Overdue
63
7%
Free
52
Rating
Projects
33
42%
Arbitration
0
Overdue
3
9%
Free
53
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
54
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
55
Rating
Projects
1
0%
Arbitration
0
Overdue
1
100%
Free
56
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
57
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Working
58
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
59
Rating
Projects
3414
68%
Arbitration
77
48%
/
14%
Overdue
342
10%
Free
Published: 1 code
60
Rating
Projects
1
0%
Arbitration
0
Overdue
0
Free
61
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
62
Rating
Projects
174
40%
Arbitration
10
40%
/
10%
Overdue
30
17%
Free
63
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
64
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
65
Rating
Projects
53
57%
Arbitration
2
100%
/
0%
Overdue
1
2%
Free
Published: 5 codes
66
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
67
Rating
Projects
13
0%
Arbitration
24
0%
/
75%
Overdue
4
31%
Working
68
Rating
Projects
552
53%
Arbitration
13
69%
/
15%
Overdue
3
1%
Working
69
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
70
Rating
Projects
5
0%
Arbitration
0
Overdue
0
Free
71
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
72
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
73
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
74
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
75
Rating
Projects
73
47%
Arbitration
2
50%
/
50%
Overdue
2
3%
Free
76
Rating
Projects
1
0%
Arbitration
0
Overdue
0
Free
Published: 2 codes
77
Rating
Projects
134
66%
Arbitration
36
25%
/
56%
Overdue
22
16%
Free
Published: 10 codes
78
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
79
Rating
Projects
305
76%
Arbitration
13
77%
/
0%
Overdue
5
2%
Working
80
Rating
Projects
5
0%
Arbitration
5
0%
/
40%
Overdue
0
Free
81
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
82
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
83
Rating
Projects
13
8%
Arbitration
1
0%
/
100%
Overdue
0
Free
84
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
85
Rating
Projects
45
16%
Arbitration
2
0%
/
100%
Overdue
4
9%
Free
86
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Similar orders
I need a new MT5 Expert Advisor based on a fully customizable two-sided pending-order grid. The purpose is to build a flexible EA engine . I will choose the trading parameters and strategy settings myself later. Please do not hard-code any specific lot sizes, grid distances, or trading progression. 1. Grid Logic When the EA starts a new basket, it should use the current market price as the starting/reference price
Hello there, I am looking for a automated strategy for ninjatrader 5 Looking for a proven profit factor of 1.5 ( minimum ) on 15 mins time frame . I do MNQ futures I do not have the logic, but I like mean reverssion variable , plus RSI etc . that could make the automated tool robust and long lasting. i need fast response if you have
Profitable EA needed
30 USD
profitable EAs wanted with at least 3 to 5 years backtest. you be submit your proofs such as graphic results, backtesting results, and your demo or weekly the eas has traded
ZONDII Scalpers
30+ USD
I need an Expert Advisor called ZONDII Scalpers for MT5 (MQL5). Timeframe: M5 Pairs: XAUUSD / EURUSD BUY when: Price > EMA200 and EMA50 crosses above EMA200 and RSI(14) > 50 SELL when: Price < EMA200 and EMA50 crosses below EMA200 and RSI(14) < 50 Risk: Fixed lot 0.01, SL 300 points, TP 600 points, Trailing start 200 points / step 100 points. Filter: Max spread 30 points. Only 1 trade at a time. Inputs must be
High-performance XAUUSD MT5 EA - 3 Month Target
30 - 200 USD
I am looking for a professional MT5 EA developer to build a high-performance trading bot specifically for XAUUSD (Gold). My target is approximately 200% return within 3 months, while keeping the drawdown and risk as controlled as reasonably possible. Requirements: MT5 Expert Advisor (EA) XAUUSD only Fully automated trading Clear risk management Stop Loss and Take Profit on trades No martingale or grid strategy unless
Professional MT5 Gold (XAUUSD) Scalping EA
30 - 200 USD
Hello, I’m looking for an experienced MT5 developer to build a professional Expert Advisor (EA) for trading Gold (XAUUSD). My requirements: Platform: MT5 Instrument: XAUUSD (Gold) Fully automatic trading Both BUY and SELL trades Adjustable lot size Stop Loss and Take Profit Trailing Stop / Break Even Daily maximum loss limit Maximum drawdown protection Maximum number of open trades Trading hours/session filter Spread
B6 EA
30 - 50 USD
Develop an Expert Advisor trading trend reversals. Reversal signals will be generated based on Price Action patterns. Trend will be determined based on ADX, Alligator and MACD, while the indicator selection should be available in the EA's input parameters
1. PROJECT OVERVIEW Development of a custom automated and manual trading bot for NinjaTrader 8, primarily designed for Nasdaq Futures (NQ/MNQ). The bot will contain the original trading strategy, configurable risk management, automatic and manual operating modes, alerts, profit/loss management, partial profit taking, Break Even, backtesting functionality, and the additional configurable contract-averaging system
Hello, I have a custom indicator with a specific line. Logic I want: 1. When a candle closes and crosses the indicator line (I will tell you the buffer number of this line), start counting. 2. After the cross, wait for 3 consecutive candles with the same color / same direction. 3. If the 3 candles are bullish, open a BUY trade on the next candle open. 4. If the 3 candles are bearish, open a SELL trade on the
Ich möchte einen professionellen Expert Advisor (EA) für MetaTrader 5 entwickeln lassen, der sich funktional am ThunderGold Scalper orientiert. Instrument: XAUUSD / GOLD Zeitrahmen: M15 Plattform: MetaTrader 5 / MQL5 Der EA soll eine eigene, nachprogrammierte Strategie verwenden und keine geschützten Quellcodes oder proprietären Dateien des Originalprodukts kopieren. Gewünschte Funktionen: automatischer Handel auf
Project information
Budget
30 - 20000 USD
Deadline
from 1 to 30 day(s)