The indicator calculates your risk as a percentage and gives you the lot size that is acceptable for your risk. You only need to specify the risk in per cent and the stop size in pips.

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/47308
BinanceQuotesDownloader
Real-time display of Binance quotes
Adaptive VWAP Institutional
Adaptive VWAP Institutional: Multi-Asset Auto-Detection & DST-Accurate Session Resets (Forex 5PM NY Standard).
iCrosshair - Real-Time Candle Metrics on Hover
Hover over any candle to see what MT5 doesn't show: Range size, Body percentage, Wick ratios. Smart, fast, and customizable.
Larry Williams XGBoost Onnx
adoption of Larry William's method using AI Time-Series XGBoost