I need a EA/auto trader based on Moving Average

MQL4 Experts

Specification

I need an EA to trade based on Moving Average. 

Inputs:

1. MA Selection (User should be able to provide MA type like simple, Exponential and weighted and MA length like 5, 10, 20, 50 etc.)

2. Lot size

3. Take profit

4. Stop Loss 

Strategy:

If the candle closes above the EMA, Buy/Long order should be placed  (Short/Sell order should be closed if already in Open). If the candle closes below EMA, Short/Sell order should be placed (Long/Buy order should be closed if already in Open)

Example Scenario:

Scenario 1: Previous Candle closed above EMA:

EA should place Buy/Long Order with TP and/or SL

Exit Criteria 1:

Order will be closed once it hits TP/SL. In this case EA should wait until the direction is changed i.e. candle closes below EMA to place Short/Sell order

Exit Criteria 2:

EA should close the Buy/Long position once the candle closes below EMA ( and should place Short/Sell order)


Scenario 2: Previous Candle closed below EMA:

EA should place Short/Sell Order with TP and/or SL

Exit Criteria 1:

Order will be closed once it hits TP/SL. In this case EA should wait until the direction is changed i.e. candle closes above EMA to place Buy/Long order

Exit Criteria 2:

EA should close the Short/Sell position once the candle closes above EMA ( and should place Buy/Long order)


Please let me know if you need more details to understand the strategy

Files:

Responded

