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
(588)
Projects
1061
50%
Arbitration
39
28% / 41%
Overdue
49
5%
Free
Published: 1 article, 8 codes
Similar orders
I need an MT4/MT5 EA modification. Requirements: 1. Equity protection based on DAILY and TOTAL drawdown 2. Automatically close all trades when limit is hit 3. Disable trading after drawdown hit 4. Email notification when: - Daily loss limit reached - Total loss limit reached 5. EA must work on multiple accounts simultaneously 6. Clean and error-free code 7. Compatible with MT5 (or MT4 mention yours)
If you have profitable strategy or profitable EA on the gold pair without martingale / Hedge, then share me the EA with expiry time to back test and to test on the live market. Platform: MT5 pair: Gold Non-Martingale, No Hedging. Need Source Code
I have a working Python backtester for my “DC-WAD Donchian” strategy. I need a MetaTrader 5 Expert Advisor (MQL5) for live trading that matches the Python logic as closely as possible ( no lookahead ). ✅ Critical requirement (must accept) EA must be tick-driven for entries/exits (touch logic). Bar-close approximation is not acceptable . Timeframes Strategy runs on a single Setup Timeframe (HTF) (user input, e.g
This indicator will code into MT5 EA. Trade on live, demo and strategy tester. No repaint, no redraw and stable on chart. 1. Include all inputs variable and value, Lots size in points adjustable, TP in points true or false adjustable, SL in points true or false adjustable, close position on opposite signal true or false, Use pending order true or false, use BE points true or false, use slippage point true or false
can you help me with the strategy for my mt4 or mt5 bot? I am learning trading, while working and I was thinking this could be a good way to still earn from the market while learning. If I have someone like you to guide me on strategy and maintaining the trading bot going forward. I do not have anything setup, I am going to pay a ten to build the EA, I just need the mentorship and we can agree on a unique price to
Good day, I am searching the very high level expert, which could create the auto-trade robot and I would like to order the trading robot for GOLD XAU/USD auto-trade on MetaTrader. I could pay a lot for the institutional grade auto-trade robot, just contact me and let me know what level of the robot you could offer and we will negotiate the price
Looking to purchase a EA for Gold and US30 with source Requirements: must have proper built in Risk Management Must yield good profit factor and recovery Factor Must work on any Broker Must have less than 15% drawdown Year over Year Z-Score should be high Consecutive Profits Must Outweigh Consecutive losses atleast 3/1 Must be able to work on accounts from 100USD and up Testing must be based off of real Tick Values
I’m looking for a NinjaTrader 8 developer to build or customize a fully automated futures strategy . Goals: Target ~$100/day (consistency over aggression) Long-term survivability (not scalping hype) Requirements: Trade ES/MES or NQ/MNQ Fixed risk per trade Daily profit & loss limits Time/session filters Break-even & trailing stop logic Full NT8 strategy (not indicator) Nice to have: Backtest + optimization
Je cherche un développeur pour un bot Fundednext pour le passage de challenge jusqu'au trading quotidien après le passage.le robot va s'occuper du compte du début à la suite du compte de 15k chez Fundednext.après le passage aux challenges,le robot doit être capable de me fournir 6-10% mensuel de rendement de ce compte. Il doit être capable de passer le challenge dans un bref délai de 2-3 semaine ou soit 10-15 jours
🧠 Project Overview We require an automated trading system that performs statistical arbitrage between: XAGUSD (MT5 account) MCX Silver (separate broker / API / account) The bot will calculate custom percentage movement from a daily anchor time and trade based on spread convergence, not broker-provided percentage values. --- 🧩 Core Concept The system must: 1. Capture daily anchor prices at 11:30 PM IST 2. Compute

Project information

Budget
30 - 100 USD