Error in EA

MQL4 Indicadores Asesores Expertos

Trabajo finalizado

Plazo de ejecución 3 días

Tarea técnica


I have an error in attached EA

Please see explanation

Picture 1- After installation of EA an buy and sell order will be opend. This is correct
EA should only be always open an buy and sell order.

 

Picture 2 - if now one of each order is closed (becaus of TP, SL or market) - this order will opend as pending as stop order will an trailling - This is correct
In example the buy order is closed and opend as pending. If now the sell order will be closed - it should also opend as stop pending order with trail. But with second closing it does not -
This has to fix

 

How should EA work - if the buy or sell order is closed in market it should be opend as pending .

And ther should be never more open as one buy and one sell from this EA.

 

Picture 3 - so the open sell order is closed - but instead that EA does place this closed sell order as stop pending wit trail - EA has opend again an buy and sell order.

Also EA does have 3 order - But EA should only have an buy and sell order.

 

May problem ist - that EA thinks its restarting and ther are no orders in market so he does place the buy and sell in market.

 

Doesen matter if at the beginning is first closed the buy order .... error is also with other first closing.

 


Archivos adjuntos:

PNG
picture-1.png
222.3 Kb
PNG
picture-2.png
230.0 Kb
PNG
picture-3.png
234.5 Kb

Han respondido

1
Desarrollador 1
Evaluación
(130)
Proyectos
184
32%
Arbitraje
18
28% / 67%
Caducado
27
15%
Libre
Ha publicado: 1 ejemplo
2
Desarrollador 2
Evaluación
(252)
Proyectos
462
26%
Arbitraje
139
20% / 60%
Caducado
100
22%
Libre
3
Desarrollador 3
Evaluación
(636)
Proyectos
1008
47%
Arbitraje
33
36% / 36%
Caducado
99
10%
Trabaja
Ha publicado: 6 ejemplos
4
Desarrollador 4
Evaluación
(7)
Proyectos
9
33%
Arbitraje
4
0% / 100%
Caducado
4
44%
Libre
5
Desarrollador 5
Evaluación
(195)
Proyectos
395
28%
Arbitraje
155
20% / 52%
Caducado
112
28%
Libre
6
Desarrollador 6
Evaluación
(33)
Proyectos
35
40%
Arbitraje
11
9% / 91%
Caducado
4
11%
Libre
Ha publicado: 4 ejemplos
Solicitudes similares
Requirements Specification: Debug & Error Fixing: Review the entire source code of the MQL expert advisor. Identify and fix all logical errors, bugs, and performance issues that cause trades to close prematurely or yield extremely low profits. Strategy Restructuring & Optimization: Fully analyze and optimize the current entry and exit strategy for USDJPY and GBPUSD. Modify, upgrade, or completely rewrite the entry
Its my analyisis 30 - 100 USD
Title: MT5 Expert Advisor (Trading Bot) Development: SMA/EMA + Smart Money Concepts Strategy Description (सीधा कॉपी-पेस्ट करें): I am an experienced trader and need a developer to build a custom trading bot (Expert Advisor) for MetaTrader 5 (MT5). My trading background: Strong knowledge of SMA and EMA (trend and crossover strategies) Full understanding of Smart Money Concepts (order blocks, liquidity, market
I am looking for an MQL5 developer to independently review an existing EA’s execution and position management logic. The review should focus on duplicate orders, trade isolation by symbol and magic number, broker price and volume constraints, error handling, and recovery after a terminal restart. This order is for an audit report. Please do not modify the source or change the trading strategy. For each finding
Hello, I need a custom Expert Advisor (EA) for MetaTrader 5 that implements a specific trend-following and reversal strategy using trailing pending orders. Here is the exact logic I need: 1. Initial Entry: The EA should open a Market BUY position (or I can open it manually, please include an option for both). 2. Trailing Sell Stop: As soon as the BUY position is open, the EA must place a SELL STOP pending order at a
i have back test video of exe5 file and need to develop ea mql mt5 source file experienced developers needed...i send video who are interested.... this is not martingale method
I’m looking for an experienced developer to build a fully automated XAUUSD scalping EA for MT5. Requirements: * Fast entries targeting small, profitable moves after trading costs. * Configurable fixed-target and trailing-stop modes. A $1 gold price move can trigger profit protection instead of closing the trade. * Once the profit trigger is reached, move the stop to cover costs and lock in a small net profit, then
I want to create an EA that will take trades according to a trading zone condition. The logic will start with the identification of a trading zone for BUY and SELL in the EA. After the trading zone has been identified, then the EA will use the current time frame prices to determine if the market will be a BUY or SELL. The market will be a BUY if the low price range goes above the lowest price after the installation
I have an existing compiled MT5 Expert Advisor (.ex5) for XAUUSD scalping. I need a developer to build a bridge that connects my existing EA to a broker’s FIX API, allowing its trading signals to execute orders directly through FIX instead of the standard MT5 trade server. I do not need a new trading strategy or a new EA. Please confirm whether this is technically possible without the EA source code, and explain your
I am looking for an experienced MQL5 developer and trader to develop a non-repainting scalping indicator for MT5 , designed for the M5 and M15 timeframes. Instruments I Trade: GainX 400 GainX 600 PainX 400 PainX 600 My Main Requirement: Signal Accuracy I do not need another basic indicator that simply displays BUY/SELL signals with Stop Loss and Take Profit levels. I already have several indicators, but their signals
Project Description: I need an MQL5 Expert Advisor built based on a precise Smart Money Concepts (SMC) multi-timeframe strategy. The bot must analyze the 1-Hour chart for institutional bias and execute trades on the 3-Minute chart following strict structural rules. 1. Inputs & Parameters (Customizable) - Risk Model: Fixed dollar risk of $20.00 for every $100.00 of account balance (20% per trade for personal capital

Información sobre el proyecto

Presupuesto
30+ USD
Plazo límite de ejecución
a 2 día(s)