true-trading-cost-net-rr/docs/VALIDATION.md
31 lines
2 KiB
Markdown
# Validation record — True Trading Cost v1.2
**Validated:** November 16, 2026, MQL5 Code Base automatic validation.
| Platform | Code Base | Result | Revision |
| --- | --- | --- | --- |
| MQL4 / MetaTrader 4 | https://www.mql5.com/en/code/79600 | PASS — 0 errors | 473388 |
| MQL5 / MetaTrader 5 | https://www.mql5.com/en/code/79598 | PASS — 0 errors | 473385 |
The current source snapshots are the respective Code Base-published sources with the MT4 `#property strict` header.
## Scenarios reported by MQL5.com
**MT4:** EURUSD H1, NZDUSD H1, GBPUSDcheck M30, XAUUSDcheck Daily. Earlier MT4 automatic validation flagged a missing `#property strict` directive, which was added and passed on resubmission.
**MT5:** EURUSD H1 (netting), XAUUSD D1 (netting), GBPUSD M30 (netting), EURUSD M1 (netting).
## Additional pre-publication work
- Four source variants previously compiled without errors or warnings in MetaEditor: MT4 and MT5, public Code Base and personal edition.
- 16 groups of reference arithmetic regression tests passed, including 1,000 reproducible risk-size scenarios.
- 9 more reference tests covered swap day weights, net versus gross monetary R:R, and stale spread samples.
- In-terminal charts confirmed dashboard rendering, entry/stop/target price lines and changing R:R when target is adjusted.
- MT4 demo broker example: risk-based volume estimate stayed within the configured risk budget; checked with cached quotes, not a real executed trade.
- MT5 terminal's account properties were unavailable during native QA; contract-specification simulation was labeled explicitly.
## Remaining limitations
Automatic validation is not a guarantee that the estimate matches realized fills at every broker. Use a connected demo account to compare actual commission, tick value, rollover charges, pricing and volume grid, especially for non-USD account currencies and XAUUSD CFDs. No real trades are sent by the indicator.
Additional user guide: https://forexreview.top/2026/11/15/true-trading-cost-net-risk-reward-mt4-mt5.