Edit EA to deal with Slippage and Take Profit bugs

MQL4 Experts

Trabalho concluído

Tempo de execução 1 dia

Termos de Referência

PLEASE NOTE: THIS JOB IS NOT AS SIMPLE AS IT READS , PLEASE READ CAREFULLY IN THE CODE AND UNDERSTAND TO ISSUE BEFORE APPLYING TO-DO THIS JOB

I need someone to edit my EA and make it 100% work. It is a Martingale EA and it is 95% working but it has 2 bugs.

1.Whenever there is slippage , the EA does not trigger a trade , I need it to trigger a trade at the next available price OR send the order again if missed

2.Intermitently the 0.01 trades are triggered without a TP  I need  this edited to see if there has been more than 10 seconds passed from the time of Trade entry and if there is no TP on a trade then add a TP to that trade OR delete the trade  –This only applies to the 0.01 trades--

I need someone to edit and fix these 2 issues please. 

They also need to be VERY PATIENT because I need to test the EA for at least 40 HRS before we conclude the job. I  have attached the EA

I PREFER THE DEVELOPER TO TEST THEIR PRODUCT THOROUGHLY BEFORE GIVING ME TO TEST...AT LEAST SPEND TIME CHECKING IF YOU HAVE NOT BROKEN THE EXISTING CODE AND YOUR FIXES ARE ACTUALLY WORKING BEFORE GIVING ME TO CHECK , ITS VERY IMPORTANT; 

The Logic on the EA should be as follows;

I understand the slippage and bid and ask price so it’s OK, I will just give an example ignoring slippage , bid and ask prices.

Let me use 0.01 as the starting lot and use an example when the price is going up ....This example only shows when the price is going up so the same is true if the price is going down as well , we just do the opposite

 

BELOW  IS AN EXAMPLE OF WHAT SHOULD HAPPEN WHEN THE PRICE IS GOING UP ON AUDUSD (WE DO THE EXACT OPPOSITE WHEN THE PRICE IS GOING DOWN)

---------------------------------------------------------------------------------------------------------- As soon as We switch on the EA this happens-------------------------------------------------
1.We buy and sell at the same time.
e.g
Buy     0.7280 == 0.01 >> TP 0.7288
Sell     0.7280 == 0.01 >> TP 0.7272

When it moves up 8 pips close the Buy Trade at the same time open another buy trade with an 8 pip target and another sell trade with a 10 pip target.
The Sell trade will be opened @ 0.02 and the original sell will adjust its TP to align with the TP of the newly opened trade.
The Trades at that time will be as follows

e.g

Buy     0.7288  ==0.01 >> TP  0.7296
Sell     0.7280 == 0.01 >> TP  0.7278
Sell     0.7288  ==0.02 >> TP  0.7278 ---> The new Sell  has a TP of 10 Pips


When it moves up 8 pips close the Buy Trade at the same time open another buy trade with an 8 pip target and another sell trade with a 12 pip target.
The Sell trade will be opened @ 0.03 and the previous sells will adjust its TP to align with the TP of the newly opened trade.
The Trades at that time will be as follows

e.g
Buy     0.7296  ==0.01 >> TP  0.7304
Sell     0.7280 == 0.01 >> TP  0.7278
Sell     0.7288  ==0.02 >> TP  0.7278
Sell     0.7296  ==0.03 >> TP  0.7278 ---> The new Sell  has a TP of 12 Pips

When it moves up 8 pips close the Buy Trade at the same time open another buy trade with an 8 pip target and another sell trade with a 16 pip target.
The Sell trade will be opened @ 0.05 and the previous sells will adjust its TP to align with the TP of the newly opened trade.
The Trades at that time will be as follows

e.g
Buy     0.7304  ==0.01 >> TP  0.7312
Sell     0.7280 == 0.01 >> TP  0.7288
Sell     0.7288  ==0.02 >> TP  0.7288
Sell     0.7296  ==0.03 >> TP  0.7288
Sell     0.7304  ==0.05 >> TP  0.7288 ---> The new Sell has a TP of 16 Pips
 
When it moves up 8 pips close the Buy Trade at the same time open another buy trade with an 8 pip target and another sell trade with a 20 pip target.
The Sell trade will be opened @ 0.08 and the previous sells will adjust its TP to align with the TP of the newly opened trade.
The Trades at that time will be as follows

e.g
Buy     0.7312  ==0.01 >> TP  0.7320
Sell     0.7280 == 0.01 >> TP  0.7292
Sell     0.7288  ==0.02 >> TP  0.7292
Sell     0.7296  ==0.03 >> TP  0.7292
Sell     0.7304  ==0.05 >> TP  0.7292 
Sell     0.7312  ==0.08 >> TP  0.7292 ---> The new Sell has a TP of 20 Pips

