Aureline Execution Cost Ledger
- ユーティリティ
- バージョン: 1.0
- アクティベーション: 5
Aureline Execution Cost Ledger
Aureline Execution Cost Ledger is a read-only MetaTrader 5 utility for traders and EA developers who need an auditable record of future order fills and broker-recorded costs.
It observes trade transactions without placing, modifying, deleting, or closing orders. Each new deal can be written to CSV with its order and position identity, deal price, volume, commission, swap, fee, and execution reason.
EVIDENCE-BOUNDED SLIPPAGE
- Uses an observed trade-request price when the request can be matched to the resulting order or deal.
- Uses the original order price for pending-order fills.
- Reports UNAVAILABLE when no defensible reference price exists.
- Positive values mean adverse slippage and negative values mean favorable slippage for both buy and sell deals.
MAIN FUNCTIONS
- Current-symbol or all-symbol scope.
- Optional exact magic-number filter.
- Entry, exit, reversal, and close-by deal logging.
- Partial-fill flag.
- Rejected-request count and latest retcode.
- Commission, swap, and fee totals.
- Average and maximum observed adverse slippage.
- Optional CSV in the terminal Common folder.
- Compact read-only chart dashboard.
INPUT GUIDE
- InpSymbolScope: monitor only the chart symbol or all symbols in the account.
- InpMagicFilter: -1 accepts every magic number; a non-negative value accepts only an exact match.
- InpFinalizeDelayMilliseconds: short delay before resolving a new deal from history so related transaction events can arrive.
- InpRequestMatchSeconds: maximum age of a captured request considered for evidence matching.
- InpRetentionMinutes: retention window for pending request and order-reference evidence.
- InpWriteCSV: enable or disable local CSV output.
- InpCSVFileName: output filename. Keep a .csv extension for easy import.
- InpUseCommonFolder: write to terminal Common Files when enabled; otherwise use this terminal instance's Files folder.
- InpPrintJournal: print finalized evidence rows and operational messages to the Experts journal.
CSV FIELDS
Each finalized deal row contains time and millisecond time, deal/order/position identifiers, symbol, magic number, deal type, entry type, deal reason, volume, deal price, reference price and source, slippage in points and availability, partial-fill status, commission, swap, and fee.
GETTING STARTED
1. Attach the utility before the orders or EAs you want to observe.
2. Choose current-symbol or all-symbol scope and optionally set an exact magic filter.
3. Keep CSV enabled if you need an external audit trail.
4. Execute only your own planned trades or EAs; this utility never creates them.
5. Review the chart summary, Experts journal, and CSV after fills occur.
IMPORTANT SCOPE
The ledger starts observing after it is attached. It is not tick history, a strategy backtest, or a broker-quality guarantee. Transaction ordering and available request data can vary, so missing measurements are deliberately left unavailable. UNAVAILABLE is an intentional integrity result, not an invented zero-slippage measurement. Test the free Market demo with your broker before relying on the CSV operationally.
