NEXUM TRADER
Nexum Trader Docs
Trading Logic

How lot size is calculated

How the EA calculates lot size from account balance, risk percentage, and stop-loss distance at the moment of execution.

Lot size is computed by the EA at the moment of execution using MT5's native OrderCalcProfit:

lots = (balance × risk%) / monetaryLossPerLotAtSL

This means the actual risk in account currency is exact: there is no broker-dependent pip-value table to maintain. Symbol contract size, currency conversion and tick value are all handled by MT5.

Risk% comes from the account card. Webhook payloads can include risk= to override it for that single trade; the manual trade form has no risk override field.