When it moves up 8 pips close the Buy Trade at the same time open another buy trade with an 8 pip target and another sell trade with a 24 pip target.
The Sell trade will be opened @ 0.13 and the previous sells will adjust its TP to align with the TP of the newly opened trade.
The Trades at that time will be as follows

e.g
Buy     0.7320  ==0.01 >> TP  0.7328
Sell     0.7280 == 0.01 >> TP  0.7296
Sell     0.7288  ==0.02 >> TP  0.7296
Sell     0.7296  ==0.03 >> TP  0.7296
Sell     0.7304  ==0.05 >> TP  0.7296
Sell     0.7312  ==0.08 >> TP  0.7296
Sell     0.7320  ==0.13 >> TP  0.7296 ---> The new Sell has a TP of 24 Pips
---------From this stage onwards the TP does not change , please check carefully what happens now------
When it moves up 8 pips close the Buy Trade at the same time open another buy trade with an 8 pip target and another sell trade WITH A 24 PIP TARGET.
The Sell trade will be opened @ 0.21 and the previous sells will adjust its TP to align with the TP of the newly opened trade.
The Trades at that time will be as follows

e.g
Buy     0.7328  ==0.01 >> TP  0.7334
Sell     0.7280 == 0.01 >> TP  0.7304
Sell     0.7288  ==0.02 >> TP  0.7304
Sell     0.7296  ==0.03 >> TP  0.7304
Sell     0.7304  ==0.05 >> TP  0.7304
Sell     0.7312  ==0.08 >> TP  0.7304
Sell     0.7320  ==0.13 >> TP  0.7304
Sell     0.7328  ==0.21 >> TP  0.7304 ---> The new Sell has a TP of 24 Pips

When it moves up 8 pips close the Buy Trade at the same time open another buy trade with an 8 pip target and another sell trade WITH A 24 PIP TARGET.
The Sell trade will be opened @ 0.34 and the previous sells will adjust its TP to align with the TP of the newly opened trade.
The Trades at that time will be as follows

e.g
Buy     0.7334  ==0.01 >> TP  0.7342
Sell     0.7280 == 0.01 >> TP  0.7310
Sell     0.7288  ==0.02 >> TP  0.7310 
Sell     0.7296  ==0.03 >> TP  0.7310
Sell     0.7304  ==0.05 >> TP  0.7310 
Sell     0.7312  ==0.08 >> TP  0.7310
Sell     0.7320  ==0.13 >> TP  0.7310
Sell     0.7328  ==0.21 >> TP  0.7310
Sell     0.7334  ==0.34 >> TP  0.7310 ---> The new Sell has a TP of 24 Pips

When it moves up 8 pips close the Buy Trade at the same time open another buy trade with an 8 pip target and another sell trade WITH A 24 PIP TARGET.
The Sell trade will be opened @ 0.55 and the previous sells will adjust its TP to align with the TP of the newly opened trade.
The Trades at that time will be as follows

e.g
Buy     0.7342  ==0.01 >> TP  0.7350
Sell     0.7280 == 0.01 >> TP  0.7318
Sell     0.7288  ==0.02 >> TP  0.7318  
Sell     0.7296  ==0.03 >> TP  0.7318 
Sell     0.7304  ==0.05 >> TP  0.7318 
Sell     0.7312  ==0.08 >> TP  0.7318
Sell     0.7320  ==0.13 >> TP  0.7318 
Sell     0.7328  ==0.21 >> TP  0.7318 
Sell     0.7334  ==0.34 >> TP  0.7318 
Sell     0.7342  ==0.55 >> TP  0.7318 ---> The new Sell has a TP of 24 Pips

When it moves up 8 pips close the Buy Trade at the same time open another buy trade with an 8 pip target and another sell trade WITH A 24 PIP TARGET.
The Sell trade will be opened @ 0.89 and the previous sells will adjust its TP to align with the TP of the newly opened trade.
The Trades at that time will be as follows

e.g
Buy     0.7350  ==0.01 >> TP  0.7358
Sell     0.7280 == 0.01 >> TP  0.7326
Sell     0.7288  ==0.02 >> TP  0.7326 
Sell     0.7296  ==0.03 >> TP  0.7326 
Sell     0.7304  ==0.05 >> TP  0.7326 
Sell     0.7312  ==0.08 >> TP  0.7326
Sell     0.7320  ==0.13 >> TP  0.7326 
Sell     0.7328  ==0.21 >> TP  0.7326 
Sell     0.7334  ==0.34 >> TP  0.7326 
Sell     0.7342  ==0.55 >> TP  0.7326
Sell     0.7350  ==0.89 >> TP  0.7326 ---> The new Sell has a TP of 24 Pips

