Replace Pending Orders for an EA after restore

MQL4 Asesores Expertos Sripts

Trabajo finalizado

Plazo de ejecución 3 días

Tarea técnica

Hi

Is there any way to store any pending orders executed by an EA?  I'll explain further

If for example you have an EA that has placed several pending stop orders and the signal to delete/execute them has not been reached yet and you need to restore your computer for whatever reason,

or you need to delete pending orders manually for whatever reason to remove the EA and replace later. 


After the restore and installations I replace the EA on my chart but it will only execute the most recent signal and if it had 2  or more previous pending orders that are still valid, of course it won't replace them.


I'm thinking of some sort of script to run before deleting or restoring that will write any existing pending orders to a file and then maybe have a function in the init() of whatever EA I'm using that checks that file and replaces those orders for the EA to manage and trade. I can then go into that file and delete those orders that have already been placed. This is just a suggestion of an idea that might or might not be viable. I'm open to any suggestions that will make this work.


I hope I've made myself clear, if not please ask any questions for clarification. Code to be in English only.


As a caveat. Would also be good if I can actually manually place pending orders myself and then when I run this program you write,  it will also recognize the manually placed orders and stores them as well as the

EA pending orders.  When we restore the previous EA pending orders the EA will also restore recognize the manually entered trades. Hope this makes sense, as stated before ask any questions for clarification.


thx

Donskey

Han respondido

1
Desarrollador 1
Evaluación
(461)
Proyectos
902
77%
Arbitraje
25
16% / 68%
Caducado
100
11%
Libre
2
Desarrollador 2
Evaluación
(71)
Proyectos
254
53%
Arbitraje
16
50% / 38%
Caducado
83
33%
Libre
3
Desarrollador 3
Evaluación
(82)
Proyectos
150
29%
Arbitraje
9
44% / 11%
Caducado
46
31%
Libre
4
Desarrollador 4
Evaluación
(195)
Proyectos
395
28%
Arbitraje
155
20% / 52%
Caducado
112
28%
Libre
5
Desarrollador 5
Evaluación
(15)
Proyectos
65
58%
Arbitraje
6
17% / 33%
Caducado
39
60%
Libre
Solicitudes similares
Necesito un bot decente para prueba de fondeo y también cuenta personal, scalp, no grid, no martingale, no practicas prohibidas, algo objetivo, confiable y rentable... 5 Min mínimos de duración por operación, algo ya hecho y bactesteado en cuenta real y de fondeo. Necesito algo agresivo, constante pero que no exponga el capital... prefiero una estrategia de smc
Modify existing EA 50 - 70 USD
Hi, The task involves adding functions to an existing EA and correcting an error. The developer must have a thorough understanding of the following: Trailing Take Profit function Calculating a decreasing distance between orders Ability to code a function for Global Profit decrement/increment size in percentage Ability to correct error 10015 Thank you in advance
Looking for experienced programmer to create a trend line breakout and trend line bounce indicator that send alert with arrow on screen without open trades multiple currency pairs time frame M15 H1 H4 D1 W1 MN
Hello programmers, I need a coding assistance to do the following job. Currently the EA opens two different trades one has a comment "Originial" and another has comment "Series" The job is if the Original trade is negative by x pips, open a hedge trade(Hedge1#-OrderTicket of the soruce trade) along with one buystop and a sell stop order and the comment of the trade will be "Recovery#1-+OrderTicket() of the original
Profit EA 50+ USD
//+------------------------------------------------------------------+ //| SimpleEA.mq4 | //| Generated by MetaEditor | //| https://www.mql5.com/en/docs&nbsp ; | //+------------------------------------------------------------------+ #property strict // Input parameters input double LotSize = 0.1; // Lot size input int MovingAveragePeriod = 50; // MA
I have a EA and A Indicator I want to upgrade with some new features I want to add to the Indicator And The EA Also there is a memory error in the system that is showing up in the journal after the ea is ran on multiple charts I will need to get this fixed as well Indicator is 528 lines of code EA is 703 lines of code Dashboard I want to add is 1974 lines of code Indicator Changes I want to change the indicator The
An ea with 4 moving average, and two time frame confluence. Option to add risk to reward and percentage of balance to trade. Message me remaining for the more info
Hi All, I will try to be as precise as possible. We can discuss if you have any questions. I need an indicator to be developed for MT5 for detecting Engulfing Failed Zones. Requirement (in H4/ H1/ M30 Time frames only): Identify Engulfing Buy/ Sell Candle. Identify when the Engulfing Buy is failed, or Engulfing sell is failed. Draw a zone for that area of Engulfing Buy/Sell Fail. Invalidate the zone or delete the
Hi. I want to fix my EA. The concept of lowestBid- There aree 3 levels of price. Price1 at the top, Price 2 in the middle and Price3 at the bottom. When the EA starts it start at Price1. And lowestBid is set to Price1. When the price hits Price 2, lowestBid=Price2. When price hits Price3, lowestBid=Price3. When Price come back up to level2, lowestBid=Price2 ....so on and so forth. lowestBid will keep changing with
Expert Advisor (EA) will provide automatic entry and exit using Black Dragon indicator as per the description below. Long (entry): on the first blue candle. Long (exit): on the first red candle, stop loss or take profit/break-even. Whatever happens first. Short (entry): on the first red candle. Short (exit): on the first blue candle, stop loss or take profit/break-even. Whatever happens first. Long (stop loss value)

Información sobre el proyecto

Presupuesto
20 - 100 USD
Para el ejecutor
18 - 90 USD
Plazo límite de ejecución
de 1 a 5 día(s)