The sizing identity across Forex, metals, and indices
Lots = RiskDollars / (SL_points x $/point/lot). RiskDollars = Equity x RiskPercent. EURUSD: pip size 0.0001, $10 per pip per 1.00 lot. Example: $100,000 x 0.50% = $500, 18-pip stop, Lots = 500 / (18 x 10) = 2.78, round down to 2.77 on a 0.01 step. USDJPY uses a 0.01 pip and roughly $9.30 to $10.00 per pip per lot depending on USDJPY level; do not reuse the EURUSD $10 constant blindly on yen.
XAUUSD: $100 per 1.00 point per 1.00 lot (many books quote $1 per 0.01). $500 risk / (50 points x $100) = 0.10 lots. XAGUSD: $50 per 0.01 on 1.00 lot is a common CFD quote, so a 12-cent stop at $500 risk is 500 / (12 x 50) wait: if $50 per 0.01 move per lot, a $0.12 stop is 12 ticks: 500 / (12 x 50) = 0.83 lots. NAS100 and US30: $1 per point per 1.00 lot on typical CFD specs, so $500 / 80 points = 6.25 lots of NAS100, which you must still cap against the broker max lot and the prop single-trade floating cap.
Why a 1.00 lot gold habit blows a $10,000 challenge
On a $10,000 FTMO-style book, 0.50% is $50. A 45-point XAUUSD stop on 1.00 lot is $4,500 (45% of equity) and a single COMEX wick ends the evaluation. Correct size: 50 / (45 x 100) = 0.01 lots, the minimum step on most gold symbols. NAS100 on the same $10,000 book with a 70-point stop: 50 / 70 = 0.71 lots. GER40 often uses EUR 1 per point; convert to account currency before you trust the widget.
STOPLEVEL, freeze level, and retcode 10016 after you size
Indices at the 13:30 UTC cash open routinely print 15-point spreads on US30. If your 40-point stop is inside that spread, either skip the open or widen the stop and cut lots: $500 / (55 x $1) = 9.09 lots becomes 0.90 if you also honor a 0.50% cap and a 2-position correlation budget with NAS100.
Sync the lot to Equity Guard and the journal
Next, open the fractional Kelly calculator to decide the risk percent you feed this lot widget. Lot math without a risk percent is just a unit converter.