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

MQL5 Experts Strategy optimization

Spécifications

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. 


Répondu

1
Développeur 1
Évaluation
(292)
Projets
364
30%
Arbitrage
37
27% / 65%
En retard
10
3%
Chargé
Publié : 10 codes
2
Développeur 2
Évaluation
(9)
Projets
12
25%
Arbitrage
0
En retard
1
8%
Gratuit
3
Développeur 3
Évaluation
(5)
Projets
7
43%
Arbitrage
8
13% / 88%
En retard
0
Gratuit
4
Développeur 4
Évaluation
(402)
Projets
520
24%
Arbitrage
61
57% / 25%
En retard
60
12%
Chargé
5
Développeur 5
Évaluation
(329)
Projets
515
19%
Arbitrage
35
46% / 31%
En retard
34
7%
Travail
6
Développeur 6
Évaluation
(52)
Projets
67
43%
Arbitrage
8
0% / 100%
En retard
3
4%
Gratuit
7
Développeur 7
Évaluation
(2678)
Projets
3422
68%
Arbitrage
78
47% / 14%
En retard
343
10%
Travail
Publié : 1 code
8
Développeur 8
Évaluation
(2351)
Projets
2958
63%
Arbitrage
125
44% / 26%
En retard
429
15%
Gratuit
9
Développeur 9
Évaluation
(111)
Projets
139
43%
Arbitrage
9
33% / 44%
En retard
6
4%
Gratuit
10
Développeur 10
Évaluation
(19)
Projets
23
48%
Arbitrage
10
0% / 100%
En retard
2
9%
Gratuit
11
Développeur 11
Évaluation
(43)
Projets
49
29%
Arbitrage
4
25% / 25%
En retard
0
Gratuit
12
Développeur 12
Évaluation
(6)
Projets
6
33%
Arbitrage
4
0% / 100%
En retard
0
Gratuit
13
Développeur 13
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
14
Développeur 14
Évaluation
(16)
Projets
23
26%
Arbitrage
1
0% / 0%
En retard
2
9%
Gratuit
15
Développeur 15
Évaluation
(369)
Projets
459
55%
Arbitrage
24
58% / 17%
En retard
31
7%
Travail
16
Développeur 16
Évaluation
(62)
Projets
90
29%
Arbitrage
24
13% / 58%
En retard
7
8%
Travail
17
Développeur 17
Évaluation
(1125)
Projets
1813
61%
Arbitrage
14
64% / 7%
En retard
84
5%
Gratuit
18
Développeur 18
Évaluation
(152)
Projets
228
80%
Arbitrage
22
27% / 50%
En retard
11
5%
Gratuit
Publié : 24 articles, 1882 codes
19
Développeur 19
Évaluation
(298)
Projets
478
40%
Arbitrage
105
40% / 24%
En retard
82
17%
Chargé
Publié : 2 codes
20
Développeur 20
Évaluation
(319)
Projets
574
35%
Arbitrage
83
31% / 45%
En retard
207
36%
Gratuit
21
Développeur 21
Évaluation
(78)
Projets
247
74%
Arbitrage
7
100% / 0%
En retard
1
0%
Gratuit
Publié : 2 articles, 1 code
22
Développeur 22
Évaluation
(12)
Projets
9
33%
Arbitrage
11
0% / 100%
En retard
2
22%
Gratuit
23
Développeur 23
Évaluation
(271)
Projets
553
50%
Arbitrage
57
40% / 37%
En retard
227
41%
Travail
24
Développeur 24
Évaluation
(44)
Projets
53
38%
Arbitrage
8
13% / 38%
En retard
8
15%
Gratuit
Commandes similaires
I am looking for a highly skilled trading strategist and MQL5 developer with genuine experience in researching, designing, testing, and implementing systematic trading strategies. My primary interest is XAUUSD (Gold), although proven experience with other financial markets is also welcome. I am not looking for someone who simply converts trading rules into code. I want to identify a professional who understands
Trading 35+ USD
Project: XAUUSD Gold Trading Robot for MetaTrader 5 I want to develop a fully automated Expert Advisor (EA) for MetaTrader 5, designed exclusively for Gold (XAUUSD) and compatible with the Exness broker. Trading Strategy: Liquidity + CHOCH + Retest Identify important buy-side and sell-side liquidity zones using previous highs and lows, equal highs/lows, and confirmed swing points. Wait for a clear liquidity sweep
i want to fix my gold martingale bot MT5. RSI 14 ENTRY 30 BUY 70 SELL Lot 0.02 0.04 0.07 TP 150 for all SL 90 30 30 once total daily profit is 200$ stop trading stop trading once 2 consecutives total losses stop trading if spread exceeded 30 and between hour 15 & 17 PM Move SL to breakeven point once the profit exceeded 50 from from breakeven thanks
MarketMind Breakout Pro XAUUSD H1 — Donchian Breakout EA Project type: Personal EA development and backtesting Platform: MetaTrader 5 Instrument: XAUUSD Timeframe: H1 Strategy: Donchian Channel breakout with EMA 200 Project overview This project evaluates a Donchian breakout trading strategy for XAUUSD on the H1 timeframe. The system uses channel-based breakout conditions and an EMA 200 trend filter. Historical
Title: Fully Automatic MT5 Trading Bot (Expert Advisor) with Risk Management I want a fully automated trading robot (Expert Advisor) for MetaTrader 5, written in MQL5. The bot must automatically analyse market data, identify trading opportunities, execute BUY and SELL orders, manage open positions, and close trades according to predefined rules without requiring manual confirmation for each trade. Requirements
I have three indicators that operate independently. I want to combine them into one indicator with custom expert programming that automatically enters trades when a signal is generated by one of the indicators. I will pay for this service Thanks you
Existing EA: NEW_CORE_ORB_M5_v021 | MT5 | XAUUSD M5 Early-stage research prototype, not a new EA from scratch. Need an experienced MQL5 developer to audit, complete, repair, improve and test BOTH independent strategies equally: Opening Range Breakout (ORB) and Scalp. Keep code lightweight and preserve an untouched baseline. No unnecessary rewrite or complex filters. 1. ORB Strategy Verify opening-range construction
Hello International Developer, I need LIFETIME MT5 EA for XAUUSD Gold. REQUIREMENTS: 1. Lifetime bot - No expiry date, unlimited accounts, unlimited installations 2. Must include source code .mq5 file - This makes it lifetime 3. Every trade MUST have Stop Loss 300 points and Take Profit 600 points 4. No martingale, No grid, No averaging - Clean safe strategy 5. Auto lot size = 1% risk per trade for good margin growth
Expert advisor 150+ USD
Hiring: Forex Strategist & MQL5 Developer for Long-Term EA Development I am looking for an experienced Forex Strategist and MT5 (MQL5) Developer to work with me on an ongoing project to develop, test, improve, and optimize a profitable Forex Expert Advisor (EA). My Message to the Developer My budget is $150 . However, this is not intended to be a one-time payment for a finished product. I want an ongoing working
Hello developers,I am looking for an experienced MQL5 developer to create an EA based on Moving Average retest strategy with advanced recovery system.The concept is simple: Entry is based on MA close and retest. Initial trade has small TP and no SL.If price goes against the initial position, the EA should manage it using:Opposite hedge tradePending limit grid systemBasket take profitMartingale lot multiplier after

Informations sur le projet

Budget
30 - 75 USD