MT4 Expert Advisor – Daily Trade Log Export to CSV

MQL5 Experts

Job finished

Execution time 5 days
Feedback from customer
Great work!
Feedback from employee
Thank you for the job! Hope for more!

Specification

Project Summary
I’m looking for an experienced MQL4 developer to build a simple, efficient Expert Advisor (EA) that exports all closed trades from the current MT4 account once daily to a CSV file, with a specific filename format and field structure. This EA will be used in a live trading environment and must be stable and low-maintenance.  I’m happy to pay fairly for someone who delivers clean, reliable work.


Platform

  • MT4 (MetaTrader 4)

  • Broker Timezone: GMT+2 (Pepperstone UK)


Key Requirements

  1. One-Time Daily Export

    • Automatically exports all closed trades of the current day at 23:58 server time (GMT+2).

    • The EA must detect the date internally (no input required).

    • Must only export once per day to avoid duplicates, even after VPS restarts.

  2. File Format

    • Output as .CSV file with the following naming convention:
      YYYYMMDD.csv (e.g., 20250421.csv )

    • Files saved in: C:\TradingLogs\TradeHistory

  3. Fields to Export

    • Ticket number

    • Magic number

    • Comment

    • Symbol

    • Order type (Buy/Sell)

    • Lot size

    • Open time (yyyy.mm.dd hh:mm)

    • Open price

    • Close time (yyyy.mm.dd hh:mm)

    • Close price

    • Stop loss

    • Take profit

    • Commission

    • Swap

    • Profit

    • Duration in minutes (difference between open and close)

  4. Operation

    • Attach EA to any chart. It must remain active but execute silently.

    • No user interaction or GUI needed.

    • Log or file error only if the export fails.

    • Works on any account type (including hedging accounts with multiple positions open on the same symbol)


Additional Notes

  • The EA should not remove itself from the chart after execution.

  • Should handle VPS reboots or MT4 restarts without re-exporting the same day.

  • No external libraries should be used—keep it native and robust.


Deliverables

  • Fully commented .mq4 source code

  • Compiled .ex4 file

  • 1-2 rounds of revisions if needed after initial testing

Budget

  • Please provide your fixed price quote.

  • If you already have a similar module, feel free to leverage it.


Intellectual Property and Rights

All source code, compiled files, and related work produced during this project are considered work for hire and will become my exclusive property upon full payment.


Responded

