DinexSpace Trade History Exporter
- 유틸리티
-
Huu Tho Tran
DinexSpace - MetaTrader 5용 트레이딩 자동화 스튜디오.
코드를 작성하기 전에 실제 비용으로 두 단계에 걸쳐 트레이딩 아이디어를 검증합니다. 검증을 통과하지 못하면 중단하며, 로봇 비용은 받지 않습니다.
실계좌 기록
- 실계좌에서 운용 중인 금 (XAUUSD) EA 9개. Myfxbook 인증 실계좌 (프로필: DinexSpace).
- 마틴게일 없음, 그리드 없음. 각 EA의 최대 손실폭, 월평균 거래 횟수, 손절 유형을 공개합니다. - 버전: 1.0
Trade History Exporter is a script that saves your account's trading history to CSV files, so you can study your own results in Excel, Google Sheets or Python. It only reads history.
What it writes (in MQL5\Files\DinexHistory\, via File → Open Data Folder)
- Deals file, one row per deal: ticket, time, symbol, type (buy, sell, balance, commission …), entry (in, out, reverse, close by), volume, price, commission, swap, fee, profit, magic number, position ID and comment.
- Positions file (optional), one row per position opened and fully closed inside the range: symbol, side, open and close time, volume, average open and close price, profit, swap, commission, fee, net result and magic number.
- File names start with the account number and today's date, so repeated exports do not overwrite older ones from other days.
How to use it
1. Drag the script onto any chart.
2. Choose the date range (server time), and optionally a single symbol or magic number.
3. Press OK. The Experts log shows how many rows were written and where.
Inputs
From, To (0 = now), symbol filter, magic filter, positions file on/off, column separator ("," or ";" for spreadsheets that use a comma as decimal mark).
Limits
- Only the history available in the terminal is exported. On some accounts you may need to set the History tab to "All history" first.
- Positions that were opened before the start date or are still open are left out of the positions file, but their deals are in the deals file.
- Text fields containing the separator are quoted.
The script never places, changes or closes orders. It writes only inside the terminal's own Files folder.

