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
(104)
Projects
127
24%
Arbitration
23
30% / 52%
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
(458)
Projects
798
48%
Arbitration
73
19% / 52%
Overdue
139
17%
Working
5
Developer 5
Rating
(156)
Projects
199
59%
Arbitration
10
80% / 0%
Overdue
0
Working
Published: 1 code
6
Developer 6
Rating
(111)
Projects
139
43%
Arbitration
9
33% / 44%
Overdue
6
4%
Free
7
Developer 7
Rating
(314)
Projects
561
35%
Arbitration
81
31% / 44%
Overdue
204
36%
Working
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
Dear developers I want to create an expert advisor for my strategy. The entry signals quite simple using OHLC, Bollinger, SuperTrend. (Possibly: ICT/FVG) The money and risk management is more difficult using martingale and trailing stops. I also need help to design this before any development
Welcome to the new era of automation I have something very powerful for trades who are looking to make consistent profits in the industry The EA is called Golden Sniper Pro designed specifically for boom index on Deriv broker with a win rate of over 85%. The ea combines EMA and RSI to detect market direction, calculates SL and TP by ATR. Uses tick counts to avoid entries near spike zones, if there was an entry
Hello, I am looking for someone who can help me to build a MT4/MT5 forex EA, by analyzing the trading history. You are responsible to find out trading logic behind the EA and Build a new EA that accurately replicates the existing strategy. I need someone who has proven previous experience to build a new EA by reverse engineering. Thanks
Risk management EA 30 - 200 USD
Looking to develop risk management EA for personal use probably commercially in the future. I want the EA to have a display panel with 0.1, 0.2, 0.5,1,2,3 percent risk management button. I also want BE, partial closure of 0.25,0.5,0.75 and full closure panel on both profit and loss. I’ll also like to include trailing stop, 2 trades max per day and BE+spread option. I’ll be attaching the image for a guidance on what
Sierra Chart Alerts to MT5 via Webhook (Alert Manager File Version) Objective: Create a Custom Study (ACSIL / C++) that monitors alerts from the Alert Manager file and forwards any valid alert directly to MT5 via an HTTP POST (Webhook) in JSON format. Additional Note: The study should allow adding any modifications in the future and provide clear insights into the alert points in Sierra Chart. 1. Data Flow Diagram
Ea.Mix 30+ USD
I am in need of a good scalping bot for gold or any currency pair. If you have one that is working, reach out. You must be able to provide a trial version so I can test the bot myself
MT5 Expert Advisor Development Project Overview I am looking for an experienced MQL5 developer to build a custom MetaTrader 5 Expert Advisor based on a grid-cycle trading framework. This is not a standard grid EA . The system combines: Session-based trade initiation Multi-filter signal generation Dynamic grid management Advanced basket management State-machine-driven trade lifecycle management Dynamic take-profit
I am in need of a good scalping bot for gold or any currency pair. If you have one that is working, reach out. You must be able to provide a trial version so I can test the bot myself
Test instructions: - Run EA on US30 (Dow Jones) - Timeframe: H1 - Test period: last 3–6 months - Use default risk settings (1% per setup) - Check Friday breakout logic only Expected behavior: - EA should mark Friday High/Low - Wait for candle close breakout - Wait for retracement into range - Enter only when H1 candle closes inside range - Execute 2 trades per setup (TP1 = 1R, TP2 = 2R) - Respect 1.5% daily loss
ART 1: NUMBER OF TRADES ALLOWED IN ONE DIRECTION: Maximum number of trades in one direction = ------------------------------ ------------------------------ ------------------------------ -------------- par PART 2 PARTIAL CLOSURE OF STOPLOSS: Total STOPLOSS =------ Pips 1a: Percentage of Stoploss =--% 1b Percentage of Lot size =--% 2a: Percentage oe of Lot size =--% f Stoploss =--% 2b

Project information

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