Session Handoff Note Writer
Stepping away from an account mid-session, or handing it to someone else, usually means either a rushed verbal summary or nothing at all. This script writes a single text file capturing exactly what is live on the account at that moment: every open position with its stop-loss distance converted into actual money at risk, every pending order with its price and expiry, and the account's balance, equity and margin level - followed by two free-text sections for watch levels and the current plan, typed in through the input dialog since a script has no other way to take multi-line notes. Money at risk to the stop is computed from the symbol's real tick size and tick value rather than assuming a fixed pip value, so it stays correct on instruments where a pip is not worth a flat $10 per lot (gold, indices, JPY crosses and similar). Notes and limitations Risk-to-stop is 0 for any position with no stop-loss set, since there is nothing to measure a distance to - this is stated as 0 in the output, not omitted, so a missing stop is visible rather than hidden. Pending order lines show the raw MQL4 order type as a number (4-9), since a compact one-line summary has no room for the full type name. The watch-levels and plan-notes fields are single-line input boxes in MetaTrader's dialog, not a multi-line editor - long notes will scroll within the box but are still captured in full in the output file.
Script · MT5 · v1.0 · Free
About Session Handoff Note Writer
Session Handoff Note Writer is a script for MetaTrader 5. It can alert you with a pop-up, sound, email or push message. It has 2 settings, such as Watch levels and Plan notes. MQL source code included.
Files in the download: SessionHandoffNote.ex5, SessionHandoffNote.mq5, SessionHandoffNote.txt.
Settings
| Setting | Default | What it does |
|---|---|---|
| Watch levels | Watch levels to record, e.g. "1.0950 support, 1.1020 resistance" | |
| Plan notes | Pending plan / reasoning for the next session |
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: Trading Sessions · Pending Orders · Alerts · MT5 Script · MQL5 Source Code