Specification
Specification (Description):
I need an Expert Advisor (EA) for MetaTrader 5 that trades automatically based on a Simple Moving Average (SMA) crossover strategy.
The EA should include Take Profit, Stop Loss, Trailing Stop, and Breakeven features.
Entry Rules:
- Buy Order: When the Fast SMA crosses above the Slow SMA.
- Sell Order: When the Fast SMA crosses below the Slow SMA.
- Only one trade open per signal (no duplicate entries).
- Optional filter: trade only once per crossover (ignore small whipsaws).
Exit Rules:
- Each trade must include:
- Take Profit (TP): adjustable (default 30 pips)
- Stop Loss (SL): adjustable (default 20 pips)
- Option to close current trade when the opposite crossover signal appears.
Trailing Stop:
- Optional Trailing Stop feature (default off).
- When enabled, the Stop Loss will move automatically as the trade moves in profit.
- Adjustable Trailing Distance (default 10 pips).
Breakeven:
- Optional Breakeven feature (default off).
- Moves Stop Loss to entry price once a certain profit is reached.
- Adjustable Breakeven Trigger (default 15 pips) and Offset (default +2 pips).
Inputs / Parameters:
- Fast SMA Period (default: 10)
- Slow SMA Period (default: 50)
- Take Profit (default: 30 pips)
- Stop Loss (default: 20 pips)
- Trailing Stop Distance (default: 10 pips)
- Breakeven Trigger (default: 15 pips)
- Breakeven Offset (default: 2 pips)
- Lot Size (default: 0.10)
- Magic Number
- Slippage
- Comment (optional)
Additional Requirements:
- EA must work on any currency pair and any timeframe.
- Should not repaint or re-enter before a confirmed crossover.
- Optional: show a small info panel on the chart displaying:
- Current SMA values
- Trade direction (Buy/Sell)
- Current profit/loss of open trade
- Clean and efficient code, easy to edit in MetaEditor 5.
Responded
1
Rating
Projects
555
41%
Arbitration
30
57%
/
3%
Overdue
57
10%
Free
Published: 11 codes
2
Rating
Projects
36
33%
Arbitration
5
0%
/
80%
Overdue
0
Working
Published: 2 codes
3
Rating
Projects
403
28%
Arbitration
40
40%
/
50%
Overdue
1
0%
Free
4
Rating
Projects
0
0%
Arbitration
1
0%
/
0%
Overdue
0
Free
5
Rating
Projects
18
11%
Arbitration
6
33%
/
67%
Overdue
1
6%
Free
Published: 1 code
6
Rating
Projects
24
8%
Arbitration
9
33%
/
33%
Overdue
1
4%
Loaded
7
Rating
Projects
977
74%
Arbitration
27
19%
/
67%
Overdue
100
10%
Free
Published: 1 article, 6 codes
8
Rating
Projects
90
29%
Arbitration
24
13%
/
58%
Overdue
7
8%
Working
9
Rating
Projects
15
40%
Arbitration
2
50%
/
50%
Overdue
1
7%
Free
10
Rating
Projects
66
58%
Arbitration
4
75%
/
25%
Overdue
1
2%
Loaded
11
Rating
Projects
4
25%
Arbitration
0
Overdue
0
Free
12
Rating
Projects
19
16%
Arbitration
5
40%
/
40%
Overdue
0
Free
13
Rating
Projects
513
19%
Arbitration
35
43%
/
31%
Overdue
34
7%
Loaded
14
Rating
Projects
35
23%
Arbitration
4
0%
/
50%
Overdue
2
6%
Working
15
Rating
Projects
29
3%
Arbitration
4
25%
/
0%
Overdue
3
10%
Working
16
Rating
Projects
802
48%
Arbitration
73
19%
/
52%
Overdue
140
17%
Working
17
Rating
Projects
2
0%
Arbitration
1
100%
/
0%
Overdue
0
Free
18
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
19
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
20
Rating
Projects
3
33%
Arbitration
2
0%
/
100%
Overdue
0
Free
21
Rating
Projects
396
28%
Arbitration
69
19%
/
49%
Overdue
121
31%
Working
22
Rating
Projects
59
20%
Arbitration
6
33%
/
17%
Overdue
1
2%
Free
Published: 2 codes
23
Rating
Projects
142
53%
Arbitration
5
80%
/
0%
Overdue
6
4%
Free
24
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
25
Rating
Projects
0
0%
Arbitration
1
0%
/
100%
Overdue
0
Free
26
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
27
Rating
Projects
289
35%
Arbitration
18
22%
/
61%
Overdue
43
15%
Free
28
Rating
Projects
121
68%
Arbitration
5
80%
/
0%
Overdue
12
10%
Working
29
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
30
Rating
Projects
3
0%
Arbitration
0
Overdue
0
Free
31
Rating
Projects
553
50%
Arbitration
57
40%
/
37%
Overdue
227
41%
Working
32
Rating
Projects
5
40%
Arbitration
1
0%
/
0%
Overdue
0
Free
33
Rating
Projects
2
100%
Arbitration
0
Overdue
0
Free
34
Rating
Projects
26
38%
Arbitration
6
33%
/
50%
Overdue
0
Free
35
Rating
Projects
144
46%
Arbitration
20
40%
/
20%
Overdue
32
22%
Free
36
Rating
Projects
7
0%
Arbitration
0
Overdue
2
29%
Free
37
Rating
Projects
1
0%
Arbitration
0
Overdue
0
Free
38
Rating
Projects
6
0%
Arbitration
1
0%
/
100%
Overdue
0
Free
39
Rating
Projects
5
20%
Arbitration
1
100%
/
0%
Overdue
0
Free
40
Rating
Projects
8
0%
Arbitration
2
50%
/
0%
Overdue
1
13%
Working
41
Rating
Projects
641
41%
Arbitration
25
48%
/
36%
Overdue
46
7%
Working
42
Rating
Projects
38
53%
Arbitration
2
50%
/
50%
Overdue
3
8%
Free
43
Rating
Projects
102
23%
Arbitration
12
25%
/
17%
Overdue
13
13%
Free
44
Rating
Projects
66
12%
Arbitration
12
58%
/
42%
Overdue
1
2%
Free
45
Rating
Projects
245
74%
Arbitration
7
100%
/
0%
Overdue
1
0%
Working
Published: 1 article
46
Rating
Projects
203
60%
Arbitration
10
80%
/
0%
Overdue
0
Free
Published: 1 code
47
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
48
Rating
Projects
478
40%
Arbitration
105
40%
/
24%
Overdue
82
17%
Loaded
Published: 2 codes
49
Rating
Projects
27
41%
Arbitration
3
0%
/
67%
Overdue
6
22%
Working
50
Rating
Projects
14
43%
Arbitration
0
Overdue
3
21%
Free
51
Rating
Projects
6
0%
Arbitration
4
25%
/
75%
Overdue
2
33%
Free
52
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Working
53
Rating
Projects
8
0%
Arbitration
3
33%
/
67%
Overdue
4
50%
Free
54
Rating
Projects
945
47%
Arbitration
309
58%
/
27%
Overdue
125
13%
Free
55
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
56
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
57
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
58
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
59
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Similar orders
EA Crafter
500+ USD
Act as a professional Quantitative Developer and Risk Manager. I want to build a systematic trading strategy rulebook that prioritizes capital preservation and statistical edge over raw performance. Please generate a structured trading strategy using the following framework: 1. ASSET CLASS & TIMEFRAME: - Asset: [e.g., Apple (AAPL), Bitcoin (BTC), or EUR/USD] - Timeframe: [e.g., 5-minute, 1-hour, Daily] 2. CORE
Advanced Forex Expert Advisor-fully automated system
200 - 300 USD
I require a custom EA and an accompanying custom indicator built in MQL5 for Meta Trader 4/5. The EA must be fully automated (Algo Trading); Telegram-Signal-Linked and named 'AMK Fx'
Project information
Budget
30+ USD
Deadline
to 10 day(s)