거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Telegram에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
Experts

Round Trip Cost Reconciler MT5 - MetaTrader 5용 expert

Usamah
Usamah
I develop MetaTrader 5 Expert Advisors and trading utilities with a focus on reliable execution, risk controls, and broker compatibility.
조회수:
231
평가:
(1)
게시됨:
MQL5 프리랜스 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동
Round Trip Cost Reconciler MT5 workflow overview

Round Trip Cost Reconciler is a free, read-only MT5 utility for traders and developers who need more than a raw deal-history export.

It writes one CSV with filtered deal records and a second CSV that groups buy/sell deals by DEAL_POSITION_ID. Partial fills are combined into volume-weighted entry and exit prices, while broker-recorded commission, swap, and fee remain visible separately from gross trading result.

WHAT IT REPORTS

• Deal, order, and position identifiers.
• Symbol, magic number, direction, entry type, time, price, and volume.
• Broker-recorded profit, commission, swap, and fee.
• Total entry and exit volume per position identifier.
• Volume-weighted entry and exit prices.
• Gross result, total costs, net result, deal count, and lifecycle status.

LIFECYCLE STATUSES

• COMPLETE: entry and exit volumes match within tolerance.
• OPEN_OR_INCOMPLETE: entry volume remains unmatched.
• EXCESS_EXIT: exit volume exceeds recorded entry volume.
• COMPLEX_REVERSAL: an INOUT reversal exists, so the program does not invent a simple allocation.

INPUTS

• InpDaysBack: history window from 1 to 3650 days.
• InpSymbolScope: current chart symbol or all symbols.
• InpMagicFilter: -1 for every magic number, otherwise one exact non-negative magic.
• InpDealsFileName and InpPositionsFileName: two distinct safe CSV filenames.
• InpUseCommonFolder: Common Files folder when enabled.
• InpDelimiter: comma (44) or semicolon (59).

SETUP

1. Compile RoundTripCostReconcilerMT5.mq5 with RoundTripCostCore.mqh in the same folder.
2. Attach the Expert Advisor to any chart.
3. Select the history scope and optional exact magic filter.
4. Choose two distinct safe CSV filenames.
5. Read the Experts log, then retrieve the CSV files from Common Files or the terminal Files folder.

SAFETY AND LIMITATIONS

The utility only reads account history and writes local CSV files. It does not place, modify, delete, or close orders; it does not use DLLs, WebRequest, or an external service.

Results depend on the history available from the connected terminal and broker. Reversals are deliberately classified as complex instead of being forced into a misleading simple round trip. This is an accounting and diagnostic aid, not a profit or tax guarantee.
Stop Geometry Visualizer MT5 Stop Geometry Visualizer MT5

Read-only MT5 indicator that visualizes broker Stops Level and Freeze Level references on the chart.

Trade Transaction Trace Logger MT5 Trade Transaction Trace Logger MT5

Read-only OnTradeTransaction logger that records MT5 order, deal and position lifecycle events to local CSV and the Experts Journal.

Broker Session Schedule Inspector MT5 Broker Session Schedule Inspector MT5

Read-only broker-native trading-session inspector with current status, next transition, multi-symbol scope, and CSV export.

Quantora Spread Monitor MT5 -  Professional Live Spread Monitoring Tool Quantora Spread Monitor MT5 - Professional Live Spread Monitoring Tool

Professional open-source Spread Monitor for MetaTrader 5. Displays live spread, minimum, maximum, average spread, history graph and configurable high-spread alerts with a modern Quantora dashboard.