A system tray tool for measuring Z-scores directly on screen.

- Click the tray icon and select Measure Z-Score, or press Ctrl+Alt+S anywhere.
- A screenshot appears with a dark overlay β click four points in order:
- Mean β the zero / mean line (blue)
- +1 SD β one standard deviation above (green)
- -1 SD β one standard deviation below (red)
- Point β the value you want to measure (yellow)
- A step-by-step panel on the left guides you through each click.
- The Z-score is shown in a popup with a visual gauge, copy button, and option to measure again.
Press ESC at any time to cancel.
You can also trigger a measurement from anywhere on your desktop with the global hotkey Ctrl+Alt+S.
For a faster workflow, use Draw Mode (Ctrl+Alt+D or tray menu β Draw Z-Score):
- A screenshot appears with a dark overlay.
- Draw a freehand line along the curve or data you want to measure.
- The toolbox automatically calculates the Mean and SD from the drawn line and displays the Z-score β no need to click individual reference lines.
This is ideal when you can trace a visible trend and want a quick Z-score without manually identifying Mean/Β±1 SD lines.
Use Data Z-Score from CSV from the tray menu to calculate a Z-score from structured time-series data:
- Select a CSV file.
- Choose the numeric value column.
- Enter a rolling lookback window, symbol, timeframe, measurement type, sign policy, and optional notes.
- The toolbox calculates the latest rolling Z-score and stores the result in history.
Click, draw, and data measurements are saved to:
%USERPROFILE%\Documents\ZScoreToolboxHistory\
The history is grouped by date:
ZScoreToolboxHistory/
2026/
2026-05/
2026-05-18/
measurements.csv
screenshots/
inputs/
Each successful measurement appends a row to the daily measurements.csv.
Visual modes save the captured screenshot automatically. Data mode can also
copy the input CSV into the dated inputs/ folder and optionally save a
desktop screenshot with the result.
π ZScoreToolbox.exe No installation required β just run it on Windows 10/11.
1. Install Python 3.12 (Windows, via winget):
winget install Python.Python.3.122. Install dependencies:
pip install -r requirements.txt3. Run:
py run.py1. Install PyInstaller:
pip install pyinstaller2. Generate the application icon:
py build_tools/generate_icon.pyThis creates assets\icon.ico with all required sizes (16β256 px).
The build script runs this automatically, but you can also run it
manually to preview the icon beforehand.
3. Build the EXE:
build_tools\build.batThe build script generates the icon first, then runs PyInstaller with
--icon=assets/icon.ico. The finished ZScoreToolbox.exe will be in
the dist\ folder.
ZScoreToolbox/
βββ src/zscore_toolbox/
β βββ main.py # entry point, tray icon, measurement workflow
β βββ capture.py # screenshot capture via mss
β βββ ui.py # click overlay, step panel, result/error popups
β βββ calculator.py # visual Z-score calculation
β βββ data_engine.py # CSV-backed Z-score calculation
β βββ history.py # dated CSV/screenshot history persistence
βββ assets/ # icon.ico (for PyInstaller builds)
βββ build_tools/
β βββ build.bat # PyInstaller build script
β βββ generate_icon.py # generates assets/icon.ico via Pillow
βββ docs/ # implementation concepts
βββ run.py # development entry point
βββ requirements.txt