Fix a working EA that has an error calculating the commission of closed positions

Job finished

Execution time 10 days
Feedback from employee
Working with Capital Freedom Club was an absolute pleasure. The professionalism and cooperation exceeded expectations, and I would highly recommend Capital Freedom Club to any freelancer.

Specification

Context


We already have a running expert written in MQL5, that once a minute sends some information of the account in JSON to an external API.

The existing MQL5 source code will be provided to the developer that takes the job.

The EA reports 3 groups of information to the API:

  • Account information -- Working OK
  • Open positions -- Working OK
  • Closed positions -- Needs corrections regarding the commission of each closed position.

Our request

In MT5, the commissions of each trade are charged in a more flexible way than in MT4, for instance, part of the commission is charged when the operation is OPEN, and the other part when it closes.

So, the developer must be sure that the commission reported for each closed operation is correct, as shown in the Metatrader 5 history tab.

We need the working source code that fixes the way commissions are reported to the API.


Responded

1
Developer 1
Rating
(6)
Projects
8
25%
Arbitration
2
50% / 0%
Overdue
2
25%
Free
2
Developer 2
Rating
(6)
Projects
8
0%
Arbitration
8
13% / 88%
Overdue
0
Free
Similar orders
Phahla fx boto 30+ USD
99.99% signal accuracy 10-15 trades distribution all currency trade and meta AI assistance on loss[advice] stop and start robot cyber security firewall protection activation code: 20060605TLP20 Please create a trading bot with any logo with the name elevation
I would like to create a robot with the smart money concepts, that integrates order block,FVG,supply & demand ,read the market structure,liquidity and also trade with the session and also after a liquidity sweep a market structure is needed to verify the reversal and a retracement to the order block and sometimes fair value Gap
Ai robot 30 - 50 USD
1️⃣ System Architecture An AI robot typically consists of the following subsystems: 🔹 1. Perception Layer Collects environmental data using: RGB / Depth cameras LiDAR Ultrasonic sensors IMUs (Inertial Measurement Units) Microphones Data is processed using: Computer Vision (e.g., object detection, SLAM) Signal processing Sensor fusion algorithms 🔹 2. Cognition / Intelligence Layer Implements AI models such as
Data Integrity 500 - 1000 USD
The trading bot is an automated software system designed to monitor financial markets, execute trades, and manage risk based on predefined strategies. The bot aims to maximize profits while minimizing human intervention and emotional decision-making. Scope: Supports automated trading on selected exchanges (e.g., Binance, Bitget, Coinbase). Executes trades based on technical indicators, signals, or AI models. Provides
I need a AI signal generating bot for forex trading that use the latest ai technology to track real time forex market, analyse and give signals. The bot should operate such that when i put it in a chart it will analyse the market, after several minutes it will display whether the trade is buying or selling. It should display the one minute, five minute,15minute, 30 minute, one hour, 4 hours and daily time frame
Hello, I have a High Frequency Trading EA for MT4 that performs consistently profitable in demo accounts , but when I switch to a real account (IC Markets Raw) , it starts to generate losses under the same conditions . Everything — settings, VPS, broker, and market hours — is exactly the same. This indicates the issue is likely related to execution speed, slippage handling, or real tick behavior . I am looking for an

Project information

Budget
30 - 50 USD
Deadline
to 5 day(s)