Version 1.20 2026.05.06
Version 1.2 — Layout & Display Improvements

This update focuses on visual refinements and cross-system compatibility
based on user feedback from multi-machine deployments.

What's New:

- DPI-Aware Layout Engine
All panel components now measure actual rendered text width using MT5's
native TextGetSize API, ensuring perfect alignment on systems with
Windows DPI scaling at 100%, 125%, or 150%. No more overlapping labels
or text overflow on high-DPI laptops.

- Compact & Polished Panel Design
- Redesigned panel with two-column grid layout for Trading Parameters
and Account Info sections
- Total panel height reduced by approximately 17% compared to v1.0,
making it fit comfortably on lower-resolution screens (1366x768)
- Generous spacing between rows and sections for improved readability
- Three trailing inputs (Start, Distance, Step) now displayed inline
on a single row to save vertical space

- Refined Header
- Single-line header with title on the left and live symbol + timeframe
on the right
- Automatic spacing enforcement prevents title and subtitle from
overlapping regardless of symbol name length
- Version number now visible in the header

- Cleaner Account Info Display
- Bal, Eq, FreeM, Sprd shown in a compact 2-column grid
- Daily P/L now clearly labeled as "(closed)" to clarify it represents
realized profit only, not floating

- Bug Fixes
- Fixed: Daily P/L was incorrectly including floating profit. It now
correctly shows only closed deals for the day.
- Fixed: Position management functions (Close All, Close Buy/Sell,
Close Loss/Profit, basket sync, trailing stop) were operating on
positions from other EAs sharing the same symbol. The EA now strictly
filters by its own magic number. Set magic to 0 to manage all
positions on the symbol (legacy behavior).
- Fixed: Daily P/L calculation was including deals from other symbols
and other EAs. Now correctly filters by current symbol and magic.

- Updated Defaults
Default Stop Loss and trailing parameters have been recalibrated for
XAUUSD on M5–M15 timeframe:
- SL: 2000 points (was 200)
- Trailing Start: 1200 points (was 200)
- Trailing Distance: 600 points (was 150)
- Trailing Step: 300 points (was 50)
Adjust proportionally for other instruments.

No breaking changes — existing users can update directly. All input
parameters and panel functionality remain backward compatible.
Version 1.1 2026.05.05
Add Magic number filtering — Chameleon TA only manages positions opened with its own magic number, never touches positions from other EAs or your manual trades. Set magic to 0 to manage all positions on the symbol regardless of source.