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
Developer 1
Rating
(394)
Projects
555
41%
Arbitration
30
57% / 3%
Overdue
57
10%
Free
Published: 11 codes
2
Developer 2
Rating
(33)
Projects
36
33%
Arbitration
5
0% / 80%
Overdue
0
Working
Published: 2 codes
3
Developer 3
Rating
(274)
Projects
403
28%
Arbitration
40
40% / 50%
Overdue
1
0%
Free
4
Developer 4
Rating
(1)
Projects
0
0%
Arbitration
1
0% / 0%
Overdue
0
Free
5
Developer 5
Rating
(13)
Projects
18
11%
Arbitration
6
33% / 67%
Overdue
1
6%
Free
Published: 1 code
6
Developer 6
Rating
(19)
Projects
24
8%
Arbitration
9
33% / 33%
Overdue
1
4%
Loaded
7
Developer 7
Rating
(510)
Projects
977
74%
Arbitration
27
19% / 67%
Overdue
100
10%
Free
Published: 1 article, 6 codes
8
Developer 8
Rating
(62)
Projects
90
29%
Arbitration
24
13% / 58%
Overdue
7
8%
Working
9
Developer 9
Rating
(14)
Projects
15
40%
Arbitration
2
50% / 50%
Overdue
1
7%
Free
10
Developer 10
Rating
(51)
Projects
66
58%
Arbitration
4
75% / 25%
Overdue
1
2%
Loaded
11
Developer 11
Rating
(3)
Projects
4
25%
Arbitration
0
Overdue
0
Free
12
Developer 12
Rating
(15)
Projects
19
16%
Arbitration
5
40% / 40%
Overdue
0
Free
13
Developer 13
Rating
(328)
Projects
513
19%
Arbitration
35
43% / 31%
Overdue
34
7%
Loaded
14
Developer 14
Rating
(16)
Projects
35
23%
Arbitration
4
0% / 50%
Overdue
2
6%
Working
15
Developer 15
Rating
(22)
Projects
29
3%
Arbitration
4
25% / 0%
Overdue
3
10%
Working
16
Developer 16
Rating
(460)
Projects
802
48%
Arbitration
73
19% / 52%
Overdue
140
17%
Working
17
Developer 17
Rating
(1)
Projects
2
0%
Arbitration
1
100% / 0%
Overdue
0
Free
18
Developer 18
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
19
Developer 19
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
20
Developer 20
Rating
(4)
Projects
3
33%
Arbitration
2
0% / 100%
Overdue
0
Free
21
Developer 21
Rating
(258)
Projects
396
28%
Arbitration
69
19% / 49%
Overdue
121
31%
Working
22
Developer 22
Rating
(39)
Projects
59
20%
Arbitration
6
33% / 17%
Overdue
1
2%
Free
Published: 2 codes
23
Developer 23
Rating
(81)
Projects
142
53%
Arbitration
5
80% / 0%
Overdue
6
4%
Free
24
Developer 24
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
25
Developer 25
Rating
Projects
0
0%
Arbitration
1
0% / 100%
Overdue
0
Free
26
Developer 26
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
27
Developer 27
Rating
(162)
Projects
289
35%
Arbitration
18
22% / 61%
Overdue
43
15%
Free
28
Developer 28
Rating
(87)
Projects
121
68%
Arbitration
5
80% / 0%
Overdue
12
10%
Working
29
Developer 29
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
30
Developer 30
Rating
(2)
Projects
3
0%
Arbitration
0
Overdue
0
Free
31
Developer 31
Rating
(271)
Projects
553
50%
Arbitration
57
40% / 37%
Overdue
227
41%
Working
32
Developer 32
Rating
(4)
Projects
5
40%
Arbitration
1
0% / 0%
Overdue
0
Free
33
Developer 33
Rating
(2)
Projects
2
100%
Arbitration
0
Overdue
0
Free
34
Developer 34
Rating
(20)
Projects
26
38%
Arbitration
6
33% / 50%
Overdue
0
Free
35
Developer 35
Rating
(64)
Projects
144
46%
Arbitration
20
40% / 20%
Overdue
32
22%
Free
36
Developer 36
Rating
(7)
Projects
7
0%
Arbitration
0
Overdue
2
29%
Free
37
Developer 37
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Free
38
Developer 38
Rating
(5)
Projects
6
0%
Arbitration
1
0% / 100%
Overdue
0
Free
39
Developer 39
Rating
(4)
Projects
5
20%
Arbitration
1
100% / 0%
Overdue
0
Free
40
Developer 40
Rating
(8)
Projects
8
0%
Arbitration
2
50% / 0%
Overdue
1
13%
Working
41
Developer 41
Rating
(568)
Projects
641
41%
Arbitration
25
48% / 36%
Overdue
46
7%
Working
42
Developer 42
Rating
(31)
Projects
38
53%
Arbitration
2
50% / 50%
Overdue
3
8%
Free
43
Developer 43
Rating
(54)
Projects
102
23%
Arbitration
12
25% / 17%
Overdue
13
13%
Free
44
Developer 44
Rating
(43)
Projects
66
12%
Arbitration
12
58% / 42%
Overdue
1
2%
Free
45
Developer 45
Rating
(77)
Projects
245
74%
Arbitration
7
100% / 0%
Overdue
1
0%
Working
Published: 1 article
46
Developer 46
Rating
(160)
Projects
203
60%
Arbitration
10
80% / 0%
Overdue
0
Free
Published: 1 code
47
Developer 47
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
48
Developer 48
Rating
(298)
Projects
478
40%
Arbitration
105
40% / 24%
Overdue
82
17%
Loaded
Published: 2 codes
49
Developer 49
Rating
(14)
Projects
27
41%
Arbitration
3
0% / 67%
Overdue
6
22%
Working
50
Developer 50
Rating
(10)
Projects
14
43%
Arbitration
0
Overdue
3
21%
Free
51
Developer 51
Rating
(7)
Projects
6
0%
Arbitration
4
25% / 75%
Overdue
2
33%
Free
52
Developer 52
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Working
53
Developer 53
Rating
(4)
Projects
8
0%
Arbitration
3
33% / 67%
Overdue
4
50%
Free
54
Developer 54
Rating
(574)
Projects
945
47%
Arbitration
309
58% / 27%
Overdue
125
13%
Free
55
Developer 55
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
56
Developer 56
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
57
Developer 57
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
58
Developer 58
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
59
Developer 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
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)