Hedging EA with EMA 9

MQL5 Experts

Trabalho concluído

Tempo de execução 2 dias
Comentário do cliente
I am super surprised from the skills Marco have, super intelligent and fast guy.... Always gonna be my first choice Thank you!
Comentário do desenvolvedor
Fantastic customer!

Termos de Referência

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

Respondido

1
Desenvolvedor 1
Classificação
(253)
Projetos
316
29%
Arbitragem
34
26% / 65%
Expirado
10
3%
Livre
2
Desenvolvedor 2
Classificação
(33)
Projetos
38
21%
Arbitragem
5
0% / 60%
Expirado
0
Livre
3
Desenvolvedor 3
Classificação
(142)
Projetos
151
41%
Arbitragem
3
33% / 33%
Expirado
1
1%
Trabalhando
4
Desenvolvedor 4
Classificação
(1)
Projetos
3
0%
Arbitragem
0
Expirado
0
Livre
5
Desenvolvedor 5
Classificação
(9)
Projetos
13
8%
Arbitragem
3
33% / 67%
Expirado
1
8%
Trabalhando
6
Desenvolvedor 6
Classificação
(509)
Projetos
977
74%
Arbitragem
27
19% / 67%
Expirado
101
10%
Livre
Publicou: 1 artigo, 6 códigos
7
Desenvolvedor 7
Classificação
(258)
Projetos
396
28%
Arbitragem
69
19% / 49%
Expirado
121
31%
Livre
8
Desenvolvedor 8
Classificação
(2)
Projetos
0
0%
Arbitragem
5
0% / 60%
Expirado
0
Livre
9
Desenvolvedor 9
Classificação
(22)
Projetos
21
10%
Arbitragem
4
25% / 75%
Expirado
0
Livre
10
Desenvolvedor 10
Classificação
(1)
Projetos
2
0%
Arbitragem
2
0% / 50%
Expirado
0
Livre
11
Desenvolvedor 11
Classificação
(328)
Projetos
510
19%
Arbitragem
33
45% / 30%
Expirado
34
7%
Carregado
12
Desenvolvedor 12
Classificação
(3)
Projetos
4
25%
Arbitragem
0
Expirado
0
Livre
13
Desenvolvedor 13
Classificação
(1)
Projetos
1
0%
Arbitragem
1
0% / 0%
Expirado
0
Livre
14
Desenvolvedor 14
Classificação
(3)
Projetos
2
50%
Arbitragem
1
0% / 100%
Expirado
0
Livre
15
Desenvolvedor 15
Classificação
(6)
Projetos
6
0%
Arbitragem
2
50% / 0%
Expirado
1
17%
Livre
16
Desenvolvedor 16
Classificação
(4)
Projetos
8
0%
Arbitragem
3
33% / 67%
Expirado
4
50%
Livre
17
Desenvolvedor 17
Classificação
(3)
Projetos
4
0%
Arbitragem
1
0% / 0%
Expirado
0
Livre
18
Desenvolvedor 18
Classificação
(1)
Projetos
1
0%
Arbitragem
0
Expirado
0
Livre
19
Desenvolvedor 19
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
20
Desenvolvedor 20
Classificação
(18)
Projetos
26
0%
Arbitragem
4
0% / 100%
Expirado
5
19%
Livre
21
Desenvolvedor 21
Classificação
(75)
Projetos
80
6%
Arbitragem
46
11% / 54%
Expirado
7
9%
Trabalhando
22
Desenvolvedor 22
Classificação
(1)
Projetos
2
50%
Arbitragem
1
0% / 100%
Expirado
1
50%
Livre
23
Desenvolvedor 23
Classificação
(296)
Projetos
475
40%
Arbitragem
105
40% / 24%
Expirado
80
17%
Ocupado
Publicou: 2 códigos
24
Desenvolvedor 24
Classificação
(162)
Projetos
287
34%
Arbitragem
18
22% / 61%
Expirado
42
15%
Trabalhando
25
Desenvolvedor 25
Classificação
(311)
Projetos
557
35%
Arbitragem
79
32% / 43%
Expirado
202
36%
Trabalhando
26
Desenvolvedor 26
Classificação
(390)
Projetos
416
30%
Arbitragem
74
19% / 72%
Expirado
52
13%
Trabalhando
27
Desenvolvedor 27
Classificação
(361)
Projetos
644
26%
Arbitragem
92
72% / 14%
Expirado
12
2%
Trabalhando
Publicou: 1 código
28
Desenvolvedor 28
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
29
Desenvolvedor 29
Classificação
(206)
Projetos
333
35%
Arbitragem
66
12% / 58%
Expirado
87
26%
Livre
30
Desenvolvedor 30
Classificação
(16)
Projetos
18
28%
Arbitragem
0
Expirado
3
17%
Livre
31
Desenvolvedor 31
Classificação
(77)
Projetos
243
74%
Arbitragem
7
100% / 0%
Expirado
1
0%
Livre
Publicou: 1 artigo
32
Desenvolvedor 32
Classificação
(574)
Projetos
945
47%
Arbitragem
309
58% / 27%
Expirado
125
13%
Livre
Pedidos semelhantes
SMC ORDER BLOCK 30 - 60 USD
I want already build FULLY AUTOMATED order block MT5 XAUUSD HTF H4 ENTRY LTF M15 - Show result on live account. m15 ob entry in the direction of h4 ob bias the developper to provide source code in the end
I need an MT5 Expert Advisor built as a high-precision volumizer for Forex. Its core purpose is to generate controlled trading volume for rebates, while still maintaining low-risk account growth. I am not looking for aggressive profit chasing. I am looking for a stable, intelligent EA that can produce volume in a disciplined way without damaging the account. The ideal system should trade major currency pairs, avoid
1. IF price forms: - Higher highs + higher lows → TREND = BUY - Lower highs + lower lows → TREND = SELL ELSE → NO TRADE 2. IF: - Trend = BUY - Price retraces to support zone - Bullish engulfing candle forms - TDI green crosses above red (optional) THEN: - Execute BUY 3. IF: - Trend = SELL - Price retraces to resistance - Bearish engulfing forms - TDI confirms THEN: - Execute SELL 4. Risk per trade = 1% of account Lot
I need a high frequency trading robot for gold in one or 5 minute timeframe the robot should have spread filter where it should only open trades below a set spread should have news filter to allow trading during fundal news or not the robot should have input in number of minutes to close all open trades and remove pending orders before fundamental news as part of news filter. It should also have the number of minutes
Hello! I want to programm EA that uses volume profile indicator, but I am not sure if this is possible. Only experienced programmers please, I will not select a programmer who did only few jobs. Before starting I need to make sure you understand everything and that this is for sure technically possible
Hello, I am looking for a professional trading system including: 1- Trading Bot (Expert Advisor): - Good profit performance - High security and strong risk management - Works efficiently during high market volatility (news and strong movements) - Works on all pairs (Forex + Gold) 2- Signal Indicator: - Provides clear Buy and Sell signals - Includes Take Profit and Stop Loss - No repaint (signals must not change or
Hi, I’m looking for a top-tier, profit-optimized EA that has the potential to scale trading returns significantly. My goal is to maximize growth over time. Can you help develop a bespoke EA that could potentially scale to high six or seven figures
Max amount grid 30+ USD
max amount grid step for magic number do keep deleting .only when it is in negative floating .but when it is profit allow to go over the max and replays to grid step
Apply with a screen of your work . Symbol Specific Logic . Live Chart Optimization Check the Core logic . [back tests as well] Change points to pips . Create buffer for the zone

Informações sobre o projeto

Orçamento
30+ USD