When it moves up 8 pips close the Buy Trade at the same time open another buy trade with an 8 pip target and another sell trade WITH A 24 PIP TARGET.
The Sell trade will be opened @ 1.44 and the previous sells will adjust its TP to align with the TP of the newly opened trade.
The Trades at that time will be as follows

e.g
Buy     0.7358  ==0.01 >> TP  0.7366
Sell     0.7280 == 0.01 >> TP  0.7334
Sell     0.7288  ==0.02 >> TP  0.7334 
Sell     0.7296  ==0.03 >> TP  0.7334 
Sell     0.7304  ==0.05 >> TP  0.7334 
Sell     0.7312  ==0.08 >> TP  0.7334
Sell     0.7320  ==0.13 >> TP  0.7334 
Sell     0.7328  ==0.21 >> TP  0.7334 
Sell     0.7334  ==0.34 >> TP  0.7334 
Sell     0.7342  ==0.55 >> TP  0.7334
Sell     0.7350  ==0.89 >> TP  0.7334
Sell     0.7358  ==1.44 >> TP  0.7334 ---> The new Sell has a TP of 24 Pips

When it moves up 8 pips close the Buy Trade at the same time open another buy trade with an 8 pip target and another sell trade WITH A 24 PIP TARGET.
The Sell trade will be opened @ 2.33 and the previous sells will adjust its TP to align with the TP of the newly opened trade.
The Trades at that time will be as follows

e.g
Buy     0.7366  ==0.01 >> TP  0.7374
Sell     0.7280 == 0.01 >> TP  0.7342
Sell     0.7288  ==0.02 >> TP  0.7342
Sell     0.7296  ==0.03 >> TP  0.7342
Sell     0.7304  ==0.05 >> TP  0.7342
Sell     0.7312  ==0.08 >> TP  0.7342
Sell     0.7320  ==0.13 >> TP  0.7342 
Sell     0.7328  ==0.21 >> TP  0.7342 
Sell     0.7334  ==0.34 >> TP  0.7342
Sell     0.7342  ==0.55 >> TP  0.7342
Sell     0.7350  ==0.89 >> TP  0.7342
Sell     0.7358  ==1.44 >> TP  0.7342
Sell     0.7366  ==2.33 >> TP  0.7342 ---> The new Sell has a TP of 24 Pips

When it moves up 8 pips close the Buy Trade at the same time open another buy trade with an 8 pip target and another sell trade WITH A 24 PIP TARGET.
The Sell trade will be opened @ 3.77 and the previous sells will adjust its TP to align with the TP of the newly opened trade.
The Trades at that time will be as follows

e.g
Buy     0.7374  ==0.01 >> TP  0.7382
Sell     0.7280 == 0.01 >> TP  0.7350
Sell     0.7288  ==0.02 >> TP  0.7350
Sell     0.7296  ==0.03 >> TP  0.7350
Sell     0.7304  ==0.05 >> TP  0.7350
Sell     0.7312  ==0.08 >> TP  0.7350
Sell     0.7320  ==0.13 >> TP  0.7350
Sell     0.7328  ==0.21 >> TP  0.7350
Sell     0.7334  ==0.34 >> TP  0.7350
Sell     0.7342  ==0.55 >> TP  0.7350
Sell     0.7350  ==0.89 >> TP  0.7350
Sell     0.7358  ==1.44 >> TP  0.7350
Sell     0.7366  ==2.33 >> TP  0.7350
Sell     0.7374  ==3.77 >> TP  0.7350 ---> The new Sell has a TP of 24 Pips

When it moves up 8 pips close the Buy Trade at the same time open another buy trade with an 8 pip target and another sell trade WITH A 24 PIP TARGET.
The Sell trade will be opened @ 6.10 and the previous sells will adjust its TP to align with the TP of the newly opened trade.
The Trades at that time will be as follows

e.g
Buy     0.7382  ==0.01 >> TP  0.7390
Sell     0.7280 == 0.01 >> TP  0.7358
Sell     0.7288  ==0.02 >> TP  0.7358
Sell     0.7296  ==0.03 >> TP  0.7358
Sell     0.7304  ==0.05 >> TP  0.7358
Sell     0.7312  ==0.08 >> TP  0.7358
Sell     0.7320  ==0.13 >> TP  0.7358
Sell     0.7328  ==0.21 >> TP  0.7358
Sell     0.7334  ==0.34 >> TP  0.7358
Sell     0.7342  ==0.55 >> TP  0.7358
Sell     0.7350  ==0.89 >> TP  0.7358
Sell     0.7358  ==1.44 >> TP  0.7358
Sell     0.7366  ==2.33 >> TP  0.7358
Sell     0.7374  ==3.77 >> TP  0.7358
Sell     0.7382  ==6.10 >> TP  0.7358 ---> The new Sell has a TP of 24 Pips

