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
(85)
Projects
105
24%
Arbitration
8
38% / 25%
Overdue
8
8%
Loaded
2
Developer 2
Rating
(71)
Projects
103
20%
Arbitration
6
0% / 83%
Overdue
3
3%
Free
3
Developer 3
Rating
(153)
Projects
215
21%
Arbitration
14
64% / 21%
Overdue
1
0%
Loaded
4
Developer 4
Rating
(400)
Projects
704
49%
Arbitration
57
16% / 49%
Overdue
129
18%
Free
5
Developer 5
Rating
(90)
Projects
110
37%
Arbitration
8
88% / 0%
Overdue
0
Free
6
Developer 6
Rating
(103)
Projects
130
44%
Arbitration
7
43% / 43%
Overdue
7
5%
Free
7
Developer 7
Rating
(236)
Projects
418
34%
Arbitration
52
37% / 40%
Overdue
153
37%
Loaded
8
Developer 8
Rating
(68)
Projects
77
8%
Arbitration
33
9% / 55%
Overdue
6
8%
Working
9
Developer 9
Rating
(1090)
Projects
1770
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
3
33% / 67%
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
25
20% / 52%
Overdue
10
17%
Working
14
Developer 14
Rating
(22)
Projects
28
11%
Arbitration
6
33% / 50%
Overdue
4
14%
Working
15
Developer 15
Rating
(52)
Projects
97
24%
Arbitration
10
20% / 20%
Overdue
12
12%
Working
16
Developer 16
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
17
Developer 17
Rating
(36)
Projects
44
32%
Arbitration
6
17% / 33%
Overdue
8
18%
Working
18
Developer 18
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Similar orders
are you aware of the Monday Range Strategy? https://www.youtube.com/watch?v=7B_yBBFx6z8 5pm EST time sunday - monday 5pm est and it has to be on the H1 chart , minimum 1:2 Risk to reward and break even function after 1:1
I am looking for a programmer to do EA trader. If you can understand what I want from the video i do and you can do it, contact me because you will be able to do what I want. https://drive.google.com/file/d/1wbHxbUQQqCkdpr0-pHfIh2b288LzYTV2/view?usp=sharing maximum budget = 150$ Preference is given to someone who: -speaks Arabic so I can explain it clearly to him - And the lowest price
Hello, I need someone who have a great experience in ATAS platforms, I use ATAS software for orderflow and i would like tradingview to draw some light information from ATAS to tradingview. If you are capable of this please send me a message and let's proceed
Hi, I have a Live Data feature for my trading accounts that lets me check details like total open positions, number of lots, profits, etc. I need someone to add the number of pending orders to this live data. This is important for me to ensure that all accounts have the same number of pending orders, since I use a copy trading system. Also, there is a website where I check all the data. In this case, you would need
Hello, i am searching for an experienced, professional software engineer, who can convert three Indicators from MQL4 to MQL5. This may sound like an easy job, but one indicator is like a trading system and therefore a bit complex. So you need to have a very good understanding of both languages. You should also be able to code MQL5 classes ( https://www.mql5.com/en/docs/basis/oop ). The intention is to code MQL5
I was looking around for a robot to trade with and came across one that looked like it had some promising results, i would like to optimize the existing robot for even better and more consistent results and convert the mql4 code to mql5 so that i can run it on my live account after testing. I would like the expert to be run on the 5 minute time frame. Note: The robot is based on the martingale system. I have provided
### Summary of EA Requirements 1. **Time Period**: - The EA should operate on the H4 timeframe. 2. **RelicusRoad MACD v2 Indicator**: - **Parameters**: - Fast EMA Period: 12 - Fast EMA Type: Close price - Slow EMA Period: 24 - Slow EMA Type: Close price - Signal SMA Period: 9 - The EA should use this indicator to determine the crossover condition between the MACD line and the signal line. 3
I need a robot for forex trading~~The way the robot should work is that when I put it into a 5 minute chart, the chart will show 15 minutes, one hour, Regardless of whether they are buying or selling, they must buy or sell in the same color at the same time~~~ Use the following indicators: HalfTrend 1 & alerts mtf Trafficlight indicator.MQ4 When placed into a 5 minute chart ~ the chart will show 15 minutes, one
I am looking for a programmer to do EA trader. If you can understand what I want from the video i do and you can do it, contact me because you will be able to do what I want. https://drive.google.com/file/d/1wbHxbUQQqCkdpr0-pHfIh2b288LzYTV2/view?usp=sharing maximum budget = 150$ Preference is given to someone who: -speaks Arabic so I can explain it clearly to him - And the lowest price
I have a full code ,, There are some errors in this.It does not add to the chart, does not show arrow marks, does not alert ,, fix this problem and work properly,, Contact on telegram @Gw_rakib1

Project information

Budget
40+ USD
For the developer
36 USD
Deadline
from 1 to 5 day(s)