The code has been removed. However, the huge code base still remains at your disposal allowing you to find a suitable code.
Risk Lot Calculator - lot size from risk percent and stop distance
Small include file that gives you the lot size from risk in percent (or fixed money) and the stop loss distance. Rounds always down, checks min/max lot and free margin.
Closed Trades to CSV - one row per closing deal (partial closes, reversals)
Exports closed trades to a CSV file, one row per closing deal: partial closes, close-by and netting reversals are split, each row with the position's open time, volume-weighted open price and its share of the entry commission.
XAUUSD Hourly Volatility Clock: typical range by hour vs today
A 24-hour clock of typical H1 ranges for XAUUSD (and any other symbol) versus the range of the current hour. The profile uses closed hours only. Display only — it does not trade.
Gold Level Map (XAUUSD): Round Numbers, Prior Day/Week Extremes and ADR
A clean on-chart map of psychological 00/50 figures, prior day and week extremes, and the average daily range, with honest bounce/break statistics. Display only — it does not trade.
MT5 New-Bar and Connection Event Logger
A lightweight MetaTrader 5 Expert Advisor that records new-bar events and terminal connection-state changes to a local CSV file. Designed for developers and traders who need reliable event logging, diagnostics and monitoring without executing trades.