EA improvement needed Fix Trade logic and Handling EA

Spécifications

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!

Répondu

1
Développeur 1
Évaluation
(102)
Projets
158
21%
Arbitrage
23
9% / 78%
En retard
16
10%
Travail
2
Développeur 2
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
3
Développeur 3
Évaluation
(69)
Projets
79
29%
Arbitrage
8
13% / 63%
En retard
4
5%
Gratuit
4
Développeur 4
Évaluation
(22)
Projets
24
71%
Arbitrage
0
En retard
0
Travail
5
Développeur 5
Évaluation
(10)
Projets
15
27%
Arbitrage
0
En retard
3
20%
Gratuit
6
Développeur 6
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
7
Développeur 7
Évaluation
(1)
Projets
1
0%
Arbitrage
2
0% / 50%
En retard
0
Travail
8
Développeur 8
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
9
Développeur 9
Évaluation
(8)
Projets
12
33%
Arbitrage
0
En retard
3
25%
Travail
10
Développeur 10
Évaluation
(6)
Projets
9
0%
Arbitrage
5
40% / 40%
En retard
1
11%
Gratuit
11
Développeur 11
Évaluation
(45)
Projets
46
24%
Arbitrage
34
9% / 85%
En retard
10
22%
Gratuit
12
Développeur 12
Évaluation
(77)
Projets
241
73%
Arbitrage
7
100% / 0%
En retard
1
0%
Gratuit
13
Développeur 13
Évaluation
(294)
Projets
470
39%
Arbitrage
102
40% / 24%
En retard
78
17%
Chargé
Publié : 2 codes
14
Développeur 14
Évaluation
(171)
Projets
195
42%
Arbitrage
13
8% / 54%
En retard
9
5%
Gratuit
Publié : 3 codes
15
Développeur 15
Évaluation
(4)
Projets
4
0%
Arbitrage
1
0% / 100%
En retard
0
Gratuit
16
Développeur 16
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
Commandes similaires
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

Informations sur le projet

Budget
30 - 40 USD
Délais
de 1 à 2 jour(s)