Changes on existing EA

MQL4 Experts

Specification

 

In my EA I want to changes:

 

2. 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.


Do not change anything of Strategie of Strategie 1 just ad the function to Strategie 1

What do I want now?

Moneymanegment for all orders which are active in Market stays as it does right now. Do not chang anything

I want if EA has placed the basis order (basis orders are the orders which are activ in the market – the buy and sell order) or when ea is new on chart and if there is already a basis order (basis order is buy and sell order) are in the Market - EA should place direct following order (which EA would place after Basis order is closed) place as pending direct and not when first order is closed.

So in Terminal are than:

In Market – the buy and sell order

And in Pending status the pending buy and pending sell order – execution Limit Xpips away of TP of basis order in Market. Pips right now as pending open after Basis is closed.


So after Basis is closed at market, SL or TP - from this closing price will be again calculated the opening price of Pending order.

Distance of pending order is: actual TP of first order plus input double PendingOrderPips=100; - So not TP of first order is changing - so TP of pending has to be updated.
Lots- same as first order.
And after closing of Bais order in Market ist closed - Market, TP or SL - EA should chek execution Price of Pending order. This is than Closing price of Bais order.
plus input double PendingOrderPips=100; - So not TP of first order is changing - so TP of pending has to be updated.



So Note - every basis (basis is orders activ in terminal) order in Terminal does have following orders in Pending Status:

The Trigger of the pending orders should be active when basis order is closed (in actual strategy 1 and 2 pendings are alredy triggered). Trigger should work as he does right now.

Again: So if there is a basis buy or, and a sell order in the market. EA should place for each basis direct the next pending order and should not wait till basis order is closed.

Trigger of the pending order should be active if basis order is closed.


For the Pending orders I want to have one more execution option:

First Execution Option does alredy exist – it is the trigger in Market.

Second is not trigger Order executed as Xpips away or Xpips better. Xpips away is alredy there this is begin of trigger – I Just want to definite Xpips better. 60 Pips means after basis is closed Pending will be again in Market xpips away or xpips better.

 

Explanation:

EA opens the buy and sell order and also pending status the next buy and sell order as pending.

If basis buy or sell order is closed – Pending order will be active and executed as trigger or xpips better.

That’s it



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

2. 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 the can only be a buy and an 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 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.


Responded

1
Developer 1
Rating
(212)
Projects
246
45%
Arbitration
42
10% / 57%
Overdue
5
2%
Free
2
Developer 2
Rating
(94)
Projects
148
59%
Arbitration
16
38% / 13%
Overdue
25
17%
Free
3
Developer 3
Rating
(71)
Projects
254
53%
Arbitration
16
50% / 38%
Overdue
83
33%
Free
Similar orders
Hi, i have a tos script i need converted to Ninja script, but someone who knows both coding. Cant be someone who is just going to paste into chat gpt, it requires more understanding for compatibility
EA Description: Box Identification: The EA allows users to manually mark consolidation zones on the chart with rectangular boxes. These boxes are distinguished by color: red for bearish zones and green for bullish zones. Entry Types: Aggressive Entry (True/False): Users can opt for aggressive entries, initiating trades at a specified percentage of the zone's range. Divergence Entry (True/False): The EA detects
I need an EA which takes confluence of 4 ema on 3 different time frame before taking a trade. Ea should have risk to reward option, option to add xyz pips above stoploss criteria in order to avoid hitting sl due to spreads. Customizable RR to cl9se trade partially when desired RR is reached. Also require source code to get future changes done
I need MT4 and MT5 hedging locker expert advisors that hedge existing trades either with pending or market order hedging trades. With pending hedge trades the entry price may optionally be made to trail the existing open orders. There should be option for a breakeven and trailing of the hedge trade’s stop
Hey Mql Community, Our Company need help creating and design a well automated forex ea for mt4 platform, This EA should based on the logic of an existing EA and the ideas we have in mind as a new features in the EA. Understand that We already have an EA that is working properly, we want to add a few details to it. We don’t have the source code just the ex.4 file, and as an expert specialist in the field we are
I am looking to have a tool developed that can connect and copy trade from Quantower on machine A to Quantower on machine B. I am aware that Quantower has a built in trade copier but I need to get the trades over to a different instance of QT on a separate machine. Is this possible and something you could help with? All orders for entry and exit would be market orders so do not need any targets or stop losses copied
I believe in Robotics as a major artificial intellect to function of growth of business.Therefore if you script there is a likelihood of bringing economies of scale.The retrospective of the dynamics of indulgence of work can be economics of scale
Hi guys, I looking for somebody who could create a EA on grid basis. EA should open on one chart buy and sell trade in same time and opening next trades in grid distance. Also need to have a TP. Grid distance and TP will be same value all time. Trades don't have a SL and system working as a endless loop. So when the trade closed on TP, in same time the EA open a new trade in same direction. Next thing as have to be
Just profitable Ea. 30 - 100 USD
Hello, I am looking for a good scalper that can operate on a single chart with multi-currency pairs, including gold and indices( MT4). It should support all brokers, leverage, and be capable of trading with a small deposit with SL and TP.It's important that the robot does not use risky strategies and, most importantly, is profitable. Thank you
everytime the a is greater than zero the value should be saved to be added to the previous value. so you should go back by all the consecutive times a is greater than zero and store the value to be summed i will send you my indicator and will ask you to please fix it

Project information

Budget
30+ USD
VAT (19%): 5.7 USD
Total: 35.7 USD
For the developer
27 USD
Deadline
from 1 to 10 day(s)