Hedging EA with EMA 9

MQL5 Experts

Tâche terminée

Temps d'exécution 2 jours
Commentaires du client
I am super surprised from the skills Marco have, super intelligent and fast guy.... Always gonna be my first choice Thank you!
Commentaires de l'employé
Fantastic customer!

Spécifications

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

Répondu

1
Développeur 1
Évaluation
(253)
Projets
316
29%
Arbitrage
34
26% / 65%
En retard
10
3%
Gratuit
2
Développeur 2
Évaluation
(33)
Projets
38
21%
Arbitrage
5
0% / 60%
En retard
0
Gratuit
3
Développeur 3
Évaluation
(142)
Projets
151
41%
Arbitrage
3
33% / 33%
En retard
1
1%
Travail
4
Développeur 4
Évaluation
(1)
Projets
3
0%
Arbitrage
0
En retard
0
Gratuit
5
Développeur 5
Évaluation
(9)
Projets
13
8%
Arbitrage
3
33% / 67%
En retard
1
8%
Travail
6
Développeur 6
Évaluation
(509)
Projets
977
74%
Arbitrage
27
19% / 67%
En retard
101
10%
Gratuit
Publié : 1 article, 6 codes
7
Développeur 7
Évaluation
(258)
Projets
396
28%
Arbitrage
69
19% / 49%
En retard
121
31%
Gratuit
8
Développeur 8
Évaluation
(2)
Projets
0
0%
Arbitrage
5
0% / 60%
En retard
0
Gratuit
9
Développeur 9
Évaluation
(22)
Projets
21
10%
Arbitrage
4
25% / 75%
En retard
0
Gratuit
10
Développeur 10
Évaluation
(1)
Projets
2
0%
Arbitrage
2
0% / 50%
En retard
0
Gratuit
11
Développeur 11
Évaluation
(328)
Projets
510
19%
Arbitrage
33
45% / 30%
En retard
34
7%
Chargé
12
Développeur 12
Évaluation
(3)
Projets
4
25%
Arbitrage
0
En retard
0
Gratuit
13
Développeur 13
Évaluation
(1)
Projets
1
0%
Arbitrage
1
0% / 0%
En retard
0
Gratuit
14
Développeur 14
Évaluation
(3)
Projets
2
50%
Arbitrage
1
0% / 100%
En retard
0
Gratuit
15
Développeur 15
Évaluation
(6)
Projets
6
0%
Arbitrage
2
50% / 0%
En retard
1
17%
Gratuit
16
Développeur 16
Évaluation
(4)
Projets
8
0%
Arbitrage
3
33% / 67%
En retard
4
50%
Gratuit
17
Développeur 17
Évaluation
(3)
Projets
4
0%
Arbitrage
1
0% / 0%
En retard
0
Gratuit
18
Développeur 18
Évaluation
(1)
Projets
1
0%
Arbitrage
0
En retard
0
Gratuit
19
Développeur 19
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
20
Développeur 20
Évaluation
(18)
Projets
26
0%
Arbitrage
4
0% / 100%
En retard
5
19%
Gratuit
21
Développeur 21
Évaluation
(75)
Projets
80
6%
Arbitrage
46
11% / 54%
En retard
7
9%
Travail
22
Développeur 22
Évaluation
(1)
Projets
2
50%
Arbitrage
1
0% / 100%
En retard
1
50%
Gratuit
23
Développeur 23
Évaluation
(296)
Projets
475
40%
Arbitrage
105
40% / 24%
En retard
80
17%
Occupé
Publié : 2 codes
24
Développeur 24
Évaluation
(162)
Projets
287
34%
Arbitrage
18
22% / 61%
En retard
42
15%
Travail
25
Développeur 25
Évaluation
(311)
Projets
557
35%
Arbitrage
79
32% / 43%
En retard
202
36%
Travail
26
Développeur 26
Évaluation
(390)
Projets
416
30%
Arbitrage
74
19% / 72%
En retard
52
13%
Travail
27
Développeur 27
Évaluation
(361)
Projets
644
26%
Arbitrage
92
72% / 14%
En retard
12
2%
Travail
Publié : 1 code
28
Développeur 28
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
29
Développeur 29
Évaluation
(206)
Projets
333
35%
Arbitrage
66
12% / 58%
En retard
87
26%
Gratuit
30
Développeur 30
Évaluation
(16)
Projets
18
28%
Arbitrage
0
En retard
3
17%
Gratuit
31
Développeur 31
Évaluation
(77)
Projets
243
74%
Arbitrage
7
100% / 0%
En retard
1
0%
Gratuit
Publié : 1 article
32
Développeur 32
Évaluation
(574)
Projets
945
47%
Arbitrage
309
58% / 27%
En retard
125
13%
Gratuit
Commandes similaires
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

Informations sur le projet

Budget
30+ USD