Modification of a trading tool EA

MQL4 Indicators Experts

Job finished

Execution time 4 hours

Specification

Hello,

the attached EA is a basic trading tool which was created to calculate how many units of an underlying instrument are purchased or sold based on where you put your stop & preset risk parameters on any given trades. Unfortunately and for some unknown reason it does not always calculate the exact TP and also misplaces the SL at times. I have no idea why this is so, but in regards to the TP I assume it has to do with the slippage involved on market orders. Instead of going through the process of recalculating every trade by hand and to make sure that the TP is correctly calculated I want those issues being fixed once and for good.  On top I want also the sell side of this EA being slightly modified. Since bids are only displayed on MT4, I want the spread being taken into account of the computing process too.

Here is how the EA works: It uses a vertical line to determine to its right hand side where the high and/or low of a price swing is and beneath or above where the stop is placed. A horizontal line is used as trigger line. When the bid crosses the horizontal line from below a purchasing order is issued and vice versa and the hidden stop is placed 1 tick above/below the area's high/low.

Since there are discrepancies in the calculation of the TP I want to make use only of the real time EXECUTED PRICE as reference!


The TP of a long trade should therefore be calculated as following:

((EXECUTED PURCHASING PRICE - stop) * TakeProfitFactor) + EXECUTED Purchasing Price = TP


The TP of a short trade should therefore be calculated as following:

(EXECUTED Selling Price - spread) -((EXECUTED SELLING PRICE - (stop + spread)) * TakeProfitFactor)  = TP


If necessary the TP has to be placed AFTER market entry or being modified, whatsoever is possible and feasible. Instead of me doing it per hand the EA should do it for me automatically!


In regards to the misplacement of the SL I am totally left in the dark. I have not the slightest idea why this is so! It happens totally on a random, unpredictable basis!


Who is willing & able to code this for me!


Many thanks in advance & all the best!




Files:

Responded

1
Developer 1
Rating
(43)
Projects
66
12%
Arbitration
12
58% / 42%
Overdue
1
2%
Free
2
Developer 2
Rating
(40)
Projects
55
35%
Arbitration
2
0% / 50%
Overdue
0
Free
3
Developer 3
Rating
(298)
Projects
427
26%
Arbitration
18
61% / 33%
Overdue
26
6%
Free
Published: 8 codes
4
Developer 4
Rating
(589)
Projects
1070
50%
Arbitration
39
28% / 41%
Overdue
49
5%
Free
Published: 1 article, 8 codes
Similar orders
This is a Tradingview project. Would you be able to make this? With a win rate and profit factor and percentage made and profit made and max dd reached. How many modifications would I be able to do? Could there be a table that shows win percentage profit factor and trading window where trades shouldn’t be placed and follows the rules of the pdf How long would it take and would it work on ninjatrader also
I need a professional MQL5 developer to build a high-frequency trading (HFT) Expert Advisor for MT5. Key Requirements & Risk Management Rules: 1. Max Trade Limit: The bot must execute a strict maximum of 1,000 trades. 2. Lot Size Cap: Every trade must be capped at a maximum of 0.50 lots. 3. Execution Speed: Optimized for low-latency, rapid execution. 4. Clean code with proper error handling and clear parameter
I need fully automatic scalping robots for XAUUSD Gold the robot should work on M1 and M5 timeframe and open trades based on the scalping logic using EMA and RSI confirmation it should analyze the market on its own and only take high probability trades
I am looking for an experienced MQL5 / MetaTrader 5 developer to help me add alert notifications to an existing MT5 indicator. What I Have I have an indicator that I am currently using on MetaTrader 5 , but I do not have the source code (.mq5) . I only have the compiled indicator file, or I can provide the indicator file that I currently have. What I Need I want to add alerts when the indicator generates its specific
I need best scalping bot 150 - 300 USD
I have attached the video of the EA I want to reproduce in MQL5. Please study the video carefully and build an EA that follows the same trading behavior shown in it. The EA is for XAUUSD (Gold) and appears to use an automated scalping/grid-style strategy with multiple positions opened around the market price. I want the entry sequence, spacing between positions, lot progression, direction of trades, and
New EA for Moj1367 50 - 100 USD
//@version=6 strategy("Ultimate + 11 Filters Bot [M1 - 0.5 pip TP]", overlay=true, max_boxes_count=500, max_labels_count=500, max_lines_count=500, max_bars_back=5000, default_qty_type=strategy.percent_of_equity, default_qty_value=100, initial_capital=1000, commission_type=strategy.commission.percent, commission_value=0.04) // ═══════════════════════════════════════════════════════════ // 1. تنظیمات ورودی (Inputs)
I need an MT5 EA (MQL5) specifically for XAUUSD, trading price gaps when the market opens/reopens. The EA needs 2 independent strategies: 1. Weekend/Monday Gap: Record the last price before the market closes for the weekend and the first price when XAUUSD reopens at the beginning of the week. Calculate the gap size. When the gap meets the required conditions, the EA trades in the direction of the Gap Fill. Gap Up →
Best performing EA MT5 30 - 1000 USD
I am looking for a reliable MQL4/MQL5 EA that creates orders automatically. If anyone has a good-performing EA available for sale, please share it with verified live trading results or a genuine live track record . I am ready to purchase, but live performance proof is mandatory . Please share the live account results, trading history, and EA details before discussing the purchase
Hi In my current EA, you must edit this robot in an Instagram-based mode to construct robots. My old Robot Pending Order is designed to put merely in order, making it easy to update. I've included a link to the rar file, which is plainly referenced in the video. The strategy behind this work is detailed, as are the Instagram videos that are linked to the chart. As shown in this Instagram video link, we need a robot
I’m looking for an experienced MQL5 / MT5 developer to build an EA that acts as a connector between a user’s MT5 trading account and our own web-based performance tracking platform. The concept is similar to platforms like Myfxbook or ShowMyTrades , where users can connect their trading account and automatically track their trading performance, including trade history, profit/loss, win rate, drawdown, account

Project information

Budget
30 - 100 USD