EA for use on MT5, simple strategy based on the High and Low of candles

MQL5 Experts Strategy optimization

Specification

Hi, I need to make an EA for use on MT5, on a simple strategy based on the High and Low of candles. Below is the strategy where I should be able to change the variables (number of candles, candle frequency, hours, multiplier, etc):


Entry Long

--------------------

Open Position = 0

AND

CMP > Highest High of last 5 candles

--------------------


Exit Long

--------------------

Time > Entry Time + 5 hours

AND

CMP < Lowest Low of last 5 candles

--------------------

OR

--------------------

Time < Entry Time + 5 hours

AND

CMP < Lowest Low of last 5 candles

AND

CMP < Entry Price * 0.99

--------------------
OR
--------------------

Time < Entry Time + 5 hours

AND

CMP < Lowest Low of last 5 candles

AND

CMP > Entry Price

--------------------

 

Entry Short

--------------------

Open Position = 0

AND

CMP < Lowest Low of last 5 candles

--------------------


Exit Short

--------------------

Time > Entry Time + 5 hours

AND

CMP > Highest High of last 5 candles

--------------------

OR

--------------------

Time < Entry Time + 5 hours

AND

CMP > Highest High of last 5 candles

AND

CMP > Entry Price * 1.01

--------------------
OR
--------------------

Time < Entry Time + 5 hours

AND

CMP > Highest High of last 5 candles

AND

CMP < Entry Price

--------------------


At any point, only one of the two (Long or Short) entries should be active. 


Responded

1
Developer 1
Rating
(125)
Projects
146
23%
Arbitration
5
0% / 60%
Overdue
4
3%
Free
2
Developer 2
Rating
(7)
Projects
10
30%
Arbitration
0
Overdue
1
10%
Free
3
Developer 3
Rating
(4)
Projects
4
50%
Arbitration
0
Overdue
0
Free
4
Developer 4
Rating
(291)
Projects
363
21%
Arbitration
42
57% / 24%
Overdue
41
11%
Working
5
Developer 5
Rating
(168)
Projects
278
14%
Arbitration
19
42% / 37%
Overdue
15
5%
Busy
6
Developer 6
Rating
(5)
Projects
9
0%
Arbitration
0
Overdue
0
Working
7
Developer 7
Rating
(2398)
Projects
3011
65%
Arbitration
76
47% / 14%
Overdue
340
11%
Working
8
Developer 8
Rating
(2056)
Projects
2613
61%
Arbitration
113
45% / 26%
Overdue
418
16%
Working
9
Developer 9
Rating
(102)
Projects
129
44%
Arbitration
7
43% / 43%
Overdue
7
5%
Working
10
Developer 10
Rating
(19)
Projects
23
48%
Arbitration
4
0% / 100%
Overdue
2
9%
Working
11
Developer 11
Rating
(34)
Projects
38
26%
Arbitration
4
0% / 25%
Overdue
0
Loaded
12
Developer 12
Rating
(6)
Projects
6
33%
Arbitration
2
0% / 100%
Overdue
0
Working
13
Developer 13
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
14
Developer 14
Rating
(5)
Projects
5
0%
Arbitration
0
Overdue
0
Working
15
Developer 15
Rating
(47)
Projects
54
30%
Arbitration
2
0% / 0%
Overdue
0
Free
16
Developer 16
Rating
(19)
Projects
22
5%
Arbitration
6
17% / 17%
Overdue
3
14%
Busy
17
Developer 17
Rating
(1088)
Projects
1765
61%
Arbitration
14
64% / 7%
Overdue
82
5%
Free
18
Developer 18
Rating
(138)
Projects
199
80%
Arbitration
17
29% / 47%
Overdue
10
5%
Working
19
Developer 19
Rating
(251)
Projects
402
38%
Arbitration
82
41% / 20%
Overdue
70
17%
Working
20
Developer 20
Rating
(230)
Projects
410
34%
Arbitration
53
36% / 40%
Overdue
150
37%
Loaded
21
Developer 21
Rating
(54)
Projects
159
69%
Arbitration
4
100% / 0%
Overdue
1
1%
Working
22
Developer 22
Rating
(6)
Projects
7
43%
Arbitration
1
0% / 0%
Overdue
2
29%
Busy
23
Developer 23
Rating
(262)
Projects
536
50%
Arbitration
54
41% / 37%
Overdue
224
42%
Working
24
Developer 24
Rating
(35)
Projects
44
32%
Arbitration
5
20% / 20%
Overdue
8
18%
Working
Similar orders
Project Description: I have a Pine Script indicator used for trading any forex and/or stock instrument based on various time frames. I need to convert this indicator into an Expert Advisor for MetaTrader 4 or MetaTrader 5. The EA should replicate the functionality and logic of the Pine Script indicator, including all the parameters, conditions, and alerts. Below is the detailed description of the Pine Script code and
I have an EA and the code for the same , I want a particular option to be added to this EA. The option to be added is to do the below logic. Inputs to be added. Calculation Type 1) Percentage of Profit on Number of trades. Input Percentage 1) Percentage of Profit in % 2) Percentage of Loss in % Logic Check. 1) Count number of Buy / Sell open orders separately. 2) Check for Each buy / Sell positions , how many are in
Please make a new pending order software and add it to the each of the Ea's that I would send the source codes. If any of the settings of the usual pattern of the Ea's have there in the EA's are not clear to you, then I will explain that part
Just have a look make it better enjoy and have fun 😊 this is the first time I am trying this, I got ripped off 3 times before. I hope this time works with all your help. Thank you kindly
I will provide pine script and need to convert it as a mql4 EA. The system is based on swing highs and lows. If you interested please knock me, Thank you
I want an Indicator that : Draws vertical lines at the opening of candles on a time frames selected.( I want to be able change the candle timeframe the line will be drawn. Eg. I can slelect 1H, 4H etc from the settings, and the vertical line will be drawn at the opening). Draw a horizontal line at the opening of the candles in the selected timeframe. Calculate the average range of the candles on a selected timeframe
Hello, I need an EA for both MQL4 and MQL5 that complies with the following rules; A maximum daily drawdown of 4%. This means it should close all trades after a 4% loss and not trade for the rest of the day. It should not use martingale, No grid trading, No trade stacking (opening three or more trades at the same time in the same direction), trades should spends minutes before closing. The EA should also be able to
Hello I am new to MT4/MT5, I previously traded for a company with their own internal execution platform. I am looking for someone who can help me understand MT5, how to set up charts, indicators, advisors and back-testing etc.. basically a intro to a new user. I am particularly interested in learning is it possible to trade/execute spreads via MT5 - ie simultaneously buy MSFT and sell DELL, and when you trade out you
Hello, I am looking for someone that can develop for me a trading bot, that can trade on Crash 500 and 1000, and also on Boom 500 and 1000. The bot must buy on Crash 500 and 1000 and sell on Boom 500 and 1000. The indicator we use is the Awesome Oscillator. The CRASH 500/1000 we scalp it by buying. We only place our ENTRY that is to BUY when the Awesome Oscillator changes from VALUE DOWN to VALUE UP and by changing I
Hi there, I need a profitable MT5 trading robot with confirmed profitable results. It can be for any major pair, I just need a profitable bot, on autopilot. If you have a profitable bot, please contact me. And if possible, will need to test it for sometime before I purchase it

Project information

Budget
30 - 75 USD

Customer

Placed orders1
Arbitrage count0