EA operations resources

Prop Firm Risk

Size EA trades from risk percent and stop distance.

Hard-coded lots can make a backtest look simple, but they often hide inconsistent account risk. A fixed-risk function starts with account equity, risk percent, tick value, and stop distance.

Search intent

The developer wants safer lot sizing logic for MQL5 Expert Advisors.

Cluster

Prop Firm Risk

Tool path

prop firm ea risk checker

Reader

prop trader

Optional follow-up for Fixed-risk lot sizing for an MQL5 EA

Open the free desk first. Opt in only if you want manual follow-up for the Fixed-risk lot sizing for an MQL5 EA risk workflow.

Intent locked: Get risk check

Lead activation handoff

No email wait is required. After saving the opt-in, continue into the free desk with the same blocker so the visitor-to-lead-to-workflow path is measurable.

Continue in free desk

Choose the workflow you want, then opt in only if you want Workfusionapp updates.

Start with validated stop distance

Lot sizing depends on the stop. If the stop is invalid or missing, the EA should not calculate a trade volume.

Stop distance in points
Symbol tick value
Tick size

Normalize volume

Brokers enforce min lot, max lot, and lot step. The EA should normalize and reject impossible sizes.

SYMBOL_VOLUME_MIN
SYMBOL_VOLUME_MAX
SYMBOL_VOLUME_STEP

Cap final risk

Even after normalization, confirm the final volume does not exceed the intended risk too aggressively.

RiskPerTradePct
Maximum volume cap
Reject if normalized volume becomes too large

Use the tool

Generate or review your sizing function in Workfusion before running a full backtest.

Keep drawdown limits visible
Save blocked-trade reasons
Treat reports as diagnostics, not guarantees

Related guides

Continue the EA build path.