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
The scanner will scan all currency base on MACD Diverdgent, my strength indicator and my better volume indicator. All this would be across all time frame and all currency pairs
Ninjatrdaer Script 500 - 1000 USD
I am looking to purchase a ninjatrader script, if there is any for sale, i mean a ready made ninjatrdaer script that trade futures, i need the seller to show me a backtest of the system, you know send some results, I would like to see a 1 year and YTD backtest
Mk 30+ USD
I need a fully automated trading robot designed to generate consistent profits while strictly controlling risk and minimizing losses. The robot should use a combination of strategies, including trend-following, scalping, and price action, and must be able to adapt to different market conditions such as trending and ranging markets. It should analyze the market using indicators like Moving Averages, RSI, MACD, and
1. IF price forms: - Higher highs + higher lows → TREND = BUY - Lower highs + lower lows → TREND = SELL ELSE → NO TRADE 2. IF: - Trend = BUY - Price retraces to support zone - Bullish engulfing candle forms - TDI green crosses above red (optional) THEN: - Execute BUY 3. IF: - Trend = SELL - Price retraces to resistance - Bearish engulfing forms - TDI confirms THEN: - Execute SELL 4. Risk per trade = 1% of account Lot
Looking for a Marketing Partner for my EAs! I am a developer looking for an experienced partner to help promote and market my Expert Advisors (MT4/MT5). How it works: > * I handle the coding, updates, and technical support. You handle the marketing, outreach, and bringing in traders. Compensation: We work on a Revenue Share / Profit Split basis. If you have an audience of traders or know how to market forex tools

Project information

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