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
65
11%
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
1055
49%
Arbitration
39
28% / 41%
Overdue
50
5%
Free
Published: 1 article, 8 codes
Similar orders
Just have a let down by previous coder. (Andrii) please dont apply for this one. Coder with low Metrix please dont apply : High Arbitrage/Low reviews/High Overdue I will just avoid This is a long-term Project You ll have to continue work on the source file done so far, there might be bug to fix and continue the work as needed. What be involve: Grid system Dashboard Indicaotor Addon Setting/Logic enhancement News
Dbrain EA bot 100+ USD
import MetaTrader5 as mt5 import pandas as pd import numpy as np import time from datetime import datetime # --- CONFIGURATION --- ACCOUNT_ID = 12345678 # Replace with your MT5 account ID PASSWORD = "your_password" # Replace with your MT5 password SERVER = "your_broker_server" # e.g., "Exness-MT5server" SYMBOL = "EURUSD" TIMEFRAME = mt5.TIMEFRAME_H1 # 1-hour timeframe (adjust as needed) INITIAL_CAPITAL = 10000.00 #
Experts mt5 30 - 50 USD
I need a programmer to create an MT5 robot, putting my strategy inside it, send me a message if you are interested! The robot will be based on averages making purchases and sales together
To develop EA algo on GBPUSD on MT5 Client will provide the necessary indicator which will plot Daily pivots on the chart. PFA screenshot attached for details of job work
Hello, my budget is 30$, I need MT5 EA send alert to telegram: 1. Send alert if any position volume by magic number more than: for example, 0.25 lot, send position symbol name and positions not all positions just the positions are more than 0.25 lot volume and positions trade comment and send Custom comment: I entered it manually in input menu. 2. Send alert if I have open positions by magic number in
Description de la stratégie de trading : Bot de trading ULTIMATE AI Smart Money Concept (SMC) Aperçu: J'ai besoin du robot de trading IA ultime, conçu pour mettre en œuvre une stratégie de trading Smart Money Concept (SMC) axée sur l'identification des configurations de trading à forte probabilité en fonction de la structure du marché, des blocs d'ordres et de l'évolution des prix. Ce robot vise à capitaliser sur le
I’m looking for a skilled MQL5 developer to build an MT5 Expert Advisor that mirrors inverse trades (Buy ↔ Sell) from a prop firm challenge account (demo) to a live hedge account . Core Requirements: Open and close opposite trades in real-time Dynamic lot sizing based on account balances (Objective: recover approx. $500 if the challenge account fails) Support for multiple symbols , including: XAUUSD, NAS100, BTCUSD
Hi, I’m looking for an experienced MQL5 or AI trading systems developer who can build a scalable, beginner-friendly forex trading network . The system should include: Fully automated trading logic (AI-enhanced or rule-based) MT5 (or MT4 if needed) compatibility A beginner dashboard with simplified controls A structure that supports onboarding of multiple traders (eventually multi-asset) Key modules like performance
Trading Strategy Description: ULTIMATE AI Smart Money Concept (SMC) Trading Bot Overview: i need The ULTIMATE AI trading bot that is designed to implement a Smart Money Concept (SMC) trading strategy that focuses on identifying high-probability trading setups based on market structure, order blocks, and price action. The bot aims to capitalize on institutional trading behavior by analyzing price movements and
I need someone who can provide metatrader4/5 restful api. And I want restful and websockets. we need to use metatrader api in our app for statistics and trade copying. Apply only if you have the necessary qualifications and experience for this project

Project information

Budget
30 - 100 USD
VAT (19%): 5.7 - 19 USD
Total: 35.7 - 119 USD
For the developer
27 - 90 USD