Signed Compliance Snapshot
Read the honesty note before relying on this for anything formal: MQL4 ships no cryptographic hash function, and this catalogue's rules forbid importing a DLL to add one. "Signed" in the title describes the intent a trader searches for, not what the file actually carries - what this script produces is an FNV-1a 32-bit checksum, a fast non-cryptographic hash computed over the report's own text. It proves the file was not accidentally altered or truncated after this script wrote it. It proves nothing about who produced it, and is trivial to forge deliberately by hand-editing the file and recomputing the same hash. That makes it tamper-EVIDENCE, useful as a basic "has this report been touched since it was generated" check - not a digital signature, and it must never be presented to a compliance reviewer or regulator as one. The report itself covers account identity, leverage, trade-allowed flags, balance/equity/margin, and every currently open position with its ticket, symbol, side, size and open time. The exact text written to the file is the same string the checksum is computed over, so the two can never drift apart. Notes and limitations Not a cryptographic signature - see the honesty note above. Do not describe the integrity value as proof of authorship or as tamper-proof; it only shows tampering that changes the checksummed text, and anyone with a text editor and the same short hash function can produce a matching pair deliberately. Open positions are listed for the current account only; closed history is not included in this snapshot. Margin call level is read from ACCOUNT_MARGIN_SO_CALL, which some brokers report as a percentage and others may leave at 0 if the concept does not apply to the account type - check your broker's own margin call rules if this field reads 0 unexpectedly.
Script · MT5 · v1.0 · Free
About Signed Compliance Snapshot
Signed Compliance Snapshot is a script for MetaTrader 5. It can alert you with a pop-up, sound, email or push message. It has 1 setting, such as Note. MQL source code included.
Files in the download: SignedComplianceSnapshot.ex5, SignedComplianceSnapshot.mq5, SignedComplianceSnapshot.txt.
Settings
| Setting | Default | What it does |
|---|---|---|
| Note | Optional free-text note included in the snapshot |
How to install
- Download the ZIP from your PolyMaria library and unzip it.
- In MetaTrader 5 open File → Open Data Folder, then go to MQL5 → Scripts.
- Copy the .mq5 file(s) there. Put any .mqh files in MQL5 → Include.
- Open the .mq5 file in MetaEditor and press Compile (F7) if MetaTrader does not show it.
- Drag the script onto a chart to run it once.
Tags: Bitcoin & Crypto · Alerts · MT5 Script · MQL5 Source Code