1
Developer 1
Rating
(210)
Projects
282
46%
Arbitration
27
59% / 37%
Overdue
36
13%
Free
2
Developer 2
Rating
(43)
Projects
62
23%
Arbitration
8
25% / 38%
Overdue
10
16%
Working
3
Developer 3
Rating
(75)
Projects
80
6%
Arbitration
46
11% / 54%
Overdue
7
9%
Working
4
Developer 4
Rating
(6)
Projects
9
0%
Arbitration
5
40% / 40%
Overdue
1
11%
Free
5
Developer 5
Rating
(77)
Projects
243
74%
Arbitration
7
100% / 0%
Overdue
1
0%
Free
Published: 1 article
6
Developer 6
Rating
(5)
Projects
5
0%
Arbitration
0
Overdue
1
20%
Free
7
Developer 7
Rating
(11)
Projects
16
25%
Arbitration
1
0% / 100%
Overdue
1
6%
Free
8
Developer 8
Rating
(45)
Projects
91
13%
Arbitration
34
26% / 59%
Overdue
37
41%
Free
9
Developer 9
Rating
(5)
Projects
5
60%
Arbitration
1
0% / 0%
Overdue
2
40%
Free
Published: 1 code
10
Developer 10
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
11
Developer 11
Rating
(162)
Projects
288
35%
Arbitration
18
22% / 61%
Overdue
42
15%
Working
12
Developer 12
Rating
(10)
Projects
15
20%
Arbitration
4
50% / 50%
Overdue
1
7%
Free
13
Developer 13
Rating
(511)
Projects
549
53%
Arbitration
13
69% / 15%
Overdue
3
1%
Free
14
Developer 14
Rating
(16)
Projects
20
10%
Arbitration
8
38% / 38%
Overdue
3
15%
Working
15
Developer 15
Rating
(6)
Projects
5
0%
Arbitration
3
33% / 67%
Overdue
2
40%
Free
16
Developer 16
Rating
(1931)
Projects
3552
88%
Arbitration
73
40% / 15%
Overdue
268
8%
Free
17
Developer 17
Rating
(574)
Projects
945
47%
Arbitration
309
58% / 27%
Overdue
125
13%
Free
18
Developer 18
Rating
(271)
Projects
553
50%
Arbitration
57
40% / 37%
Overdue
227
41%
Working
Similar orders
Hello, I’m reaching out regarding my TradingView project. I’d like to know if you’re familiar with the Chrome extension for Pine Script optimization. I’m looking for a developer with a premium account who can help optimize some Pine Script code. Please I actually need someone who has a premium account of the chrome extension TradeTuning to optimize Pinescripts (for some specific data they give in their reports). Do
I need an MT5 Expert Advisor for Gold (XAUUSD) on M15 timeframe. Strategy Rules: Trade only after breakout and retest of support/resistance. Also include trendline breakout and retest entry. Only one trade at a time. High accuracy trades only. Stop Loss: fixed SL (developer make input adjustable). Take Profit: next support/resistance level. Trade should hold until trend change. Close trade when Higher Low or Lower
Hello, I’m looking for an experienced developer who can help convert an existing cTrader indicator into a fully functional Quantower indicator . I already have the complete source code for the cTrader indicator (written in C#) , and I would like the same logic, behavior, and visual output to be accurately replicated in Quantower
REQUIREMENTS SPECIFICATION FOR MT5 EXPERT ADVISOR - NAS100 1. GENERAL INFORMATION 1.1 Platform: MetaTrader 5 1.2 Symbol: Nas100 1.3 Timeframe: M5 1.4 Account Type: Hedge 1.5 Broker: Must work on Khwezi Trade / ATFX broker 2. ENTRY RULES - ALL 3 MUST ALIGN ON CLOSED CANDLE 2.1 Trend: Price above 50 EMA for Buy, below 50 EMA for Sell 2.2 Momentum: RSI(14) > 50 for Buy, < 50 for Sell 2.3 Confirmation: MACD line above
Hi i need an expert to built a automated trading bot for ninja trader platform like sniper auto trader bot If you can develop or build automated bot for ninjatrader, let me know
Hello programmers. I am looking and searching for Chrome extension that automates parameter optimization for TradingView strategies, not''TradingView Premium'' itself. Can you please get back to me? do you know the chrome extension. I am looking for someone with a premium account so I can optimize some pinescript with it
I’m looking for a developer (or AI-savvy builder) who is experienced in using tools like Claude.ai (e.g. Claude Code, Claude CoWork) to build a Forex-related website. The platform will include features such as: Tracking trading account performance Broker reviews and comparisons This is just a high-level overview — the main goal is to find someone who truly understands how to leverage AI tools and write effective
Hello, I’m reaching out regarding my TradingView project. I’d like to know if you’re familiar with the Chrome extension for Pine Script optimization. I’m looking for a developer with a premium account who can help optimize some Pine Script code. Please let me know if this is something you can assist with
Hello every developer here, I'm contacting you regarding my tradingview. Can you please get back to me? do you know the chrome extension. I am looking for someone with a premium account so I can optimize some pinescript with it
Hi, I am looking to purchase a MT5 Hedging EA that can show consistent profitability with drawdown less than 15%. I am not ready to build a new one from scratch as i do not have the strategy in mind yet so i do not want to take the risk of building one but not sure if it works. Only apply if you have an existing proven and tested Hedging EA that can sell to me together with the source code. Before i make the

Project information

Budget
150 - 300 USD