Modify existing EA with changes

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
(362)
Projects
501
41%
Arbitration
145
17% / 73%
Overdue
98
20%
Busy
2
Developer 2
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Free
Similar orders
In search of a dev who can develop an EA that executes buys on Boom and sells on Crash after a Spike. Need to be able to specify TP and SL
1. Extract all historical economic calendar data. 2. Extract all historical price data for all symbols and all timeframes. 3. Calculate the difference between successive OPEN, HIGH, LOW, and CLOSE prices for each symbol to measure correlation ( https://youtu.be/TytPUU9Y55E?si=hTGn4YBWw786J5QY 1:55-2:20). 4. Assign weights to each symbol based on their correlation with other symbols. 5. Aggregate the data from all
Hi, I am looking for a developer who will develop for me an EA code/program which will help me to get data from forex factory. The EA code/program meets the following requirements. 1. I currently have an EA that I manually specify specific (High impact) news times where I would want to start analysis (You will see a screenshot in the attached requirement). 2. I developed this EA myself, so I have the source code but
Please I need a profitable EA with any of the following criteria; Hedge Trading Hedging trades is permitted however, hedging separate accounts against each other (known as Wash Trading) is not permitted and is a direct violation of the OnlyFunds’ Terms and Conditions. Wash trading is illegal and considered to be fraudulent, as it undermines the integrity of financial markets. Swing Trading Swing trading is
I have an EA that has a nasty drawdown but otherwise is quite profitable. I am looking for a developer who can improve the drawdown by closing or hedging the older open orders. You'll need to supply a demo showing that you've solved this problem rather than just claiming that you can fix it
dear developers.i want to modify my custom indicator by adding new rules for alerts and arrows,the indicator is based upon some trend following rules and the indicator should be able to send out all types of alerts.i will need demonstration...thank you
Looking for a developer of profitable EA tested for over 2 or more years time history of profits with investors read me only access as proof of usage. MT4 or MT5
Adjust MY Hedging EA 30 - 40 USD
1. Need averaging TP for my hedging EA. (Close both Buy and Sell position with TP) 2. Add function auto/manual entry. (EA will entry based on manual position(placed by trader) or auto trade based on existing setting)
I have a robot set up that sends trading signals to my telegram group and the group sends trading signals for (28 forex pairs, 3 crypto pairs, 6 commodities, 6 indexes, & 55 stocks) basically almot 100 CFDs and sends out trend price action breakout, impulse, reversal, and exit indications to each one of those CFDs on different timeframes. I want to make it so that a person can sign up and choose which alerts they
I am in search of a skilled robot developer to craft a Martingale with Hedge strategy algorithm. The ideal candidate will possess deep expertise in algorithmic trading, proficiency in programming languages, and a keen understanding of financial markets. The role entails designing and implementing an automated system capable of effectively executing the Martingale strategy while integrating a hedge mechanism to manage

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)