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
2
0%
Arbitration
1
0%
/
100%
Overdue
0
Free
2
Rating
Projects
362
30%
Arbitration
37
27%
/
65%
Overdue
10
3%
Loaded
Published: 10 codes
3
Rating
Projects
520
24%
Arbitration
61
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
12
33%
Arbitration
0
Overdue
2
17%
Working
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
30
40%
Arbitration
3
33%
/
67%
Overdue
7
23%
Working
17
Rating
Projects
14
64%
Arbitration
0
Overdue
0
Free
18
Rating
Projects
21
29%
Arbitration
2
50%
/
0%
Overdue
4
19%
Free
19
Rating
Projects
290
64%
Arbitration
4
75%
/
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
459
55%
Arbitration
24
58%
/
17%
Overdue
31
7%
Free
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
20
35%
Arbitration
0
Overdue
1
5%
Working
31
Rating
Projects
276
21%
Arbitration
25
52%
/
16%
Overdue
0
Loaded
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
97
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
2956
63%
Arbitration
125
44%
/
26%
Overdue
429
15%
Free
41
Rating
Projects
36
39%
Arbitration
0
Overdue
2
6%
Free
42
Rating
Projects
102
56%
Arbitration
5
80%
/
20%
Overdue
5
5%
Loaded
43
Rating
Projects
17
18%
Arbitration
2
0%
/
100%
Overdue
3
18%
Free
44
Rating
Projects
854
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
31
42%
Arbitration
10
20%
/
30%
Overdue
3
10%
Loaded
Published: 8 articles, 35 codes
48
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
49
Rating
Projects
269
29%
Arbitration
2
50%
/
0%
Overdue
3
1%
Working
Published: 2 codes
50
Rating
Projects
553
50%
Arbitration
57
40%
/
37%
Overdue
227
41%
Working
51
Rating
Projects
875
48%
Arbitration
29
38%
/
17%
Overdue
63
7%
Working
52
Rating
Projects
35
40%
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
2
50%
Arbitration
0
Overdue
1
50%
Working
58
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
59
Rating
Projects
3419
68%
Arbitration
77
48%
/
14%
Overdue
343
10%
Working
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
554
53%
Arbitration
13
69%
/
15%
Overdue
3
1%
Free
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
310
75%
Arbitration
15
67%
/
0%
Overdue
6
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
Scalping bort
30+ USD
GOLD SCALPING BOT STRATEGY Symbol: XAUUSD (Gold vs USD) Broker: Exness Account: Standard Starting Balance: $20 1. TIMEFRAME - Trend analysis: M15. - Entry timeframe: M5. - Trade only when the market has a clear direction. 2. INDICATORS - EMA 50 - EMA 200 - RSI 14 - Support and Resistance 3. BUY RULES The bot must open a BUY trade only when all these conditions are met: 1. EMA 50 is above EMA 200 on M15. 2. Price is
Request for an Existing Automated Trading System (Expert Advisor) I am looking to acquire an existing, fully functional Expert Advisor (EA) that trades Forex CFDs, with the option of trading other CFDs if the strategy supports them safely. Performance objectives Target average net monthly return: 1.5%. A consistent 1.0% monthly return may be considered if the system demonstrates strong risk control and credible
I want to create ninjtrader bot
30+ USD
Are you able to build one bot for stock and one for ninja trader and tell me the win rate on it. I need ninja trader bot that enter buy and exit according the move to do not stay long in the market in each entry . That can follow the smart money concept or other if you have a good one
I need a TradingView Pine Script (v6) indicator that gives BUY and SELL signals in real time on the live chart. MAIN REQUIREMENT – NO REPAINTING: 1. Signals must appear only when the candle closes (barstate.isconfirmed). Example: on 1-min chart, signal for the 10:35 candle must appear at 10:36 and never disappear or move. 2. Signals on historical bars must look exactly the same as they looked live. 3. No lookahead
Trading bot ea
30+ USD
yoo i want to make a trading bot i have my strategy in videos and also the rules to if anyone can work it out for me i will be glad welcome your bid and it urget let connect here on mgl5 And if you know you can not do the project without getting paid first please don't bid thanks
SKBOT
35+ USD
want an MQL5 Expert Advisor (EA) for MetaTrader 5, mainly for XAUUSD (Gold). Strategy: The EA should trade based on market structure, Break of Structure (BOS), Fair Value Gaps (FVG), Order Blocks (OB), and Fibonacci retracement levels. BUY setup: Detect bullish market structure. Detect a bullish Break of Structure (BOS). Identify the relevant bullish FVG and/or Order Block created around the structure move. Use
i have indicator for Trading View, also copy for NT, i need someone to improve and check the NT version (indicator is simple is volume density koncept)…. when i put same settings on TV version and NT version i have diffrerent results, but this can be because diffrent market data or fact that TV sending tick info in blocks , not tick by tick like NT8 on both. I(ndicator base on counting volume) so besied that is it
Should be as it but no alarms, also we need to add a deep search so he can see all the preves candles and a memory function so its not slowing down the indicator. for higher time frames daily 4h 1h around 365 days and for lower time frames we do up to 20k bars but both flexible so i can change it later. the memory is important so the indicator is not always recalculating everything when a new candle shows especially
looking for a highly experienced mql5 developer to build a professional trading ea based on multi timeframe top down analysis and market structure concepts the system should combine higher timeframe context with lower timeframe execution and provide both precise logic and clean visual representation on chart ⸻ core requirements • implementation of multi timeframe logic higher timeframe bias combined with lower
Project information
Budget
30 - 20000 USD
Deadline
from 1 to 30 day(s)