When it moves up 8 pips close the Buy Trade at the same time open another buy trade with an 8 pip target and another sell trade WITH A 24 PIP TARGET.
The Sell trade will be opened @ 9.87 and the previous sells will adjust its TP to align with the TP of the newly opened trade.
The Trades at that time will be as follows

e.g
Buy     0.7390  ==0.01 >> TP  0.7398
Sell     0.7280 == 0.01 >> TP  0.7366
Sell     0.7288  ==0.02 >> TP  0.7366
Sell     0.7296  ==0.03 >> TP  0.7366
Sell     0.7304  ==0.05 >> TP  0.7366
Sell     0.7312  ==0.08 >> TP  0.7366
Sell     0.7320  ==0.13 >> TP  0.7366
Sell     0.7328  ==0.21 >> TP  0.7366
Sell     0.7334  ==0.34 >> TP  0.7366
Sell     0.7342  ==0.55 >> TP  0.7366
Sell     0.7350  ==0.89 >> TP  0.7366
Sell     0.7358  ==1.44 >> TP  0.7366
Sell     0.7366  ==2.33 >> TP  0.7366
Sell     0.7374  ==3.77 >> TP  0.7366
Sell     0.7382  ==6.10 >> TP  0.7366

Sell     0.7390  ==9.87 >> TP  0.7366---> The new Sell has a TP of 24 Pips

 

 

Arquivos anexados:

Respondido

1
Desenvolvedor 1
Classificação
(73)
Projetos
132
52%
Arbitragem
9
44% / 33%
Expirado
64
48%
Livre
Pedidos semelhantes
a coder is required to add an indicator to existing ea The new indicator will work as 1. option to combine with exiting indicator to open trade 2. it will be used as alternative BE point 3. It can also be used to close order or combine with other to close trade The second Job is telegram bot to get alert fr news trade and others Details when you apply i will test the ea work on live market and all bug is fixed before
Hello, I want to make an EA based on SMC and a developer that is familiar with the concept and full understanding of this. Must have done similar jobs before and be able show it. I only want to work with developer that has good track record and is precise. Further information will be handed when contact is made. Developers that has zero rating will not be considered. Listed price is a base point. The project can also
EA DEJA FABRIQUE ? MODIFIER QUELQUE LIGNE POUR LE RENDRE RENTABLE /////////////////////++++++++++++++++++++++++++++++++++ EA AVEC UN SYTEME SIMPLE ; SEULEMENT A MODIFIER %%%%%%%%%%%%%%%%%% SI PERSONNE SACHANT CODER CORRECTEMENT , CE TRAVAIL EST POUR TOI
Trade methodology based on Red and Green lines entering Overbought / Oversold zone. Using confluence of Higher time frame, Moving Average a trade can enter when there is a strong slope angle. Market Base Line is used to determine overall market sentiment. This is designed to be an established trend scalping strategy on lower time frames. To be used initially on demo then real account when settings have been fine
There are six conditions in total . source code from an existing expert will be provided to aid the completion of this job . - Install the following by the Panel (copy paste form my existing Expert ) 1. Pips Lost : number of pips lost ( monthly reset ) 2. Pips Gained : number of pips gained ( monthly reset ) 3. Have a black background to avoid the
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: function (A) Add Transform combine the 4 Expert Advisors into just 1 Expert Advisor, maintaining the individuality of each one Leave in extern (false) or (true)
Description: I am seeking an experienced MQL5 developer to create a custom Expert Advisor (EA) for MetaTrader 5 based on a specific trend-following strategy. The strategy includes precise risk management, advanced trade management features, and additional risk management tools. The EA should be adaptable to any timeframe on which it is attached. Below are the detailed requirements and parameters for the EA: Strategy
I need an EA trading frequently (HFT or something like), and it sould have some features below: 1、Have a clear trading logic 2、Have a good backtest result 3、Have a demonstrated benefitable result in a live account trading 4、Can avoid the news time period or not sensitive to news
Tenho um EA mql4 que está com funcionalidades funcionando e outras com funcionalidades sem funcionar. Tenho um vídeo do EA funcionando como deve funcionar perfeitamente. O meu não consegue seguir o mesmo programa pois quando coloca os pontos de parada e retirada são bem diferentes. Não tenho pressa para tempo, só queria que conseguisse renovar o EA. O arquivo do grafico anexo é como ele se encontra agora. O certo é
New york session based strategy 9:30 open Price takes out buy side or sell side liquidity Usually using 15min high and lows 5m entry Price takes out that high/low and price must close strongly back into the zone Is price is above price we have a sell bias vis versa for buys Sl is at the high or low with option for “offset” for cushion Tp is usually the opposite High or low. Would like the option for set pips-points &

Informações sobre o projeto

Orçamento
10 - 40 USD
Desenvolvedor
9 - 36 USD
Prazo
de 1 para 6 dias