Hedging EA with EMA 9

MQL5 Asesores Expertos

Trabajo finalizado

Plazo de ejecución 2 días
Comentario del Cliente
I am super surprised from the skills Marco have, super intelligent and fast guy.... Always gonna be my first choice Thank you!
Comentario del Ejecutor
Fantastic customer!

Tarea técnica

We need to build hedging EA where only indicator for buy/sell is EMA 9 close

Inputs in settings 
EMA = Ema9 close
Lotsize = 0.01
TakeProfit = 1 USD
Commission = 0.2 USD


We will separate this strategy in 4 different cases 
Case 1 = 1 open trade
Case 2 = 3 open trades
Case 3 = 5 open trades
Case 4 = 6 open trades
FLOW
Case 1:
Buy trade: If one candle it come full OVER ema 9 we are entering in BUY position
Sell trade: If one candle it come full UNDER ema 9 we are entering in SELL position

We have TP=TakeProfit + commission, if trade reach that is closing and open new position in same direction

ELSE
CASE 2
If first signal does not reach TP, we are opening 2 new trades in opposite direction with same LotSize
Example we have 1 buy trade, then we open 2 x 1 Sell trades and making a BASKET of 1 buy and 2 sell positions 
IF we reach TP where TP = TakeProfit + (3 * commission ) trade is closing and we go on CASE 1
ELSE
CASE 3
If we have 1 buy, 2 x 1 sell trades and they did not reach TP level then we are opening 2 x 1 buy trade and making a basket of 3 buy and 1 sell positions where TP = TakeProfit + (5 * commission) if reach TP we are back in CASE 2
Else 
CASE 4
IF we have 1 buy, 2 x 1 sell, 2 x 1 buy and they did not reach TP level then we are opening only 1 SELL trade
and we are making 2 TP baskets
1 TP BUY BASKET where it have 3 Buy and 1 Sell trade
2 TP SELL BASKET where it have 3 sell and 1 buy trade

IF we reach 1st TP BASKET we are going back to case 3 with opening 3 x 1 buy trades
Else IF we reach 2nd TP BASKET we are going back to case 3 with opening 3 x 1 sell trades

Han respondido

