EA improvement needed Fix Trade logic and Handling EA

Termos de Referência

Hi everyone,

I have the source code of an EA that I want to improve and fix a few issues. It already works to some extent, but I need help with the following:

Main Issue:
The EA opens only 1 trade at a time and closes others with SL. I want to fix this by allowing multiple trades to be opened, then all trades should close together at a calculated average TP that covers the total loss from previous trades.

Loss Recovery:
If trades are closed in loss, the next trade should track that loss and set its TP to cover all previous losses plus profit.

Lot Size Sequence Issue:
Sometimes when the lot size increases, the sequence breaks.
Example: instead of 0.01 → 0.02 → 0.04 → 0.08 → 0.16 → 0.32 → 0.64 ,
it suddenly jumps back to 0.32 or resets randomly. This needs to be fixed.

Scalping Logic:
Scalping works fine most of the time, but sometimes it behaves unexpectedly. Needs review.

Session Management:
Session time settings and trade limits should also be reviewed and fixed if needed.

🔍 Goal:
I just want someone to review the full logic once and mainly focus on trade sequence, average TP closure, proper lot size flow, and session control.

📂 I already have the source file (.mq5), so no reverse engineering needed.

Let me know if you can help!

Respondido

1
Desenvolvedor 1
Classificação
(102)
Projetos
158
21%
Arbitragem
23
9% / 78%
Expirado
16
10%
Trabalhando
2
Desenvolvedor 2
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
3
Desenvolvedor 3
Classificação
(69)
Projetos
79
29%
Arbitragem
8
13% / 63%
Expirado
4
5%
Livre
4
Desenvolvedor 4
Classificação
(22)
Projetos
24
71%
Arbitragem
0
Expirado
0
Trabalhando
5
Desenvolvedor 5
Classificação
(10)
Projetos
15
27%
Arbitragem
0
Expirado
3
20%
Livre
6
Desenvolvedor 6
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
7
Desenvolvedor 7
Classificação
(1)
Projetos
1
0%
Arbitragem
2
0% / 50%
Expirado
0
Trabalhando
8
Desenvolvedor 8
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
9
Desenvolvedor 9
Classificação
(8)
Projetos
12
33%
Arbitragem
0
Expirado
3
25%
Trabalhando
10
Desenvolvedor 10
Classificação
(6)
Projetos
9
0%
Arbitragem
5
40% / 40%
Expirado
1
11%
Livre
11
Desenvolvedor 11
Classificação
(45)
Projetos
46
24%
Arbitragem
34
9% / 85%
Expirado
10
22%
Livre
12
Desenvolvedor 12
Classificação
(77)
Projetos
241
73%
Arbitragem
7
100% / 0%
Expirado
1
0%
Livre
13
Desenvolvedor 13
Classificação
(294)
Projetos
470
39%
Arbitragem
102
40% / 24%
Expirado
78
17%
Carregado
Publicou: 2 códigos
14
Desenvolvedor 14
Classificação
(171)
Projetos
195
42%
Arbitragem
13
8% / 54%
Expirado
9
5%
Livre
Publicou: 3 códigos
15
Desenvolvedor 15
Classificação
(4)
Projetos
4
0%
Arbitragem
1
0% / 100%
Expirado
0
Livre
16
Desenvolvedor 16
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
Pedidos semelhantes
Hi, I am looking for a good Forex programmer that could build a EA robot , It will have to be built base on fibonachi retracement, 0 , 0.236, 0.382 , 0,5 , 0.618 , 0.786, 1, 1.618 , 2.618, and 3.618, the robot should be able to make me input the fibo numbers myself. stop Loss, T.P
PROJECT DESCRIPTION I am using a Telegram → MetaTrader trade copier (currently TWP Copier 1.08) which receives trade signals correctly but does NOT consistently execute trades on MT4, despite: Signals being received and logged AutoTrading enabled Live trading allowed Correct symbol names (no suffix/prefix issues) Manual trades working perfectly No trade conflicts or filters blocking execution CURRENT ISSUE Telegram
Hello, I’m reaching out because I’m interested in hiring you to develop a custom trading bot for me. The bot should trade only XAUUSD (Gold) and be designed for long-term account growth using my own trading account size. Here are the core requirements: - Account size: $300 - Asset: XAUUSD only - Risk management: Strict and properly controlled - Risk-to-reward ratio: Clearly defined and consistently applied -
A fairly simple bot, which you will have probably made most of this 100 times before, the only slight difference is the stop loss close logic, I want a hard stop, that will be logged at the brokers side as a fail safe, but then a soft stop, that only closes the trade if the candle closes beyond the soft stop price, based on the time frame I specify. (this avoids trades being stopped out by wicks). Any additional
HELLO EVERYONE , I NEED AAN INDICATORE AND EA ON STOCHESTIC OSSILATOR, WHICH CAN GIVE ME ALERT WHEN SIGNAL APEARS, INDICAOTRE I CAN SHOW ON TRADING VIEW , EXACTLTY THAT INDICATORE I NEEDED.INDICATORE NAME ON TRADING VIEW( JL STOCHESTIC DIVERGENCE ALERT).. THANK YOU
//+------------------------------------------------------------------+ //| Expert initialization function | //+------------------------------------------------------------------+ #property strict // Inputs input int EMA_Fast = 9; input int EMA_Slow = 21; input int RSI_Period = 14; input double Lots = 0.1; input int StopLoss = 20; // وقف خسارة (بـ نقاط) input int TakeProfit = 40; // هدف (بـ نقاط)
I have the Strategy and full spec any developer can run test to confirm. I need a developer to code it Claude AI has never given a score 11/10. "4.4 PROFIT FACTOR EA - CLAUDE AI CERTIFIED Scorpio Sniper Elite v1.4 - COMPLETE production spec ready: • 60% win rate | $100-190 daily expectancy • 50yr Monte Carlo validated • CLAUDE AI robustness certified [ATTACH ONLY: YOUR 11/10 CERTIFICATE
EA gold sniper 30 - 150 USD
I need an EA specialized for scalping XAUUSD, with short TP and SL in the range of 20–50 pips (equivalent to 2–5 gold price units). No DCA Martingale, no holding/averaging down positions, no grid trading, and no simultaneous buy and sell orders. The strategy and methodology will be yours, and I also require the full source code upon completion
Mt5 or mt4 bot 200 - 600 USD
MetaTrader 5 Expert Advisor Manual Start – Auto Hedge – Dynamic Lot Sequence – Price-Based SL/TP 1. Platform & Account - Platform: MetaTrader 5 - Account type: Hedging - Broker: Exness - Must work on Cent and Standard accounts - Symbol: XAUUSD - Must support different symbol digits automatically 2. First Trade (Manual Only) - EA must NOT open the first trade - First trade is opened manually by the trader - Direction
Profitable Gold bot Requirement Able to achieve at least 5% profit per week with any type of strategy Proper risk management with SL Able to back test for at least 6 month proven result No martingale/ No grid Avoid high impact news Reward Willing to pay more if able to achieve higher profits with acceptable drawdown. (Not small reward) very welcome long term cooperation with good rewards Testing is compulsory before

Informações sobre o projeto

Orçamento
30 - 40 USD
Prazo
de 1 para 2 dias