Convert Stop Distance Into Position Size
Risk should determine size, not the other way around. Once equity, permitted risk and technical stop distance are known, the engine can calculate the maximum position that keeps the monetary loss inside the budget.
Engineering model
This formalizes the money-management logic described in the source: acceptable risk is defined first and position volume follows from it. A shorter valid stop can support a larger position for the same monetary risk; a wider valid stop requires a smaller position.
This article connects directly to FX Nova Bot's Position Sizing / Lot Calculator. Production implementation must use the broker or exchange contract specification, tick size, tick value, lot step, minimum volume and applicable conversion rates rather than relying on generic constants.
Connected FX Nova modules
Educational software-engineering material. Trading concepts derived from the source framework are presented as models and heuristics, not guaranteed market laws or investment advice.