1
Developer 1
Rating
(8)
Projects
23
30%
Arbitration
1
0% / 0%
Overdue
1
4%
Working
2
Developer 2
Rating
(42)
Projects
62
8%
Arbitration
12
58% / 42%
Overdue
1
2%
Free
3
Developer 3
Rating
(338)
Projects
532
32%
Arbitration
23
65% / 9%
Overdue
15
3%
Free
4
Developer 4
Rating
(141)
Projects
197
21%
Arbitration
13
54% / 23%
Overdue
1
1%
Busy
5
Developer 5
Rating
(168)
Projects
276
14%
Arbitration
19
42% / 37%
Overdue
14
5%
Busy
6
Developer 6
Rating
(190)
Projects
194
27%
Arbitration
0
Overdue
3
2%
Free
7
Developer 7
Rating
(290)
Projects
361
21%
Arbitration
42
57% / 24%
Overdue
40
11%
Loaded
8
Developer 8
Rating
(99)
Projects
153
31%
Arbitration
9
11% / 44%
Overdue
0
Working
9
Developer 9
Rating
(430)
Projects
488
33%
Arbitration
25
40% / 48%
Overdue
7
1%
Working
10
Developer 10
Rating
(544)
Projects
1323
59%
Arbitration
28
82% / 0%
Overdue
10
1%
Free
11
Developer 11
Rating
(15)
Projects
23
17%
Arbitration
2
0% / 50%
Overdue
1
4%
Free
12
Developer 12
Rating
Projects
0
0%
Arbitration
1
0% / 100%
Overdue
0
Free
13
Developer 13
Rating
(3)
Projects
4
0%
Arbitration
0
Overdue
1
25%
Free
14
Developer 14
Rating
(57)
Projects
75
25%
Arbitration
9
33% / 56%
Overdue
8
11%
Free
15
Developer 15
Rating
(10)
Projects
13
31%
Arbitration
2
50% / 0%
Overdue
1
8%
Working
16
Developer 16
Rating
(561)
Projects
928
48%
Arbitration
301
59% / 25%
Overdue
123
13%
Loaded
17
Developer 17
Rating
(67)
Projects
74
7%
Arbitration
32
9% / 56%
Overdue
6
8%
Working
18
Developer 18
Rating
(62)
Projects
84
26%
Arbitration
22
23% / 50%
Overdue
23
27%
Free
19
Developer 19
Rating
(35)
Projects
44
32%
Arbitration
5
20% / 20%
Overdue
8
18%
Working
20
Developer 20
Rating
(566)
Projects
639
41%
Arbitration
22
55% / 27%
Overdue
45
7%
Loaded
21
Developer 21
Rating
(17)
Projects
17
18%
Arbitration
5
20% / 60%
Overdue
2
12%
Working
22
Developer 22
Rating
(96)
Projects
143
76%
Arbitration
0
Overdue
2
1%
Free
23
Developer 23
Rating
(27)
Projects
27
26%
Arbitration
2
0% / 50%
Overdue
1
4%
Free
24
Developer 24
Rating
(52)
Projects
96
24%
Arbitration
9
22% / 22%
Overdue
12
13%
Working
25
Developer 25
Rating
(37)
Projects
40
25%
Arbitration
21
14% / 71%
Overdue
8
20%
Loaded
26
Developer 26
Rating
(54)
Projects
159
69%
Arbitration
4
100% / 0%
Overdue
1
1%
Free
27
Developer 27
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
28
Developer 28
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
29
Developer 29
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Similar orders
I have working MT4 and MT5 example program code using pipes via importing kernell32.dll in MT5 to receive transactional messages sent from another MT4 instance running. Most of the time it works fine. But intermittently I get an ‘Access violation’ error generated showing in the Experts tab of MT5. It fails to read the message sent from MT4 and does not trap the error. Also, when I try it on a different VPS computer -
A Hedge EA 50+ USD
Hi I need someone to develop a Hedge EA with specific actions once the maximum number of trades is reached before TP The input would determine the maximum number of hedge before the specific actions take place As an example if the maximum number of of trades is 3 and the hedge mutiplier is 3 Initial trade(Buy): 1 lots Hedge (Sell): 3 lots (1x3) Hedge (Buy): 9 lots (3x3) Then the maximum trades number is reached - no
Helo Geeks i need an experienced developer of forex Eas who can make my purchased EA that has the activation llicense to run to my mt5. I have purchased this EA to someone on telegram but he just not responding to me to give me activation license ,but i believe there are geeks here who can make it run to my mt5. i will share more details on that
Am nevoie de o conversie a unui EA din mql4 in mql5. La final sa fie testata, compilata si rezultatul sa nu aiba erori. Modificarea parametrilor sa se faca dint-un fisier cu extensia txt. Am eu modelul Hi. I need a conversion of an EA from mql4 to mql5. At the end, it should be tested, compiled and the result should have no errors. Modifying the parameters should be done from a file with the extension txt. I have the
Building an expert who copies trades between two platforms on two different devices...controlling the slave’s account number...adding the necessary settings...copying direct trades and copying pending trades...the best developer who has knowledge of this type of expert is fluent in the English language and fast in Reply
Create a mt5 Grid bot EA Set configurable parameters - lot size, grid size & close percentage, increment value. When there is no open trade, open a buy and sell at the same time and same price, with lot size as defined in the lot size variable. Set pending orders - buy and sell at previous lot size + increment value; price at current trade price + grid size. buy and sell at previous lot size + increment value; price
Looking for experienced developer to fix and check the indicator functions in my EA. Main problem to fix is that there is option to open new trade at close of previous which doen't always work on one of the indicators - depending on user inputs. Also if trading is disabled using AutoTrading button, then re enabled the EA waits for new signal to start, but it needs to place trade immediately according to current
I have an EA which trades with XAUUSD with a grid system, and I need to add a few features: 1.- The EA works with an indicator and open many trades as a grid system. I need the EA to open JUST 1 TRADE INMEDIATELY WHEN THE TREND SHOWS. 2.- I need the EA to keep that trade open until it reaches TP or the reverse signal shows. The EA has already the 'close if reverse signal' parameter. 3.- I need to create a parameter
To automatically execute specified trading lots based on RSI lower than 30 and higher than 70. Price must be at least $2 away from defined price benchmarks. Bot must close trade with $2 take profit
Hello, I am looking for someone to convert my MQL4 code project to MQL5. A brief description of my current strategy: MT4 'Spreadsheet' EA collects data from 28 FX currency pairs -> sends it to Excel, then Excel calculates and makes a decision -> Excel sends a signal to MT4 'Trading' EA and manages trades I want the MT4 EA to be converted into MT5. For Back testing purposes, I want to withdraw from using Excel and let

Project information

Budget
30+ USD
For the developer
27 USD
Deadline
from 1 to 5 day(s)