1
Desarrollador 1
Evaluación
(284)
Proyectos
355
29%
Arbitraje
37
27% / 65%
Caducado
10
3%
Trabaja
2
Desarrollador 2
Evaluación
(33)
Proyectos
38
21%
Arbitraje
5
0% / 60%
Caducado
0
Libre
3
Desarrollador 3
Evaluación
(180)
Proyectos
194
46%
Arbitraje
4
50% / 25%
Caducado
1
1%
Trabajando
4
Desarrollador 4
Evaluación
(1)
Proyectos
3
0%
Arbitraje
0
Caducado
0
Libre
5
Desarrollador 5
Evaluación
(19)
Proyectos
25
36%
Arbitraje
3
33% / 67%
Caducado
3
12%
Trabaja
6
Desarrollador 6
Evaluación
(510)
Proyectos
977
74%
Arbitraje
27
19% / 67%
Caducado
100
10%
Trabaja
Ha publicado: 1 artículo, 6 ejemplos
7
Desarrollador 7
Evaluación
(258)
Proyectos
396
28%
Arbitraje
70
19% / 49%
Caducado
121
31%
Trabaja
8
Desarrollador 8
Evaluación
(2)
Proyectos
0
0%
Arbitraje
5
0% / 60%
Caducado
0
Libre
9
Desarrollador 9
Evaluación
(22)
Proyectos
21
10%
Arbitraje
4
25% / 75%
Caducado
0
Libre
10
Desarrollador 10
Evaluación
(1)
Proyectos
2
0%
Arbitraje
2
0% / 50%
Caducado
0
Libre
11
Desarrollador 11
Evaluación
(329)
Proyectos
515
19%
Arbitraje
35
46% / 31%
Caducado
34
7%
Trabaja
12
Desarrollador 12
Evaluación
(3)
Proyectos
4
25%
Arbitraje
0
Caducado
0
Libre
13
Desarrollador 13
Evaluación
(1)
Proyectos
1
0%
Arbitraje
1
0% / 0%
Caducado
0
Libre
14
Desarrollador 14
Evaluación
(3)
Proyectos
2
50%
Arbitraje
1
0% / 100%
Caducado
0
Libre
15
Desarrollador 15
Evaluación
(8)
Proyectos
8
0%
Arbitraje
2
50% / 0%
Caducado
1
13%
Trabaja
16
Desarrollador 16
Evaluación
(4)
Proyectos
8
0%
Arbitraje
3
33% / 67%
Caducado
4
50%
Libre
17
Desarrollador 17
Evaluación
(3)
Proyectos
4
0%
Arbitraje
1
0% / 0%
Caducado
0
Libre
18
Desarrollador 18
Evaluación
(1)
Proyectos
1
0%
Arbitraje
0
Caducado
0
Libre
19
Desarrollador 19
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
20
Desarrollador 20
Evaluación
(20)
Proyectos
29
3%
Arbitraje
4
0% / 100%
Caducado
5
17%
Libre
21
Desarrollador 21
Evaluación
(75)
Proyectos
80
6%
Arbitraje
46
11% / 54%
Caducado
7
9%
Trabaja
22
Desarrollador 22
Evaluación
(1)
Proyectos
2
50%
Arbitraje
1
0% / 100%
Caducado
1
50%
Libre
23
Desarrollador 23
Evaluación
(298)
Proyectos
478
40%
Arbitraje
105
40% / 24%
Caducado
82
17%
Trabajando
Ha publicado: 2 ejemplos
24
Desarrollador 24
Evaluación
(162)
Proyectos
289
35%
Arbitraje
18
22% / 61%
Caducado
43
15%
Libre
25
Desarrollador 25
Evaluación
(319)
Proyectos
571
35%
Arbitraje
83
31% / 45%
Caducado
206
36%
Libre
26
Desarrollador 26
Evaluación
(390)
Proyectos
416
30%
Arbitraje
74
19% / 72%
Caducado
52
13%
Trabaja
27
Desarrollador 27
Evaluación
(361)
Proyectos
644
26%
Arbitraje
92
72% / 14%
Caducado
12
2%
Trabaja
Ha publicado: 1 ejemplo
28
Desarrollador 28
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
29
Desarrollador 29
Evaluación
(206)
Proyectos
333
35%
Arbitraje
66
12% / 58%
Caducado
87
26%
Libre
30
Desarrollador 30
Evaluación
(34)
Proyectos
35
40%
Arbitraje
0
Caducado
3
9%
Libre
31
Desarrollador 31
Evaluación
(78)
Proyectos
246
74%
Arbitraje
7
100% / 0%
Caducado
1
0%
Libre
Ha publicado: 1 artículo
32
Desarrollador 32
Evaluación
(574)
Proyectos
945
47%
Arbitraje
309
58% / 27%
Caducado
125
13%
Libre
Solicitudes similares
I need a professional AI-assisted Forex trading Expert Advisor (EA) for MetaTrader 5. The EA should not be based on a simple single indicator strategy. I want a robust multi-factor trading system that can analyze market conditions, trend, momentum, volatility, price action and risk before entering a trade. Requirements: Forex trading on MT5 Automated analysis and trade execution Dynamic entry and exit decisions Stop
Create a fully automated MetaTrader 5 (MT5) Expert Advisor (EA) in MQL5 based on the following exact trading strategy. STRATEGY NAME: Previous Day High/Low Daily Breakout Strategy INSTRUMENTS: 1. XAUUSD — fixed lot size: 0.01 2. EURUSD — fixed lot size: 0.10 TIMEZONE: All strategy times must be calculated in Indian Standard Time (IST / UTC+5:30). The broker's server time may be different, so the EA must correctly
OVERVIEW: I am looking for an experienced MQL developer to build a proprietary Expert Advisor (EA) specifically optimized to PASS evaluation challenges on modern prop firms (specifically targeting The 5%ers execution rules). The EA must rely on momentum and volume expansions, completely avoiding toxic strategies such as Grid, Martingale, or averaging down. Every trade must protect the account's daily drawdown
Hello here, I need someone who can work on pinescript and also with Renko charts. My entries for my strategy would be based on stop orders Kindly let me know if you can work on this for me and i will send necessary file and quote in the chat
Trade XAUUSD only Support MT5 Use Buy Stop and Sell Stop pending orders around a configurable breakout range. When the market breaks the range, activate the corresponding trade. Automatically place Stop Loss and Take Profit immediately with every order. Automatically cancel the opposite pending order after one side is triggered. No Martingale No Grid No averaging down No loss recovery system No unlimited position
Hey guys, I’ve got an MT4 HFT EA that’s showing strong results on an IC Markets demo account, and I'm looking to move it over to MT5. Does anyone have a solid MT5 version that performs well on IC Markets? Having the source code (MQL5) included would be awesome. Thanks for any leads
Hello! I want to automatically trade on Sierra Charts (IronBeam Brokerage). NQ ($20 per "handle") or MNQ ($2 per point or handle) - futures Broker: IronBeam mostly for the low capital requirement for futures Chart: Sierra Charts I almost exclusively trade a 5-20 bracket with 2 contracts (first contract closes at a +5 and second bracket closes at a +20.) When the +5 is reached, I move my stop from -15 to BE
Let’s use Chart M3. Stochastic 8,3,3. 85/15 trigger for sell stochastic >85, and the reversal move need to engulf the last bar for 1 point. SL over the engulfed bar. Same trigger for buys… Stochastic <15, engulfed bar by 1 point = entrance. SL under the engulfed bar… more details as soon we start to work on it
Scalping EA/straddle 30 - 200 USD
Title: Custom EA: Dynamic Trailing Limit Grid with Volatility/Velocity Filter and Auto SL/TP Description: I am looking for an experienced MQL5 programmer to develop a high-performance, robust Expert Advisor (EA) for MetaTrader 5. The strategy relies on dynamic trailing limit orders that automatically adjust to market price changes, featuring a safety buffer during high-velocity price spikes. The EA must include the
Freelance Task — EA Recovery Layer Hello. I have a ready-made MQL5 EA. The signals, SL/TP and lot calculation should essentially not be touched. I need a recovery system added. I am not a programmer — below is how the robot should behave. What stays Entry only from an EA signal. Stop-loss is not a new signal. Trailing is already built into my EA — recovery does not implement its own trailing. If trailing is disabled

Información sobre el proyecto

Presupuesto
30+ USD