The code has been removed. However, the huge code base still remains at your disposal allowing you to find a suitable code.
Universal Risk, Tick-Size and Margin-Fit Lot Calculator Library
MQL5 include library (#include) for equity risk % lot sizing, broker volume limit and free-margin checks, tick-size price normalization, and minimum stop distance validation across Forex, Gold, Oil, Crypto, Indices, and Stocks on Hedging or Netting accounts. Includes URM_CalculateSafeLot(), URM_NormalizePrice(), URM_GetMinStopDistance(), URM_DetectAssetClass(), URM_IsCentAccount(), and URM_IsNettingAccount() with zero DLLs and zero WebRequest calls.
Identifying the highest and lowest price levels over a specific period
Finds and plots the highest high and lowest low over a specified lookback period Includes a vertical lookback boundary line, price labels, and optional push notifications
Real Tick Coverage - where your broker's tick history exists, month by month
Estimates, month by month and for each symbol, where the broker's real tick history exists, so you can see which part of an "Every tick based on real ticks" test is likely real and which is modelled.
Lot Sentinel – drag one stop line, get the exact lot size on any symbol
Lot Sentinel shows the exact lot size for the stop loss you drag on the chart. Drag one red line to your stop level: the panel instantly shows the position size for your risk (% of balance, % of equity or a fixed amount), the actual risk after rounding, and a take-profit level at your reward ratio. The loss per lot uses the broker's own tick size and tick value, so it is accurate on forex, gold, indices, stocks and crypto. The lot is always rounded down, so the real risk never exceeds your setting. The indicator never opens or modifies trades.
SafeRequest - complete and check every MqlTradeRequest in one place
An include file that fills every field of a trade request on purpose, rounds prices to the tick grid, respects stops and freeze levels, and never removes a take profit by accident.