Edit EA to deal with Slippage and Take Profit bugs

MQL4 Uzmanlar

İş tamamlandı

Tamamlanma süresi: 1 gün

Şartname

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

 

 

Yanıtlandı

1
Geliştirici 1
Derecelendirme
(73)
Projeler
132
52%
Arabuluculuk
9
44% / 33%
Süresi dolmuş
63
48%
Serbest
Benzer siparişler
requirements 1. A expert which can make a bridge between trading view and MT4 /MT5 My strategy which i work upon in trading view, that autobot system should buy, sell and take profit in MT4/MT5
Enters trades using Stochastic + Moving Average signal Applies martingale averaging when price moves against position Activates hedging when floating loss reaches a defined level Supports multi-hedge layering as price continues trending Closes all positions (both martingale + hedge) at: Breakeven + small profit
I want a prop-firm compatible MT5 trading robot, not a fast or aggressive one, for passing Prop firm challenges of any account sizes and also capable of earning profit on funded account after passing the challenge. Objectives: – Pass a prop firm challenge safely within 2–4 weeks, not 1 week. – Focus on capital protection first, profit second. Risk & Money Management: – Risk per trade: 0.25%–0.5% max – No martingale
أبحث عن خبير تداول آلي (EA) أرفقتُ فيديو له. يقوم هذا الخبير بوضع أوامر شراء معلقة وبيع معلقة على بُعد 250 نقطة أعلى وأسفل السعر الحالي كل دقيقة، مع تحديد مستوى وقف الخسارة (SL) عند 300 نقطة ومستوى جني الربح (TP) عند 500 نقطة. إذا تم تفعيل أيٍّ من هذين الأمرين خلال الدقيقة، يتم إلغاء الآخر. لا يقوم الخبير بوضع أي أوامر معلقة حتى يتم الوصول إلى مستوى وقف الخسارة أو جني الربح، ثم يضع مجموعة جديدة من الأوامر المعلقة في
I’m looking for a developer to create a custom trade panel/tool that allows me to execute and manage multiple trades simultaneously with dynamic, risk-based position sizing . Core Concept (Must Be Followed Exactly) • I define a total risk percentage (example: 1% of account balance) • That total risk is split across all trades • Each trade has a different stop loss (in pips) • The system must automatically
I need MT5 Expert Advisor (EA) Strategy: - Break of Structure (body close) - Retest - Confirmation (engulfing/rejection) Rules: - Max 2 trades per day - Risk: $50 - TP: 1:2 RR - SL: structure No martingale, no grid XAUUSD M30
Bring in your expertise for specific symbol Prepare expert for Live chart Creating .set for specific symbol Live Chart Optimization , symbol specific Everything is coded already therefore needs Implementations
I need an MT4-compatible Expert Advisor coded in MQL4 that applies a pure scalping approach. The robot must open and close positions quickly on XAUUSD, taking advantage of very small intraday price movements, with configurable parameters for lot size, maximum spread, take-profit. With the activation of repeated hedging and the feature to close trades at a specific percentage of profit or loss With chart monitor
I could have MetaTrader, NinjaTrader and TradingView project as well as some Automation and Apps development work. For them I require Russian developers. I have worked with many developers but from now I just would like to work with russians. Please apply on the project just Russian developers with mentioning their expertise Note: I do not understand Russian so communication need to do in English
Wisdom forex 30 - 200 USD
I need a bot that will trade to make profit without I losing money , selling when it's time for sell, buying when it's time for buying, manage our profile to gain a big asset

Proje bilgisi

Bütçe
10 - 40 USD
Son teslim tarihi
from 1 to 6 gün