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
(393)
Projects
549
40%
Arbitration
30
57% / 3%
Overdue
57
10%
Free
Published: 11 codes
2
Developer 2
Rating
(32)
Projects
35
34%
Arbitration
5
0% / 80%
Overdue
0
Working
Published: 2 codes
3
Developer 3
Rating
(273)
Projects
401
27%
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
(18)
Projects
22
9%
Arbitration
6
33% / 50%
Overdue
1
5%
Loaded
7
Developer 7
Rating
(508)
Projects
976
74%
Arbitration
27
19% / 67%
Overdue
101
10%
Working
Published: 1 article, 6 codes
8
Developer 8
Rating
(60)
Projects
87
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
(18)
Projects
20
40%
Arbitration
1
0% / 100%
Overdue
0
Free
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
510
19%
Arbitration
33
45% / 30%
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
(457)
Projects
795
49%
Arbitration
71
17% / 54%
Overdue
139
17%
Free
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%
Free
22
Developer 22
Rating
(39)
Projects
57
18%
Arbitration
6
33% / 17%
Overdue
1
2%
Free
Published: 2 codes
23
Developer 23
Rating
(80)
Projects
138
51%
Arbitration
5
80% / 0%
Overdue
6
4%
Working
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
287
34%
Arbitration
18
22% / 61%
Overdue
42
15%
Working
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
(17)
Projects
23
39%
Arbitration
6
33% / 50%
Overdue
0
Free
35
Developer 35
Rating
(64)
Projects
144
46%
Arbitration
20
40% / 15%
Overdue
32
22%
Working
36
Developer 36
Rating
(6)
Projects
6
0%
Arbitration
0
Overdue
2
33%
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
(6)
Projects
6
0%
Arbitration
2
50% / 0%
Overdue
1
17%
Free
41
Developer 41
Rating
(568)
Projects
641
41%
Arbitration
25
48% / 36%
Overdue
46
7%
Working
42
Developer 42
Rating
(30)
Projects
37
54%
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
243
74%
Arbitration
7
100% / 0%
Overdue
1
0%
Free
Published: 1 article
46
Developer 46
Rating
(155)
Projects
194
58%
Arbitration
10
80% / 0%
Overdue
0
Working
Published: 1 code
47
Developer 47
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
48
Developer 48
Rating
(296)
Projects
475
40%
Arbitration
105
40% / 24%
Overdue
80
17%
Busy
Published: 2 codes
49
Developer 49
Rating
(10)
Projects
19
37%
Arbitration
3
0% / 67%
Overdue
4
21%
Loaded
50
Developer 50
Rating
(10)
Projects
14
43%
Arbitration
0
Overdue
3
21%
Free
51
Developer 51
Rating
(6)
Projects
5
0%
Arbitration
2
50% / 50%
Overdue
2
40%
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
Macd 300+ USD
//+------------------------------------------------------------------+ //| Breakout EA | //+------------------------------------------------------------------+ input double RiskRewardRatio = 2.0; input int StopLossBufferPips = 10; input int MagicNumber = 12345; input int LookbackBars = 20; double support, resistance; void OnTick() { support = GetSupport(); resistance = GetResistance();
Apply with a screen of your work . Symbol Specific Logic . Live Chart Optimization Check the Core logic . [back tests as well] Change points to pips . Create buffer for the zone
My old ea modification only changing on entry rules, entry rule 1 and 2 and 3 only and adding take profit and stoploss and trailing stoploss , all detias iam explain private chat
Tengo una estrategia basada en divergencia para el oro sobre todo en tf m1 Basado en divergencia con stoch .. confirmando la entrada con ciertos parameteos de entrada Es mejor conversarlo para dar mejor los detalles Cuando entrar, porque o todas las divergencias se debe tomar para entrar en compras o ventas He adjuntado un ejemplo La confrmacion más exacta es el cruce de esos parámetros de stoch edebajo de level de
I WANT A TRADING ROBOT WITH GOLD STRATEGY THAT COULD TAKE ME TO 1MILLION$ TODAY,PLEASE KINDLY GENERATE THE BOT, DEBUGG COMPILE AND THEN GIVE ME WHEN EVER YOU ARE READY, ILL BE WAITING THANK YOU
I already have a fully developed MT5 Expert Advisor with all required prop firm features, including: Risk management Daily loss & max drawdown limits Spread & slippage filters News filter Trade management system The EA structure is complete. 👉 What I need is a professional developer to replace ONLY the entry logic with a high-quality, rule-based trading strategy. 🚨 STRICT REQUIREMENT (READ CAREFULLY): I am NOT
Trade summary Plugin 200 - 500 USD
We are looking for a Plugin/ Dashboard for our Meta 5 which will act as a Risk Management/ information tool. the system will require to give real time summary of trades and P/L for certain groups
Hi, I am looking for an Quant/MQL5 developer to build a pure mathematical, Delta-Neutral Statistical Arbitrage (spot vs future ) Expert Advisor. ​ No retail indicator logic (No RSI, MACD, etc.). This is a high-speed, spread-based execution model trading the pricing inefficiency between two correlated assets (e.g., Gold Spot XAUUSD vs Gold Futures). ​ Core Requirements at a Glance: ​Real-time Spread & Z-Score
I need a professional MetaTrader 5 Expert Advisor based on a pullback trading strategy. Indicators: - Moving Averages: 5, 8, 13, 144 (custom, smooth like TradingView) - RSI (14) - ADX (14) with DI+ and DI- - OsMA (8, 21, 5) Strategy: Trend: - Use MA 144 to define the main trend Entry: - Trade only in trend direction - Wait for price to touch MA 8 - Confirm with: - RSI (above 50 for buy / below 50 for sell) - ADX >
Looking for a Proven Non-Repainting Gold Indicator (XAUUSD) – High Accuracy & Ready-Made Solutions Only 📌 Project Description: I am looking for a high-quality, non-repainting indicator specifically for XAUUSD (Gold) that is already developed and tested. ⚠️ Important: I am NOT looking for a new indicator to be built from scratch. I want an existing, proven system that you have already created and are confident in. 🎯

Project information

Budget
30+ USD
Deadline
to 10 day(s)