An Expert Advisor in mql5 using two Simple Moving Averages

Job finished

Execution time 3 days
Feedback from employee
I was impressed by the clear and comprehensive specification provided, great opportunity to work with him.

Specification

Build an expert advisor (EA) that automatically trades all major and minor currency pairs (28), incorporating a fast Simple Moving Average (SMA) and a slow SMA for Meta Trader 5.

Here's the basic outline of the expert advisor:

For each of the 28 pairs (major and minor) open:

LONG

  •        When the Fast SMA is above the Slow SMA, if the candle crosses and closes above the Fast SMA, open a BUY stop position.

  •         If the candle crosses both the Fast & Slow SMA and closes above both Fast & Slow, open a BUY stop position.

  •         DO NOT BUY IF THERE IS ALREADY A LONG POSITION FOR THE PAIR.

SHORT

  •          When the Fast SMA is below the Slow SMA, if the candle crosses and closes below the Fast SMA, open a SELL stop position.

  •        If the candle crosses both the Fast & Slow SMA and closes below both Fast & Slow, open a SELL stop position .

  •       DO NOT SELL IF THERE IS ALREADY A SHORT POSITION FOR THE PAIR.

PARAMETERS:

  •          Time-frame parameter {1min - 1 week}

  •          Trading Hours

Example: 

1.       00:00 am – 2:00 am GMT

2.       8:00 am – 12:00 pm GMT

3.       14:00 pm – 16:00 pm GMT

  •  Stop Loss parameter

  •  Take profit parameter

  •  Trailing Stop Loss parameter

  •  Risk allocation for each Trade (%equity or fixed amount($))

  •  Fast and Slow SMA
















































































Responded

1
Developer 1
Rating
(106)
Projects
129
25%
Arbitration
25
28% / 56%
Overdue
8
6%
Free
2
Developer 2
Rating
(71)
Projects
103
20%
Arbitration
6
0% / 83%
Overdue
3
3%
Free
3
Developer 3
Rating
(274)
Projects
403
28%
Arbitration
40
40% / 50%
Overdue
1
0%
Free
4
Developer 4
Rating
(465)
Projects
813
49%
Arbitration
75
21% / 51%
Overdue
141
17%
Working
5
Developer 5
Rating
(160)
Projects
208
61%
Arbitration
10
80% / 0%
Overdue
0
Free
Published: 1 code
6
Developer 6
Rating
(111)
Projects
139
43%
Arbitration
9
33% / 44%
Overdue
6
4%
Free
7
Developer 7
Rating
(319)
Projects
568
35%
Arbitration
82
30% / 45%
Overdue
206
36%
Loaded
8
Developer 8
Rating
(72)
Projects
80
10%
Arbitration
38
8% / 58%
Overdue
6
8%
Free
9
Developer 9
Rating
(1125)
Projects
1813
61%
Arbitration
14
64% / 7%
Overdue
84
5%
Free
10
Developer 10
Rating
(36)
Projects
45
2%
Arbitration
6
33% / 17%
Overdue
1
2%
Free
11
Developer 11
Rating
(1)
Projects
1
0%
Arbitration
2
50% / 50%
Overdue
0
Free
12
Developer 12
Rating
(5)
Projects
1
100%
Arbitration
4
0% / 75%
Overdue
0
Working
13
Developer 13
Rating
(37)
Projects
59
27%
Arbitration
26
19% / 54%
Overdue
10
17%
Working
Published: 1 code
14
Developer 14
Rating
(62)
Projects
90
29%
Arbitration
24
13% / 58%
Overdue
7
8%
Working
15
Developer 15
Rating
(54)
Projects
102
23%
Arbitration
12
25% / 17%
Overdue
13
13%
Free
16
Developer 16
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
17
Developer 17
Rating
(44)
Projects
53
38%
Arbitration
8
13% / 38%
Overdue
8
15%
Free
18
Developer 18
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Similar orders
Hi, Require a modification and optimization of an existing EA for XAU. 1. confirmation and modification of the high impact US news algo. 2.confirmation of the correct time for news. EA set time to Malaysia +8 GMT 3.Redesign HUD panel with new look hi-tech professional interactive panel 4.to add EA to work with approved Broker trading acct nbr for control of EA usage
Hello Traders, Have a trading strategy or idea you want to automate? I specialize exclusively in MQL5 development, helping traders turn their concepts into professional trading solutions. Custom Expert Advisors — automate your strategy and reduce manual execution Custom Indicators — transform your market ideas into powerful trading tools Fix & Debug — identify errors and get your existing code working properly
please share: Strategy description — entry/exit rules, indicators used, timeframe(s), and instrument(s) (a written explanation, screenshots, or an existing indicator/EA to reference all work) Risk management rules — position sizing method (fixed lot / % risk), stop loss / take profit logic, max drawdown or daily loss limits, and whether martingale/grid/hedging is involved Broker & account details — broker name
I need a unique grid trading system for XAUUSD that combines entry, controlled two-sided grid expansion, DCA (Dollar Cost Averaging) basket profit control, hedging. Unlike traditional grid EAs that only trade against price, this unique grid system should dynamically build positions in both directions based on market movement, allowing flexible adaptation to changing conditions ie the grid needs to dynamically move
I need an experienced MQL5 developer to create a fully automated MT5 Expert Advisor called Ayoub Gold EA , focused exclusively on XAUUSD (Gold) . Main requirements: Platform: MT5 / MQL5. Fully automated BUY and SELL trading on XAUUSD. Must support broker suffixes such as XAUUSD, XAUUSD.f and XAUUSDm. Trading strategy based mainly on Range Breakout with trend confirmation. EMA, ADX and ATR filters. London/New York
Mashiri 50 - 10000 USD
I need a custom MetaTrader 5 indicator designed specifically for XAUUSD gold trading. The indicator should identify potential buy and sell opportunities, display clear entry and exit signals on the chart, provide alerts, and help identify market trends and possible reversals
Looking for an experienced Sierra Chart ACSIL/C++ developer to customize an existing footprint chart. I need 3 things: 7-Day ATR – calculate and display a configurable 7-day ATR. Custom Footprint – modify my existing footprint chart to match my preferred layout/data display. Automatic LVN – detect and plot Low Volume Nodes automatically based on volume distribution. I already have a working footprint chart, so no
//———————————————————————————————————————————————————————————————————— struct S_MCAV { double matureSum; double totalSum; double value; void Init () { matureSum = 0.0; totalSum = 0.0; value = 0.5; } void AddContext (int ctx) { totalSum += 1.0; if (ctx == 1) matureSum += 1.0; } void ApplyDecay (double rate) { matureSum *= rate; totalSum *= rate; } void Update () {
1. Title Development of a Custom MQL5 Expert Advisor for XAUUSD (MetaTrader 5) 2. Requirements Specification Overview: I am looking for an experienced MQL5 developer to build a robust, fully custom Expert Advisor (EA) for MetaTrader 5 tailored for trading Gold (XAUUSD). Core Specifications & Features: Asset & Timeframe: Designed specifically for XAUUSD. Timeframe should be selectable directly from the EA inputs
Cerco uno sviluppatore MQL5 esperto per sviluppare da zero un Expert Advisor completamente nuovo per XAUUSD su MT5. Non desidero un semplice Expert Advisor basato su indicatori fissi. Desidero un sistema di trading dinamico e adattivo, in grado di adattare il proprio comportamento alle mutevoli condizioni di mercato di XAUUSD. Lo sviluppatore dovrebbe essere libero di combinare qualsiasi tecnica ritenuta opportuna

Project information

Budget
40+ USD
Deadline
from 1 to 5 day(s)