Correct lot size for a given risk % on any symbol and any account currency, using OrderCalcProfit instead of hard-coded pip values. Volume-step rounding, volume limit and a small-account guard. Include for EAs plus a ready script.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Risk Lot Calculator — position size from risk percentage for gold, indices, crypto and FX:
Correct lot size for a given risk % on any symbol and any account currency, using OrderCalcProfit instead of hard-coded pip values. Volume-step rounding, volume limit and a small-account guard. Include for EAs plus a ready script.
Author: Shipra Gupta