Fix error in EA an add a Modification

MQL4 Indicadores Asesores Expertos

Tarea técnica

In my EA I want to fix an error and add global vriables so EA nows if orders are open when restarting.

 
Description of EA: I have already an EA which is opening after first installation (under Strategie 1) a buy and sell order and after one of these orders has been closed, ea is placing a pending order with an entry trigger. Note EA does only place at the beginning an buy and sell order. If buy is closed EA open an buy in Pending with an trigger. If sell is closed EA open an sell in trigger. This goes so on.

If this pending order with trigger is executed in the market, EA is opening again and pending after the order in market is closed and so on.

This is Strategy of EA - Do not change anything of Strategie of Strategie 1.


Error is - That EA does open after several Time to the beginning open buy and sell again an buy and sell. This should be fixed. EA should only open an buy and sell and if one of this is closed the pending for the order and so on.



Second change. EA should know his orders under global variables to ovoid also double opening.

1. After restarting Terminal or new installation EA forgot all ticket and try work with new. EA should check to have only 2 open orders in pending and 2 Orders open in Market – each from them can only be a buy and an sell.

So in Market kann never 3 orders from EA - always only two - the buy and sell.



EA should remember his oders and tickets. So after restarting plattform, problem with Internet EA should knows status of before.

If EA does not have 2 Orders in Market and not 2 Orders in Pending – EA should open 2 Orders Market.

If EA does not have 2 Orders in Market but 2 Orders in Pending – EA should do nothing.

EA does never have 3 or 4 Orders in Market…. Never only 2 and this can only be a buy and a sell order.

 

Can be a text file which save all ticket numbers there and update it repeatedly. so when restart the system or any other disconnection of system can check it's text first to remember them.

Archivos adjuntos:

Han respondido

1
Desarrollador 1
Evaluación
(2)
Proyectos
2
0%
Arbitraje
2
0% / 100%
Caducado
1
50%
Libre
2
Desarrollador 2
Evaluación
(225)
Proyectos
285
41%
Arbitraje
15
13% / 47%
Caducado
67
24%
Libre
3
Desarrollador 3
Evaluación
(277)
Proyectos
334
55%
Arbitraje
14
36% / 29%
Caducado
1
0%
Libre
4
Desarrollador 4
Evaluación
(232)
Proyectos
274
80%
Arbitraje
3
67% / 33%
Caducado
19
7%
Libre
Solicitudes similares
We already have the strategy. Need an MT4 Expert Advisor to set up on MT4 platform from MQL5. Tasks 1.Check why AutoTrading/EA is not executing trades 2. Verify MT4 settings 3. Install/compile an EA file if needed and confirm it runs
Hello! I am looking for an experienced, top-rated developer to build highly profitable strategy software that provides accurate signals for both long-term and short-term trades. The software must analyse the market correctly, indicating when to enter and where to set Take Profit (TP) and Stop Loss (SL) levels. It must deliver accurate results across all markets, including Forex, cryptocurrencies, metals, indices, and
I’m looking for a profitable MT5 grid EA with strict risk controls and a clear focus on preventing account wipeouts. It can operate on any symbol, as long as capital preservation is the main priority. I’m interested in buying both the EA and its full source code if it meets my criteria. Let me know if you offer something like this
I want EA would work like a bot. I will share the box size on daily market for XAUUSD AND BTC . The bot should apply the same box size on charts and when super trend signals buy it should buy and when sell it should sell with quantity which will shared like 0.01 or 0.10 Secondly when the trade is executed it should carry till trailing SL as for example If supertrend gives Buy signal Entry done at 100 for example and
Description Hello! I’m looking for an experienced MQL5 developer to build an MT5 Expert Advisor that can trade two opposite strategies on the same price levels : BREAKOUT (trend continuation) REVERSAL (pullback / reversal) Key idea: the EA must allow a fair comparison by using the same Trigger Bar logic for both strategies (touch/break event), so we can backtest different combinations of levels, timeframes, and
I’m looking for a profitable MT5 grid trading strategy with strong risk management that is designed to avoid account blowouts . The strategy can trade on any symbol, as long as capital preservation is the top priority. I’m interested in purchasing the EA together with the full source code , provided it meets my requirements. Please let me know if you have a suitable solution available
I recently purchased an off the shelf 'multiple positions executor' EA in order to open multiple trades simultaneously using MT5 however the orders would fail. It seems they would fail because the EA uses PIPs and the broker I use with MT5 uses Points. The EA was sending an order with SL/TP values that violated the broker’s symbol rules. I need an EA developed which Opens multiple market orders simultaneously
I would like an experienced developer to work with. I have an existing EA I would like to modify. The EA works well on demo account but for some reasons, is not profitable on live account. I want an experienced developer to optimise it for a live account. Note: I only have a trial version of the EA, I do not have the source code
Pilot RSI 30 - 3090 USD
Theory : The original calculation of RSI is (in short) the following : Add the changes up and changes down. From those sums, we can then calculate the RSI (Relative Strength Index). At that particular step Welles Wilder used what sometimes is called Wilders EM for smoother results, And that gives us space to [produce all sort of different RSIs by using different types of smoothing at the final step This version : It
Job Details — Gold M1 EMA Consolidation Pullback EA Description: * Fully automatic MT5 EA * Pair: Gold (XAUUSD) * Timeframe: M1 * Funded account use (strict risk rules) * Full source code (.mq5) with lifetime ownership required 🔹 Strategy Rules * Single EMA period = 15 * Buy: price breaks upward and stays above EMA * Sell: price breaks downward and stays below EMA 🔹 Consolidation Logic * Identify last valid swing

Información sobre el proyecto

Presupuesto
30+ USD